Skip to content

add xdp_build_skb_from_frame utility routine

Lorenzo Bianconi bpf netdev 2 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesApplied 2/2
  2. v12 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- fix a checkpatch warning
- improve commit log in patch 2/2

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: xdp: introduce __xdp_build_skb_from_frame utility routineinclude/net/xdp.h kernel/bpf/cpumap.c net/core/xdp.c+49 -440 repliesApplied
2/2net: xdp: introduce xdp_build_skb_from_frame utility routinedrivers/net/veth.c include/net/xdp.h net/core/xdp.c+20 -150 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJesper Dangaard BrouerToshiaki Makita
1/2A-b
2/2A-b R-b

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

Read the v2 thread

Cover letter [PATCH v2 bpf-next 0/2] add xdp_build_skb_from_frame utility routine

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(-)
Signature · 1 line
2.29.2