Skip to content

sfc: EF100 TSO enhancements

Edward Cree netdev 1 version Applied

Status from this message: Applied, thanks everyone!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4sfc: extend bitfield macros to 17 fieldsdrivers/net/ethernet/sfc/bitfield.h+37 -50 replies
2/4sfc: implement encap TSO on EF100drivers/net/ethernet/sfc/ef100_nic.c drivers/net/ethernet/sfc/ef100_tx.c+37 -217 replies
3/4sfc: only use fixed-id if the skb asks for itdrivers/net/ethernet/sfc/ef100_nic.c drivers/net/ethernet/sfc/ef100_tx.c+8 -70 replies
4/4sfc: advertise our vlan featuresdrivers/net/ethernet/sfc/ef100_nic.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/4] sfc: EF100 TSO enhancements

Support TSO over encapsulation (with GSO_PARTIAL), and over VLANs
(which the code already handled but we didn't advertise). Also correct our handling of IPID mangling.

I couldn't find documentation of exactly what shaped SKBs we can
get given, so patch #2 is slightly guesswork, but when I tested TSO over both underlay and (VxLAN) overlay, the checksums came out correctly, so at least in those cases the edits we're making must be the right ones.
Similarly, I'm not 100% sure I've correctly understood how FIXEDID
and MANGLEID are supposed to work in patch #3.

Edward Cree (4):
sfc: extend bitfield macros to 17 fields
sfc: implement encap TSO on EF100
sfc: only use fixed-id if the skb asks for it
sfc: advertise our vlan features

 drivers/net/ethernet/sfc/bitfield.h  | 42 +++++++++++++++++---
 drivers/net/ethernet/sfc/ef100_nic.c | 17 ++++++--
 drivers/net/ethernet/sfc/ef100_tx.c  | 58 ++++++++++++++++------------
 3 files changed, 84 insertions(+), 33 deletions(-)