mbox series

[v2,net-next,0/3] enetc: unlock XDP_REDIRECT for XDP non-linear buffers

Message ID cover.1672840490.git.lorenzo@kernel.org (mailing list archive)
Headers show
Series enetc: unlock XDP_REDIRECT for XDP non-linear buffers | expand

Message

Lorenzo Bianconi Jan. 4, 2023, 1:57 p.m. UTC
Unlock XDP_REDIRECT for S/G XDP buffer and rely on XDP stack to properly
take care of the frames.
Rely on XDP_FLAGS_HAS_FRAGS flag to check if it really necessary to access
non-linear part of the xdp_buff/xdp_frame.

Changes since v1:
- rebase on top of net-next

Lorenzo Bianconi (3):
  net: ethernet: enetc: unlock XDP_REDIRECT for XDP non-linear buffers
  net: ethernet: enetc: get rid of xdp_redirect_sg counter
  net: ethernet: enetc: do not always access skb_shared_info in the XDP
    path

 drivers/net/ethernet/freescale/enetc/enetc.c  | 38 +++++++++----------
 drivers/net/ethernet/freescale/enetc/enetc.h  |  1 -
 .../ethernet/freescale/enetc/enetc_ethtool.c  |  2 -
 3 files changed, 18 insertions(+), 23 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Jan. 6, 2023, 5:50 a.m. UTC | #1
Hello:

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

On Wed,  4 Jan 2023 14:57:09 +0100 you wrote:
> Unlock XDP_REDIRECT for S/G XDP buffer and rely on XDP stack to properly
> take care of the frames.
> Rely on XDP_FLAGS_HAS_FRAGS flag to check if it really necessary to access
> non-linear part of the xdp_buff/xdp_frame.
> 
> Changes since v1:
> - rebase on top of net-next
> 
> [...]

Here is the summary with links:
  - [v2,net-next,1/3] net: ethernet: enetc: unlock XDP_REDIRECT for XDP non-linear buffers
    https://git.kernel.org/netdev/net-next/c/8feb020f92a5
  - [v2,net-next,2/3] net: ethernet: enetc: get rid of xdp_redirect_sg counter
    https://git.kernel.org/netdev/net-next/c/59cc773a352c
  - [v2,net-next,3/3] net: ethernet: enetc: do not always access skb_shared_info in the XDP path
    https://git.kernel.org/netdev/net-next/c/c7030d14c78e

You are awesome, thank you!