[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <74c15338-c13e-5b7b-9cc5-844cd9262be3@solarflare.com>
Date: Mon, 28 Oct 2019 13:56:17 +0000
From: Charles McLachlan <cmclachlan@...arflare.com>
To: <davem@...emloft.net>
CC: <netdev@...r.kernel.org>, <linux-net-drivers@...arflare.com>,
<brouer@...hat.com>
Subject: [PATCH net-next v2 0/6] sfc: Add XDP support
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(-)
Powered by blists - more mailing lists