public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/6] sfc: Add XDP support
@ 2019-10-30 10:48 Charles McLachlan
  2019-10-30 10:50 ` [PATCH net-next v3 1/6] sfc: support encapsulation of xdp_frames in efx_tx_buffer Charles McLachlan
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Charles McLachlan @ 2019-10-30 10:48 UTC (permalink / raw)
  To: davem; +Cc: netdev, linux-net-drivers, brouer

Supply the XDP callbacks in netdevice ops that enable lower level processing
of XDP frames.

Changes since v1:
- 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.

Changes since v2:
- Fix a BUG_ON when trying to allocate piobufs to xdp queues.
- Add a missed trace_xdp_exception.

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       |  14 +-
 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         | 149 +++++++++++++-
 drivers/net/ethernet/sfc/tx.c         |  74 +++++++
 7 files changed, 554 insertions(+), 44 deletions(-)


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-10-30 11:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-30 10:48 [PATCH net-next v3 0/6] sfc: Add XDP support Charles McLachlan
2019-10-30 10:50 ` [PATCH net-next v3 1/6] sfc: support encapsulation of xdp_frames in efx_tx_buffer Charles McLachlan
2019-10-30 10:51 ` [PATCH net-next v3 2/6] sfc: perform XDP processing on received packets Charles McLachlan
2019-10-30 10:51 ` [PATCH net-next v3 3/6] sfc: Enable setting of xdp_prog Charles McLachlan
2019-10-30 10:51 ` [PATCH net-next v3 4/6] sfc: allocate channels for XDP tx queues Charles McLachlan
2019-10-30 10:52 ` [PATCH net-next v3 5/6] sfc: handle XDP_TX outcomes of XDP eBPF programs Charles McLachlan
2019-10-30 11:34   ` Jesper Dangaard Brouer
2019-10-30 10:52 ` [PATCH net-next v3 6/6] sfc: add XDP counters to ethtool stats Charles McLachlan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox