mbox series

[SRU,F:linux-bluefield,00/32] TLS Bonding Backport

Message ID 1620070757-51528-1-git-send-email-danielj@nvidia.com
Headers show
Series TLS Bonding Backport | expand

Message

Daniel Jurgens May 3, 2021, 7:38 p.m. UTC
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(-)

Comments

Stefan Bader May 4, 2021, 9:28 a.m. UTC | #1
On 03.05.21 21:38, Daniel Jurgens wrote:
> 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.

If the number of patches is more than ~5, the submission as individual patches 
is not practical. Please use a pull-request in those cases. You can use the 
"Fork it to your account" link on

https://code.launchpad.net/~canonical-kernel/ubuntu/+source/linux-bluefield/+git/version-seeds

to create the initial repo for your launchpad account. Then use that for pull 
requests.

Thanks,

Stefan



> 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(-)
>