Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] [PATCH 0/9] igc: Add XDP support
@ 2020-10-09  2:53 Andre Guedes
  2020-10-09  2:53 ` [Intel-wired-lan] [PATCH 1/9] igc: Fix igc_ptp_rx_pktstamp() Andre Guedes
                   ` (8 more replies)
  0 siblings, 9 replies; 20+ messages in thread
From: Andre Guedes @ 2020-10-09  2:53 UTC (permalink / raw)
  To: intel-wired-lan

Hi all,

This patch series adds XDP support for the igc driver. The approach implemented
by this series follows the same approach implemented in other Intel drivers as
much as possible for the sake of consistency.

The series is organized in two parts. In the first part, i.e. patches from 1 to
5, igc_main.c and igc_ptp.c code is refactored in preparation for landing the
XDP support, which is introduced in the second part (patches from 6 to 9).

As far as code organization is concerned, XDP-related helpers are defined in a
new file, igc_xdp.c, and are called by igc_main.c.

The features added by this series have been tested with the samples provided in
samples/bpf/: xdp1, xdp2, xdp_redirect_cpu, and xdp_redirect_map.

Upcoming series will add support of UMEM and zero-copy features from AF_XDP.

Best regards,
Andre

Andre Guedes (9):
  igc: Fix igc_ptp_rx_pktstamp()
  igc: Remove unused argument from igc_tx_cmd_type()
  igc: Introduce igc_rx_buffer_flip() helper
  igc: Introduce igc_get_rx_frame_truesize() helper
  igc: Refactor rx timestamp handling
  igc: Add Initial XDP support
  igc: Add support for XDP_TX action
  igc: Add support for XDP_REDIRECT action
  igc: Implement ndo_xdp_xmit callback

 drivers/net/ethernet/intel/igc/Makefile   |   2 +-
 drivers/net/ethernet/intel/igc/igc.h      |  18 +-
 drivers/net/ethernet/intel/igc/igc_main.c | 280 +++++++++++++++++-----
 drivers/net/ethernet/intel/igc/igc_ptp.c  |  87 ++++---
 drivers/net/ethernet/intel/igc/igc_xdp.c  | 202 ++++++++++++++++
 drivers/net/ethernet/intel/igc/igc_xdp.h  |  27 +++
 6 files changed, 516 insertions(+), 100 deletions(-)
 create mode 100644 drivers/net/ethernet/intel/igc/igc_xdp.c
 create mode 100644 drivers/net/ethernet/intel/igc/igc_xdp.h

-- 
2.26.2


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

end of thread, other threads:[~2020-10-22 18:04 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-09  2:53 [Intel-wired-lan] [PATCH 0/9] igc: Add XDP support Andre Guedes
2020-10-09  2:53 ` [Intel-wired-lan] [PATCH 1/9] igc: Fix igc_ptp_rx_pktstamp() Andre Guedes
2020-10-21 13:50   ` Maciej Fijalkowski
2020-10-21 22:16     ` Andre Guedes
2020-10-09  2:53 ` [Intel-wired-lan] [PATCH 2/9] igc: Remove unused argument from igc_tx_cmd_type() Andre Guedes
2020-10-09  2:53 ` [Intel-wired-lan] [PATCH 3/9] igc: Introduce igc_rx_buffer_flip() helper Andre Guedes
2020-10-09  2:53 ` [Intel-wired-lan] [PATCH 4/9] igc: Introduce igc_get_rx_frame_truesize() helper Andre Guedes
2020-10-09  2:53 ` [Intel-wired-lan] [PATCH 5/9] igc: Refactor rx timestamp handling Andre Guedes
2020-10-09  2:53 ` [Intel-wired-lan] [PATCH 6/9] igc: Add Initial XDP support Andre Guedes
2020-10-21 14:23   ` Maciej Fijalkowski
2020-10-21 22:16     ` Andre Guedes
2020-10-22  9:53       ` Maciej Fijalkowski
2020-10-22 18:04         ` Andre Guedes
2020-10-09  2:53 ` [Intel-wired-lan] [PATCH 7/9] igc: Add support for XDP_TX action Andre Guedes
2020-10-21 14:57   ` Maciej Fijalkowski
2020-10-21 22:17     ` Andre Guedes
2020-10-22 10:10       ` Maciej Fijalkowski
2020-10-22 18:04         ` Andre Guedes
2020-10-09  2:53 ` [Intel-wired-lan] [PATCH 8/9] igc: Add support for XDP_REDIRECT action Andre Guedes
2020-10-09  2:53 ` [Intel-wired-lan] [PATCH 9/9] igc: Implement ndo_xdp_xmit callback Andre Guedes

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