Skip to content

mtk_eth_soc rx vlan offload improvement + dsa hardware untag support

Felix Fietkau bpf linux-arm-kernel linux-mediatek lkml netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 3 repliesApplied 4/4
  2. v34 patches 10 repliesSuperseded

Changes in v4 from the cover letter

- fix reverse christmas tree in dsa patch
- use skb_dst_drop to support metadata dst refcounting
- disable dsa untag offload in mtk_eth_soc if xdp is used

Patches in v4 All 4 applied

#Subject and filesSizeRepliesApplied
1/4net: dsa: add support for DSA rx offloading via metadata dstnet/core/flow_dissector.c net/dsa/dsa.c+21 -23 repliesApplied
2/4net: ethernet: mtk_eth_soc: pass correct VLAN protocol ID to the network stackdrivers/net/ethernet/mediatek/mtk_eth_soc.c+1 -10 repliesApplied
3/4net: ethernet: mtk_eth_soc: add support for configuring vlan rx offloaddrivers/net/ethernet/mediatek/mtk_eth_soc.c+20 -50 repliesApplied
4/4net: ethernet: mtk_eth_soc: enable hardware DSA untaggingdrivers/net/ethernet/mediatek/mtk_eth_soc.c drivers/net/ethernet/mediatek/mtk_eth_soc.h+67 -70 repliesApplied

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchVladimir OlteanFlorian Fainelli
1/4R-b R-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH net-next v4 0/4] mtk_eth_soc rx vlan offload improvement + dsa hardware untag support

This series improves rx vlan offloading on mtk_eth_soc and extends it to support hardware DSA untagging where possible.
This improves performance by avoiding calls into the DSA tag driver receive function, including mangling of skb->data.

This is split out of a previous series, which added other fixes and multiqueue support

Changes in v4:
- fix reverse christmas tree in dsa patch
- use skb_dst_drop to support metadata dst refcounting
- disable dsa untag offload in mtk_eth_soc if xdp is used

Felix Fietkau (4):
net: dsa: add support for DSA rx offloading via metadata dst
net: ethernet: mtk_eth_soc: pass correct VLAN protocol ID to the
network stack
net: ethernet: mtk_eth_soc: add support for configuring vlan rx
offload
net: ethernet: mtk_eth_soc: enable hardware DSA untagging

 drivers/net/ethernet/mediatek/mtk_eth_soc.c | 93 ++++++++++++++++++---
 drivers/net/ethernet/mediatek/mtk_eth_soc.h |  8 ++
 net/core/flow_dissector.c                   |  4 +-
 net/dsa/dsa.c                               | 19 ++++-
 4 files changed, 109 insertions(+), 15 deletions(-)
Signature · 1 line
2.38.1