mbox series

[v2,bpf-next,0/2] add xdp_build_skb_from_frame utility routine

Message ID cover.1610475660.git.lorenzo@kernel.org
Headers show
Series add xdp_build_skb_from_frame utility routine | expand

Message

Lorenzo Bianconi Jan. 12, 2021, 6:26 p.m. UTC
Introduce __xdp_build_skb_from_frame and xdp_build_skb_from_frame routines
to build the skb from a xdp_frame. Respect to __xdp_build_skb_from_frame,
xdp_build_skb_from_frame will allocate the skb object.
Rely on __xdp_build_skb_from_frame/xdp_build_skb_from_frame in cpumap and
veth code.

Changes since v1:
- fix a checkpatch warning
- improve commit log in patch 2/2

Lorenzo Bianconi (2):
  net: xdp: introduce __xdp_build_skb_from_frame utility routine
  net: xdp: introduce xdp_build_skb_from_frame utility routine

 drivers/net/veth.c  | 18 +++-----------
 include/net/xdp.h   |  5 ++++
 kernel/bpf/cpumap.c | 46 ++---------------------------------
 net/core/xdp.c      | 59 +++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 69 insertions(+), 59 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Jan. 18, 2021, 10:30 p.m. UTC | #1
Hello:

This series was applied to bpf/bpf-next.git (refs/heads/master):

On Tue, 12 Jan 2021 19:26:11 +0100 you wrote:
> Introduce __xdp_build_skb_from_frame and xdp_build_skb_from_frame routines

> to build the skb from a xdp_frame. Respect to __xdp_build_skb_from_frame,

> xdp_build_skb_from_frame will allocate the skb object.

> Rely on __xdp_build_skb_from_frame/xdp_build_skb_from_frame in cpumap and

> veth code.

> 

> Changes since v1:

> - fix a checkpatch warning

> - improve commit log in patch 2/2

> 

> [...]


Here is the summary with links:
  - [v2,bpf-next,1/2] net: xdp: introduce __xdp_build_skb_from_frame utility routine
    https://git.kernel.org/bpf/bpf-next/c/e753e92bbf33
  - [v2,bpf-next,2/2] net: xdp: introduce xdp_build_skb_from_frame utility routine
    https://git.kernel.org/bpf/bpf-next/c/a2c2998d5c6b

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