BPF List
 help / color / mirror / Atom feed
* [PATCH net-next v4 0/4] mtk_eth_soc rx vlan offload improvement + dsa hardware untag support
@ 2022-11-14 12:42 Felix Fietkau
  2022-11-16  4:30 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Felix Fietkau @ 2022-11-14 12:42 UTC (permalink / raw)
  To: netdev, Alexei Starovoitov, Daniel Borkmann, David S. Miller,
	Jakub Kicinski, Jesper Dangaard Brouer, John Fastabend,
	Matthias Brugger
  Cc: Vladimir Oltean, bpf, linux-arm-kernel, linux-mediatek

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

-- 
2.38.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next v4 0/4] mtk_eth_soc rx vlan offload improvement + dsa hardware untag support
  2022-11-14 12:42 [PATCH net-next v4 0/4] mtk_eth_soc rx vlan offload improvement + dsa hardware untag support Felix Fietkau
@ 2022-11-16  4:30 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-11-16  4:30 UTC (permalink / raw)
  To: Felix Fietkau
  Cc: netdev, ast, daniel, davem, kuba, hawk, john.fastabend,
	matthias.bgg, olteanv, bpf, linux-arm-kernel, linux-mediatek

Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 14 Nov 2022 13:42:10 +0100 you wrote:
> 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
> 
> [...]

Here is the summary with links:
  - [net-next,v4,1/4] net: dsa: add support for DSA rx offloading via metadata dst
    https://git.kernel.org/netdev/net-next/c/570d0a588dfb
  - [net-next,v4,2/4] net: ethernet: mtk_eth_soc: pass correct VLAN protocol ID to the network stack
    https://git.kernel.org/netdev/net-next/c/190487031584
  - [net-next,v4,3/4] net: ethernet: mtk_eth_soc: add support for configuring vlan rx offload
    https://git.kernel.org/netdev/net-next/c/08666cbb7dd5
  - [net-next,v4,4/4] net: ethernet: mtk_eth_soc: enable hardware DSA untagging
    https://git.kernel.org/netdev/net-next/c/2d7605a72906

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-16  4:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-14 12:42 [PATCH net-next v4 0/4] mtk_eth_soc rx vlan offload improvement + dsa hardware untag support Felix Fietkau
2022-11-16  4:30 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox