From patchwork Tue Sep 22 00:30:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saeed Mahameed X-Patchwork-Id: 260438 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=-18.6 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 80552C4727C for ; Tue, 22 Sep 2020 00:31:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3FC6323A9C for ; Tue, 22 Sep 2020 00:31:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600734676; bh=7yeTCyV7stcXwkm9AOLBOnXcaVaMqAJEcJlkX6FMb1A=; h=From:To:Cc:Subject:Date:List-ID:From; b=zXTkJ/GVmLD6jzLk6UVZQ7FR5+rnZWieH2ekzbA9dwcYDkPeqEKmYQY//XLVVGsg4 7C7JnkwCs2sawxPz2CKhcYYNLBQNWwQu8CuOaC/UZci3wPuz1sQQx/4ENp67wdscTG 6TklBURf6xzJsX84RDjsRISzmIbb6e9HJHd49o/Y= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729005AbgIVAbM (ORCPT ); Mon, 21 Sep 2020 20:31:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:60334 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726913AbgIVAbM (ORCPT ); Mon, 21 Sep 2020 20:31:12 -0400 Received: from sx1.lan (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 82A1F23A7B; Tue, 22 Sep 2020 00:31:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600734671; bh=7yeTCyV7stcXwkm9AOLBOnXcaVaMqAJEcJlkX6FMb1A=; h=From:To:Cc:Subject:Date:From; b=ts/w0AOXjhvFq0OHin0hB1D0WX5VzLotrOEpyApPNUTWBdLm9J9ObC4PltOQLRmWD NlrUuZzfSx4eK3Quv/EfdxpFxq57E8fVQ11UC27sRV32kt/8n9AWhSudJ9Rxolwv2n 3wOY5JoO3qaX47uciZbFVrzYbRebdUzxYBHstL6k= From: saeed@kernel.org To: "David S. Miller" , Jakub Kicinski Cc: netdev@vger.kernel.org, Saeed Mahameed Subject: [pull request][net V2 00/15] mlx5 fixes-2020-09-18 Date: Mon, 21 Sep 2020 17:30:46 -0700 Message-Id: <20200922003101.529117-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. Please pull and let me know if there is any problem. v1->v2: Remove missing patch from -stable list. For -stable v5.1 ('net/mlx5: Fix FTE cleanup') For -stable v5.3 ('net/mlx5e: TLS, Do not expose FPGA TLS counter if not supported') ('net/mlx5e: Enable adding peer miss rules only if merged eswitch is supported') For -stable v5.7 ('net/mlx5e: Fix memory leak of tunnel info when rule under multipath not ready') For -stable v5.8 ('net/mlx5e: Use RCU to protect rq->xdp_prog') ('net/mlx5e: Fix endianness when calculating pedit mask first bit') ('net/mlx5e: Use synchronize_rcu to sync with NAPI') Thanks, Saeed. --- The following changes since commit 5f6857e808a8bd078296575b417c4b9d160b9779: nfp: use correct define to return NONE fec (2020-09-17 17:59:12 -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-18 for you to fetch changes up to cb39ccc5cbe1011d8d21886b75e2468070ac672c: net/mlx5e: mlx5e_fec_in_caps() returns a boolean (2020-09-21 17:22:25 -0700) ---------------------------------------------------------------- mlx5-fixes-2020-09-18 ---------------------------------------------------------------- Alaa Hleihel (1): net/mlx5e: Fix using wrong stats_grps in mlx5e_update_ndo_stats() Jianbo Liu (1): net/mlx5e: Fix memory leak of tunnel info when rule under multipath not ready Maor Dickman (2): net/mlx5e: Enable adding peer miss rules only if merged eswitch is supported net/mlx5e: Fix endianness when calculating pedit mask first bit Maor Gottlieb (1): net/mlx5: Fix FTE cleanup Maxim Mikityanskiy (2): net/mlx5e: Use RCU to protect rq->xdp_prog net/mlx5e: Use synchronize_rcu to sync with NAPI Roi Dayan (1): net/mlx5e: CT: Fix freeing ct_label mapping Ron Diskin (1): net/mlx5e: Fix multicast counter not up-to-date in "ip -s" Saeed Mahameed (4): net/mlx5e: kTLS, Add missing dma_unmap in RX resync net/mlx5e: kTLS, Fix leak on resync error flow net/mlx5e: kTLS, Avoid kzalloc(GFP_KERNEL) under spinlock net/mlx5e: mlx5e_fec_in_caps() returns a boolean Tariq Toukan (2): net/mlx5e: TLS, Do not expose FPGA TLS counter if not supported net/mlx5e: kTLS, Fix napi sync and possible use-after-free drivers/net/ethernet/mellanox/mlx5/core/en.h | 3 +- .../ethernet/mellanox/mlx5/core/en/monitor_stats.c | 2 +- drivers/net/ethernet/mellanox/mlx5/core/en/port.c | 7 +- drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c | 21 ++++-- drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.h | 26 ++++--- drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h | 5 ++ drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c | 2 +- .../net/ethernet/mellanox/mlx5/core/en/xsk/rx.c | 14 +--- .../net/ethernet/mellanox/mlx5/core/en/xsk/setup.c | 3 +- .../ethernet/mellanox/mlx5/core/en_accel/ktls_rx.c | 43 +++++------ .../mellanox/mlx5/core/en_accel/tls_stats.c | 12 ++- drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 85 ++++++++-------------- drivers/net/ethernet/mellanox/mlx5/core/en_rep.c | 4 +- drivers/net/ethernet/mellanox/mlx5/core/en_rx.c | 16 ++-- drivers/net/ethernet/mellanox/mlx5/core/en_stats.c | 12 +++ drivers/net/ethernet/mellanox/mlx5/core/en_stats.h | 3 + drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 45 +++++++----- drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c | 17 ++++- .../ethernet/mellanox/mlx5/core/eswitch_offloads.c | 52 +++++++------ drivers/net/ethernet/mellanox/mlx5/core/fs_core.c | 8 +- 20 files changed, 200 insertions(+), 180 deletions(-)