[FEATURE] Hirsute: support TLS device offload for Bond

Bug #1915717 reported by Amir Tzin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Jeff Lane 
Hirsute
Fix Released
Undecided
Jeff Lane 

Bug Description

The request here is to pull needed patches to support tls rx/tx offload for bond interfaces.

patch set:
4e5a73329051 net/tls: Except bond interface from some TLS checks
153cbd137f0a net/tls: Device offload to use lowest netdevice in chain
dc5809f9e2b6 net/bonding: Declare TLS RX device offload support
89df6a810470 net/bonding: Implement TLS TX device offload
f45583de361d net/bonding: Take update_features call out of XFRM funciton
007feb87fb15 net/bonding: Implement ndo_sk_get_lower_dev
5b99854540e3 net/bonding: Take IP hash logic into a helper
719a402cf603 net: netdevice: Add operation ndo_sk_get_lower_dev

https://www.spinics.net/lists/netdev/msg714607.html
https://www.spinics.net/lists/netdev/msg714991.html

*
the set was originally applied to net/net-next
(hashes above are from net-next tree cloned from git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git)

*
The set is cleanly applied on ubuntu-unstable branch
(cloned from git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/unstable)

*
the set is accepted to upstream v5.12 and thus not natively in 21.04

UPDATE
Pathches identified upstream in mainline at 5.12-rc1

All patches pick cleanly from mainline into our 5.11 Hirsute tree

CVE References

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1915717

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: hirsute
Revision history for this message
Jeff Lane  (bladernr) wrote : Re: Ubuntu 21.04, kernel feature request, TLS device offload for Bond

log files unnecessary, this is a patch pull request.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Jeff Lane  (bladernr) wrote :

These two do not cleanly pick to either Hirsute (currently at 5.10) or unstable (currently 5.11). The conflicts are small, but not clean in any case

dc5809f9e2b6 net/bonding: Declare TLS RX device offload support
89df6a810470 net/bonding: Implement TLS TX device offload

Revision history for this message
Amir Tzin (amirtz) wrote :

Hi,

I retried and All 8 commits were cleanly applied above
tag: Ubuntu-unstable-5.11.0-10.11

Revision history for this message
Jeff Lane  (bladernr) wrote :
Changed in linux (Ubuntu):
assignee: nobody → Jeff Lane (bladernr)
Changed in linux (Ubuntu Hirsute):
status: Confirmed → In Progress
Jeff Lane  (bladernr)
tags: added: hwcert-server
Revision history for this message
Amir Tzin (amirtz) wrote :

The test kernel was verified successfully.

Jeff Lane  (bladernr)
description: updated
description: updated
description: updated
Revision history for this message
Jeff Lane  (bladernr) wrote :

PR made for 5.11

summary: - Ubuntu 21.04, kernel feature request, TLS device offload for Bond
+ [FEATURE] Hirsute: support TLS device offload for Bond
Seth Forshee (sforshee)
Changed in linux (Ubuntu Hirsute):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (37.7 KiB)

This bug was fixed in the package linux - 5.11.0-14.15

---------------
linux (5.11.0-14.15) hirsute; urgency=medium

  * hirsute/linux: 5.11.0-14.15 -proposed tracker (LP: #1923103)

  * Packaging resync (LP: #1786013)
    - update dkms package versions

  * Include Infiniband Peer Memory interface (LP: #1923104)
    - SAUCE: RDMA/core: Introduce peer memory interface

  * Hirsute update: v5.11.12 upstream stable release (LP: #1923069)
    - arm64: mm: correct the inside linear map range during hotplug check
    - virtiofs: Fail dax mount if device does not support it
    - ext4: shrink race window in ext4_should_retry_alloc()
    - ext4: fix bh ref count on error paths
    - fs: nfsd: fix kconfig dependency warning for NFSD_V4
    - rpc: fix NULL dereference on kmalloc failure
    - iomap: Fix negative assignment to unsigned sis->pages in
      iomap_swapfile_activate
    - ASoC: rt1015: fix i2c communication error
    - ASoC: rt5640: Fix dac- and adc- vol-tlv values being off by a factor of 10
    - ASoC: rt5651: Fix dac- and adc- vol-tlv values being off by a factor of 10
    - ASoC: sgtl5000: set DAP_AVC_CTRL register to correct default value on probe
    - ASoC: es8316: Simplify adc_pga_gain_tlv table
    - ASoC: soc-core: Prevent warning if no DMI table is present
    - ASoC: cs42l42: Fix Bitclock polarity inversion
    - ASoC: cs42l42: Fix channel width support
    - ASoC: cs42l42: Fix mixer volume control
    - ASoC: cs42l42: Always wait at least 3ms after reset
    - NFSD: fix error handling in NFSv4.0 callbacks
    - ASoC: mediatek: mt8192: fix tdm out data is valid on rising edge
    - kernel: freezer should treat PF_IO_WORKER like PF_KTHREAD for freezing
    - vhost: Fix vhost_vq_reset()
    - io_uring: fix ->flags races by linked timeouts
    - io_uring: halt SQO submission on ctx exit
    - scsi: st: Fix a use after free in st_open()
    - scsi: qla2xxx: Fix broken #endif placement
    - staging: comedi: cb_pcidas: fix request_irq() warn
    - staging: comedi: cb_pcidas64: fix request_irq() warn
    - ASoC: rt5659: Update MCLK rate in set_sysclk()
    - ASoC: rt711: add snd_soc_component remove callback
    - thermal/core: Add NULL pointer check before using cooling device stats
    - locking/ww_mutex: Simplify use_ww_ctx & ww_ctx handling
    - locking/ww_mutex: Fix acquire/release imbalance in
      ww_acquire_init()/ww_acquire_fini()
    - nvmet-tcp: fix kmap leak when data digest in use
    - io_uring: imply MSG_NOSIGNAL for send[msg]()/recv[msg]() calls
    - Revert "PM: ACPI: reboot: Use S5 for reboot"
    - nouveau: Skip unvailable ttm page entries
    - static_call: Align static_call_is_init() patching condition
    - ext4: do not iput inode under running transaction in ext4_rename()
    - io_uring: call req_set_fail_links() on short send[msg]()/recv[msg]() with
      MSG_WAITALL
    - net: mvpp2: fix interrupt mask/unmask skip condition
    - mptcp: deliver ssk errors to msk
    - mptcp: fix poll after shutdown
    - mptcp: init mptcp request socket earlier
    - mptcp: add a missing retransmission timer scheduling
    - flow_dissector: fix TTL and TOS dissection on IPv4 fragments
    - mptcp: fix DATA_FIN processing f...

Changed in linux (Ubuntu Hirsute):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.