Skip to content

net: stmmac: fix and clean up TSO/GSO support

Russell King (Oracle) linux-arm-kernel netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

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/2] net: stmmac: fix and clean up TSO/GSO support

This series:

1. moves setting priv->tso from stmmac_fix_features() to stmmac_set_features() as fix_features is not supposed to change driver state.

2. simplifies the TSO/GSP test in stmmac_xmit() to simply check if the skbuff is a GSO buffer, and whether the gso_type is one that we should handle.

A previous version of patch 1 was posted in February:

https://lore.kernel.org/r/[email protected]/

 drivers/net/ethernet/stmicro/stmmac/stmmac.h      |  3 +-
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 38 +++++++++++------------
 2 files changed, 21 insertions(+), 20 deletions(-)
Signature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!