mbox series

[net-next,v3,0/4] mtk_eth_soc rx vlan offload improvement + dsa hardware untag support

Message ID 20221110212212.96825-1-nbd@nbd.name (mailing list archive)
Headers show
Series mtk_eth_soc rx vlan offload improvement + dsa hardware untag support | expand

Message

Felix Fietkau Nov. 10, 2022, 9:22 p.m. UTC
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 v3:
 - fix netdev features sync
 - fix dsa_default_offload_fwd_mark call in dsa patch

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