From: Lorenzo Bianconi <lorenzo@kernel.org>
To: bpf@vger.kernel.org, netdev@vger.kernel.org
Cc: davem@davemloft.net, kuba@kernel.org, ast@kernel.org,
daniel@iogearbox.net, brouer@redhat.com,
lorenzo.bianconi@redhat.com, toshiaki.makita1@gmail.com
Subject: [PATCH bpf-next 0/2] add xdp_build_skb_from_frame utility routine
Date: Wed, 16 Dec 2020 19:38:32 +0100 [thread overview]
Message-ID: <cover.1608142960.git.lorenzo@kernel.org> (raw)
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.
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 | 45 +---------------------------------
net/core/xdp.c | 59 +++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 68 insertions(+), 59 deletions(-)
--
2.29.2
next reply other threads:[~2020-12-16 19:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-16 18:38 Lorenzo Bianconi [this message]
2020-12-16 18:38 ` [PATCH bpf-next 1/2] net: xdp: introduce __xdp_build_skb_from_frame utility routine Lorenzo Bianconi
2021-01-12 16:46 ` Jesper Dangaard Brouer
2020-12-16 18:38 ` [PATCH bpf-next 2/2] net: xdp: introduce xdp_build_skb_from_frame " Lorenzo Bianconi
2020-12-17 13:12 ` Toshiaki Makita
2021-01-12 16:50 ` Jesper Dangaard Brouer
2021-01-12 16:08 ` [PATCH bpf-next 0/2] add " Lorenzo Bianconi
2021-01-12 16:50 ` Daniel Borkmann
2021-01-12 16:53 ` Lorenzo Bianconi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1608142960.git.lorenzo@kernel.org \
--to=lorenzo@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=brouer@redhat.com \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=lorenzo.bianconi@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=toshiaki.makita1@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.