From patchwork Thu Feb 25 16:57:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ido Schimmel X-Patchwork-Id: 387558 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62AE2C433DB for ; Thu, 25 Feb 2021 16:59:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1FA4B64E83 for ; Thu, 25 Feb 2021 16:59:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233136AbhBYQ7J (ORCPT ); Thu, 25 Feb 2021 11:59:09 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:58799 "EHLO wout4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233132AbhBYQ6z (ORCPT ); Thu, 25 Feb 2021 11:58:55 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id CDE63B00; Thu, 25 Feb 2021 11:58:07 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 25 Feb 2021 11:58:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=LPnXkzVUwC2Wy6Is7 nrue9wg5FBoBVBuva/rM+jSeic=; b=KQUSZpb5ZhpBeWIWHNa0HQKXAnUiK8d5R DoPhaTEJGcnvVwzoQGeavcW9bi9BSSOfZAb6mrScycE4hRYHvVLNLAORW2mPRmp4 5j8DW9tQpC4KmTWumU8SqZb1GQEZkleRVhXIE9gPEWBHi28vBygceoYIdVxooaeL 91+mkpSlgVQdPEDrSzWvxZk1T2xZUWE9oFgT+29+3MvVksVzEdbEAiwMlmiNGmBs Etk41iTf1w0UterjLKRlgnuWhpL6nb4tPgpiNfKyDmOy5oJXmwTx+GUgZ8GNQiUu CCTXkZVBWUosxL1Y5SenXZYg46ww66KKPSbDg2gQvAypnKwVmT7KA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrkeelgdeljecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertdertd dtnecuhfhrohhmpefkughoucfutghhihhmmhgvlhcuoehiughoshgthhesihguohhstghh rdhorhhgqeenucggtffrrghtthgvrhhnpeetveeghfevgffgffekueffuedvhfeuheehte ffieekgeehveefvdegledvffduhfenucfkphepkeegrddvvdelrdduheefrdeggeenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehiughoshgthh esihguohhstghhrdhorhhg X-ME-Proxy: Received: from shredder.lan (igld-84-229-153-44.inter.net.il [84.229.153.44]) by mail.messagingengine.com (Postfix) with ESMTPA id A7FF624005B; Thu, 25 Feb 2021 11:58:04 -0500 (EST) From: Ido Schimmel To: netdev@vger.kernel.org Cc: davem@davemloft.net, kuba@kernel.org, jiri@nvidia.com, petrm@nvidia.com, danieller@nvidia.com, mlxsw@nvidia.com, Ido Schimmel Subject: [PATCH net 0/3] mlxsw: Various fixes Date: Thu, 25 Feb 2021 18:57:18 +0200 Message-Id: <20210225165721.1322424-1-idosch@idosch.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Ido Schimmel This patchset contains various fixes for mlxsw. Patch #1 fixes a race condition in a selftest. The race and fix are explained in detail in the changelog. Patch #2 re-adds a link mode that was wrongly removed, resulting in a regression in some setups. Patch #3 fixes a race condition in route installation with nexthop objects. Please consider patches #2 and #3 for stable. Danielle Ratson (2): selftests: forwarding: Fix race condition in mirror installation mlxsw: spectrum_ethtool: Add an external speed to PTYS register Ido Schimmel (1): mlxsw: spectrum_router: Ignore routes using a deleted nexthop object drivers/net/ethernet/mellanox/mlxsw/reg.h | 1 + drivers/net/ethernet/mellanox/mlxsw/spectrum_ethtool.c | 5 +++++ drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c | 7 +++++++ drivers/net/ethernet/mellanox/mlxsw/switchx2.c | 3 ++- .../net/forwarding/mirror_gre_bridge_1d_vlan.sh | 9 +++++++++ 5 files changed, 24 insertions(+), 1 deletion(-)