From: Charles McLachlan <cmclachlan@solarflare.com>
To: <davem@davemloft.net>
Cc: <netdev@vger.kernel.org>, <linux-net-drivers@solarflare.com>,
<brouer@redhat.com>
Subject: [PATCH net-next v2 0/6] sfc: Add XDP support
Date: Mon, 28 Oct 2019 13:56:17 +0000 [thread overview]
Message-ID: <74c15338-c13e-5b7b-9cc5-844cd9262be3@solarflare.com> (raw)
Supply the XDP callbacks in netdevice ops that enable lower level processing
of XDP frames.
Changes since last submission:
- Use of xdp_return_frame_rx_napi() in tx.c
- Addition of xdp_rxq_info_valid and xdp_rxq_info_failed to track when
xdp_rxq_info failures occur.
- Renaming of rc to err and more use of unlikely().
- Cut some duplicated code and fix an array overrun.
- Actually increment n_rx_xdp_tx when packets are transmitted.
Charles McLachlan (6):
sfc: support encapsulation of xdp_frames in efx_tx_buffer
sfc: perform XDP processing on received packets
sfc: Enable setting of xdp_prog
sfc: allocate channels for XDP tx queues
sfc: handle XDP_TX outcomes of XDP eBPF programs
sfc: add XDP counters to ethtool stats
drivers/net/ethernet/sfc/ef10.c | 10 +-
drivers/net/ethernet/sfc/efx.c | 269 ++++++++++++++++++++++----
drivers/net/ethernet/sfc/efx.h | 3 +
drivers/net/ethernet/sfc/ethtool.c | 25 +++
drivers/net/ethernet/sfc/net_driver.h | 64 +++++-
drivers/net/ethernet/sfc/rx.c | 147 +++++++++++++-
drivers/net/ethernet/sfc/tx.c | 74 +++++++
7 files changed, 549 insertions(+), 43 deletions(-)
next reply other threads:[~2019-10-28 13:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-28 13:56 Charles McLachlan [this message]
2019-10-28 13:59 ` [PATCH net-next v2 1/6] sfc: support encapsulation of xdp_frames in efx_tx_buffer Charles McLachlan
2019-10-28 13:59 ` [PATCH net-next v2 2/6] sfc: perform XDP processing on received packets Charles McLachlan
2019-10-28 16:33 ` Jesper Dangaard Brouer
2019-10-28 17:11 ` Charles McLachlan
2019-10-28 17:46 ` Edward Cree
2019-10-28 18:05 ` David Miller
2019-10-28 13:59 ` [PATCH net-next v2 3/6] sfc: Enable setting of xdp_prog Charles McLachlan
2019-10-28 13:59 ` [PATCH net-next v2 4/6] sfc: allocate channels for XDP tx queues Charles McLachlan
2019-10-28 14:00 ` [PATCH net-next v2 5/6] sfc: handle XDP_TX outcomes of XDP eBPF programs Charles McLachlan
2019-10-28 14:00 ` [PATCH net-next v2 6/6] sfc: add XDP counters to ethtool stats Charles McLachlan
2019-10-28 22:03 ` [PATCH net-next v2 0/6] sfc: Add XDP support David Ahern
2019-10-29 9:40 ` Charles McLachlan
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=74c15338-c13e-5b7b-9cc5-844cd9262be3@solarflare.com \
--to=cmclachlan@solarflare.com \
--cc=brouer@redhat.com \
--cc=davem@davemloft.net \
--cc=linux-net-drivers@solarflare.com \
--cc=netdev@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