From patchwork Mon May 3 19:38:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Jurgens X-Patchwork-Id: 1473311 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FYtb241WJz9sT6; Tue, 4 May 2021 05:39:26 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1ldePb-0001MU-GV; Mon, 03 May 2021 19:39:23 +0000 Received: from mail-il-dmz.mellanox.com ([193.47.165.129] helo=mellanox.co.il) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1ldePZ-0001M7-AK for kernel-team@lists.ubuntu.com; Mon, 03 May 2021 19:39:21 +0000 Received: from Internal Mail-Server by MTLPINE1 (envelope-from danielj@nvidia.com) with SMTP; 3 May 2021 22:39:18 +0300 Received: from sw-mtx-hparm-003.mtx.labs.mlnx. (sw-mtx-hparm-003.mtx.labs.mlnx [10.9.151.78]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 143JdHlT026551; Mon, 3 May 2021 22:39:18 +0300 From: Daniel Jurgens To: kernel-team@lists.ubuntu.com Subject: [SRU][F:linux-bluefield][PATCH 00/32] TLS Bonding Backport Date: Mon, 3 May 2021 22:38:45 +0300 Message-Id: <1620070757-51528-1-git-send-email-danielj@nvidia.com> X-Mailer: git-send-email 1.8.3.1 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: vlad@nvidia.com MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" Backport TLS offloads for bonding and prerequisite series. BugLink: https://bugs.launchpad.net/bugs/1926994 SRU Justification: [Impact] * Without this TLS offloads over bond interfaces doesn't function. [Fix] * Enable offloads via backport from newer upstream kernel. [Test Case] * TLS offloads traffic test over a bonded interface. [Regression Potential] * There are significant changes in the Bond driver to enable offloads, and subsequently add the TLS bonding. Any regressions would almost certainly occur there. Eric Dumazet (5): netpoll: remove dev argument from netpoll_send_skb_on_dev() netpoll: move netpoll_send_skb() out of line netpoll: netpoll_send_skb() returns transmit status netpoll: accept NULL np argument in netpoll_send_skb() bonding: propagate transmit status Jarod Wilson (8): xfrm: bail early on slave pass over skb ixgbe_ipsec: become aware of when running as a bonding slave mlx5: become aware of when running as a bonding slave bonding: support hardware encryption offload to slaves bonding: allow xfrm offload setup post-module-load bonding/xfrm: use real_dev instead of slave_dev bonding: deal with xfrm state in all modes and add more error-checking bonding: fix feature flag setting at init time Maor Gottlieb (9): net/core: Introduce netdev_get_xmit_slave bonding: Export skip slave logic to function bonding: Rename slave_arr to usable_slaves bonding/alb: Add helper functions to get the xmit slave bonding: Add helper function to get the xmit slave based on hash bonding: Add helper function to get the xmit slave in rr mode bonding: Add function to get the xmit slave in active-backup mode bonding: Add array of all slaves bonding: Implement ndo_get_xmit_slave Nathan Chancellor (1): bonding: Remove extraneous parentheses in bond_setup Tariq Toukan (8): net: netdevice: Add operation ndo_sk_get_lower_dev net/bonding: Take IP hash logic into a helper net/bonding: Implement ndo_sk_get_lower_dev net/bonding: Take update_features call out of XFRM funciton net/bonding: Implement TLS TX device offload net/bonding: Declare TLS RX device offload support net/tls: Device offload to use lowest netdevice in chain net/tls: Except bond interface from some TLS checks Yunjian Wang (1): netpoll: Fix use correct return type for ndo_start_xmit() drivers/net/bonding/bond_alb.c | 46 +- drivers/net/bonding/bond_main.c | 576 +++++++++++++++++---- drivers/net/bonding/bond_options.c | 40 ++ drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c | 8 +- .../ethernet/mellanox/mlx5/core/en_accel/ipsec.c | 4 +- drivers/net/macvlan.c | 5 +- include/linux/if_team.h | 5 +- include/linux/netdevice.h | 16 + include/linux/netpoll.h | 10 +- include/net/bond_alb.h | 4 + include/net/bonding.h | 29 +- include/net/xfrm.h | 1 + net/8021q/vlan_dev.c | 5 +- net/bridge/br_private.h | 5 +- net/core/dev.c | 55 ++ net/core/netpoll.c | 38 +- net/dsa/slave.c | 5 +- net/tls/tls_device.c | 4 +- net/tls/tls_device_fallback.c | 2 +- net/xfrm/xfrm_device.c | 35 +- 20 files changed, 703 insertions(+), 190 deletions(-)