From: Toshiaki Makita <toshiaki.makita1@gmail.com>
To: Alexei Starovoitov <ast@kernel.org>,
Daniel Borkmann <daniel@iogearbox.net>,
"David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <jakub.kicinski@netronome.com>,
Jesper Dangaard Brouer <hawk@kernel.org>,
John Fastabend <john.fastabend@gmail.com>
Cc: "Toshiaki Makita" <toshiaki.makita1@gmail.com>,
netdev@vger.kernel.org, xdp-newbies@vger.kernel.org,
bpf@vger.kernel.org, "Toke Høiland-Jørgensen" <toke@redhat.com>,
"Jason Wang" <jasowang@redhat.com>
Subject: [PATCH v3 bpf-next 0/2] veth: Bulk XDP_TX
Date: Thu, 13 Jun 2019 18:39:57 +0900 [thread overview]
Message-ID: <20190613093959.2796-1-toshiaki.makita1@gmail.com> (raw)
This introduces bulk XDP_TX in veth.
Improves XDP_TX performance by approximately 9%. The detailed
explanation and performance numbers are shown in patch 2.
v2:
- Use stack for bulk queue instead of a global variable.
v3:
- Add act field to xdp_bulk_tx tracepoint to be in line with other XDP
tracepoints.
Signed-off-by: Toshiaki Makita <toshiaki.makita1@gmail.com>
Toshiaki Makita (2):
xdp: Add tracepoint for bulk XDP_TX
veth: Support bulk XDP_TX
drivers/net/veth.c | 60 ++++++++++++++++++++++++++++++++++++----------
include/trace/events/xdp.h | 29 ++++++++++++++++++++++
kernel/bpf/core.c | 1 +
3 files changed, 78 insertions(+), 12 deletions(-)
--
1.8.3.1
next reply other threads:[~2019-06-13 15:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-13 9:39 Toshiaki Makita [this message]
2019-06-13 9:39 ` [PATCH v3 bpf-next 1/2] xdp: Add tracepoint for bulk XDP_TX Toshiaki Makita
2019-06-13 12:11 ` Jesper Dangaard Brouer
2019-06-13 9:39 ` [PATCH v3 bpf-next 2/2] veth: Support " Toshiaki Makita
2019-06-13 12:13 ` Jesper Dangaard Brouer
2019-06-25 12:29 ` [PATCH v3 bpf-next 0/2] veth: Bulk XDP_TX Daniel Borkmann
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=20190613093959.2796-1-toshiaki.makita1@gmail.com \
--to=toshiaki.makita1@gmail.com \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=hawk@kernel.org \
--cc=jakub.kicinski@netronome.com \
--cc=jasowang@redhat.com \
--cc=john.fastabend@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=toke@redhat.com \
--cc=xdp-newbies@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).