netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v4 0/6] sfc: Add XDP support
@ 2019-10-31 10:21 Charles McLachlan
  2019-10-31 10:23 ` [PATCH net-next v4 1/6] sfc: support encapsulation of xdp_frames in efx_tx_buffer Charles McLachlan
                   ` (8 more replies)
  0 siblings, 9 replies; 19+ messages in thread
From: Charles McLachlan @ 2019-10-31 10:21 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 in v4:
- Handle the failure to send some frames in efx_xdp_tx_buffers() properly.

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

Changes in v2:
- 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       |  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         |  92 +++++++++
 7 files changed, 572 insertions(+), 44 deletions(-)


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

end of thread, other threads:[~2019-11-03 17:25 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-31 10:21 [PATCH net-next v4 0/6] sfc: Add XDP support Charles McLachlan
2019-10-31 10:23 ` [PATCH net-next v4 1/6] sfc: support encapsulation of xdp_frames in efx_tx_buffer Charles McLachlan
2019-10-31 19:54   ` Jesper Dangaard Brouer
2019-10-31 10:23 ` [PATCH net-next v4 2/6] sfc: perform XDP processing on received packets Charles McLachlan
2019-10-31 19:59   ` Jesper Dangaard Brouer
2019-10-31 10:23 ` [PATCH net-next v4 3/6] sfc: Enable setting of xdp_prog Charles McLachlan
2019-10-31 20:00   ` Jesper Dangaard Brouer
2019-10-31 10:23 ` [PATCH net-next v4 4/6] sfc: allocate channels for XDP tx queues Charles McLachlan
2019-10-31 20:04   ` Jesper Dangaard Brouer
2019-10-31 10:24 ` [PATCH net-next v4 5/6] sfc: handle XDP_TX outcomes of XDP eBPF programs Charles McLachlan
2019-10-31 20:14   ` Jesper Dangaard Brouer
2019-10-31 10:24 ` [PATCH net-next v4 6/6] sfc: add XDP counters to ethtool stats Charles McLachlan
2019-10-31 20:13   ` Jesper Dangaard Brouer
2019-10-31 20:20     ` David Ahern
2019-10-31 18:42 ` [PATCH net-next v4 0/6] sfc: Add XDP support David Miller
2019-10-31 21:15 ` David Miller
2019-10-31 22:18 ` David Ahern
2019-11-01 10:07   ` Martin Habets
2019-11-03 17:24     ` David Ahern

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).