From patchwork Fri Oct 2 18:06:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saeed Mahameed X-Patchwork-Id: 289077 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=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING, 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 A6C97C4363D for ; Fri, 2 Oct 2020 18:07:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 52AE121D24 for ; Fri, 2 Oct 2020 18:07:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601662028; bh=aXCgCQ8P+5n02VM+r/7igfPHUVD/9Y3N8SLyQ/Hd680=; h=From:To:Cc:Subject:Date:List-ID:From; b=w6yPz+Cv1Ufgv6n36w9EVPFTwMMJd8EHuJx9yWsUg2NJ6I27p4+hR8eRlexY8zWzz vQZ5p2kJun9I7HqVLFPgxicRz5wrYzB0zwm1ZXAOC8UrfSS5qvwRZ1vNwFac4umwXf fB+yKUNL5SgiRsqFdPTJ5x9NnDd9Sj/49IOWUBdk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387934AbgJBSHG (ORCPT ); Fri, 2 Oct 2020 14:07:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:36620 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726224AbgJBSHG (ORCPT ); Fri, 2 Oct 2020 14:07:06 -0400 Received: from sx1.mtl.com (c-24-6-56-119.hsd1.ca.comcast.net [24.6.56.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6788F20795; Fri, 2 Oct 2020 18:07:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601662025; bh=aXCgCQ8P+5n02VM+r/7igfPHUVD/9Y3N8SLyQ/Hd680=; h=From:To:Cc:Subject:Date:From; b=J/saCXCz3tCUTGsaXZ5ektUt+XJeXkaSO5Diew1H1H5+Xq/b4wCLGhmUQ2h4pcgNy hYo+CiEO6jBoORHEI7hXESt3Oon1a+d2xTMAOmBGsNo47Y91jH8/Y5pYV7h7su40Fw BSYmQ9wNCWCIzyJ9USyEz6waiaJW2kSUlc6rsVqs= From: saeed@kernel.org To: "David S. Miller" , Jakub Kicinski Cc: netdev@vger.kernel.org, Saeed Mahameed Subject: [pull request][net V3 00/14] mlx5 fixes 2020-09-30 Date: Fri, 2 Oct 2020 11:06:40 -0700 Message-Id: <20201002180654.262800-1-saeed@kernel.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Saeed Mahameed Hi Dave, This series introduces some fixes to mlx5 driver. v1->v2: - Patch #1 Don't return while mutex is held. (Dave) v2->v3: - Drop patch #1, will consider a better approach (Jakub) - use cpu_relax() instead of cond_resched() (Jakub) - while(i--) to reveres a loop (Jakub) - Drop old mellanox email sign-off and change the committer email (Jakub) Please pull and let me know if there is any problem. For -stable v4.15 ('net/mlx5e: Fix VLAN cleanup flow') ('net/mlx5e: Fix VLAN create flow') For -stable v4.16 ('net/mlx5: Fix request_irqs error flow') For -stable v5.4 ('net/mlx5e: Add resiliency in Striding RQ mode for packets larger than MTU') ('net/mlx5: Avoid possible free of command entry while timeout comp handler') For -stable v5.7 ('net/mlx5e: Fix return status when setting unsupported FEC mode') For -stable v5.8 ('net/mlx5e: Fix race condition on nhe->n pointer in neigh update') Thanks, Saeed. --- The following changes since commit a59cf619787e628b31c310367f869fde26c8ede1: Merge branch 'Fix-bugs-in-Octeontx2-netdev-driver' (2020-09-30 15:07:19 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git tags/mlx5-fixes-2020-09-30 for you to fetch changes up to 1253935ad801485270194d5651acab04abc97b36: net/mlx5e: Fix race condition on nhe->n pointer in neigh update (2020-10-02 10:59:58 -0700) ---------------------------------------------------------------- mlx5-fixes-2020-09-30 ---------------------------------------------------------------- Aya Levin (6): net/mlx5e: Fix error path for RQ alloc net/mlx5e: Add resiliency in Striding RQ mode for packets larger than MTU net/mlx5e: Fix driver's declaration to support GRE offload net/mlx5e: Fix return status when setting unsupported FEC mode net/mlx5e: Fix VLAN cleanup flow net/mlx5e: Fix VLAN create flow Eran Ben Elisha (4): net/mlx5: Fix a race when moving command interface to polling mode net/mlx5: Avoid possible free of command entry while timeout comp handler net/mlx5: poll cmd EQ in case of command timeout net/mlx5: Add retry mechanism to the command entry index allocation Maor Dickman (1): net/mlx5e: CT, Fix coverity issue Maor Gottlieb (1): net/mlx5: Fix request_irqs error flow Saeed Mahameed (1): net/mlx5: cmdif, Avoid skipping reclaim pages if FW is not accessible Vlad Buslov (1): net/mlx5e: Fix race condition on nhe->n pointer in neigh update drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 198 +++++++++++++++------ drivers/net/ethernet/mellanox/mlx5/core/en.h | 8 +- drivers/net/ethernet/mellanox/mlx5/core/en/port.c | 3 + .../net/ethernet/mellanox/mlx5/core/en/rep/neigh.c | 81 +++++---- drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c | 4 +- drivers/net/ethernet/mellanox/mlx5/core/en_fs.c | 14 +- drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 104 +++++++++-- drivers/net/ethernet/mellanox/mlx5/core/en_rep.h | 6 - drivers/net/ethernet/mellanox/mlx5/core/eq.c | 42 ++++- drivers/net/ethernet/mellanox/mlx5/core/lib/eq.h | 2 + .../net/ethernet/mellanox/mlx5/core/pagealloc.c | 2 +- drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c | 2 +- include/linux/mlx5/driver.h | 3 + 13 files changed, 350 insertions(+), 119 deletions(-)