mbox series

[net-next,0/8,pull,request] 1GbE Intel Wired LAN Driver Updates 2021-03-29

Message ID 20210329170931.2356162-1-anthony.l.nguyen@intel.com (mailing list archive)
Headers show
Series 1GbE Intel Wired LAN Driver Updates 2021-03-29 | expand

Message

Tony Nguyen March 29, 2021, 5:09 p.m. UTC
This series contains updates to igc driver only.

Andre Guedes says:

Add 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 4, 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 5 to 8).

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.

The following are changes since commit 9d0365448b5b954bba1b551ade5b273d629446bb:
  net: moxa: remove redundant dev_err call in moxart_mac_probe()
and are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 1GbE

Andre Guedes (8):
  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 set/clear large buffer helpers
  igc: Add initial XDP support
  igc: Add support for XDP_TX action
  igc: Add support for XDP_REDIRECT action

 drivers/net/ethernet/intel/igc/Makefile   |   2 +-
 drivers/net/ethernet/intel/igc/igc.h      |  18 +-
 drivers/net/ethernet/intel/igc/igc_main.c | 458 +++++++++++++++++++---
 drivers/net/ethernet/intel/igc/igc_ptp.c  |  25 +-
 drivers/net/ethernet/intel/igc/igc_xdp.c  |  60 +++
 drivers/net/ethernet/intel/igc/igc_xdp.h  |  13 +
 6 files changed, 496 insertions(+), 80 deletions(-)
 create mode 100644 drivers/net/ethernet/intel/igc/igc_xdp.c
 create mode 100644 drivers/net/ethernet/intel/igc/igc_xdp.h

Comments

patchwork-bot+netdevbpf@kernel.org March 29, 2021, 11:40 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Mon, 29 Mar 2021 10:09:23 -0700 you wrote:
> This series contains updates to igc driver only.
> 
> Andre Guedes says:
> 
> Add 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.
> 
> [...]

Here is the summary with links:
  - [net-next,1/8] igc: Remove unused argument from igc_tx_cmd_type()
    https://git.kernel.org/netdev/net-next/c/2f019ebd5330
  - [net-next,2/8] igc: Introduce igc_rx_buffer_flip() helper
    https://git.kernel.org/netdev/net-next/c/613cf199fd10
  - [net-next,3/8] igc: Introduce igc_get_rx_frame_truesize() helper
    https://git.kernel.org/netdev/net-next/c/a39f5e530559
  - [net-next,4/8] igc: Refactor Rx timestamp handling
    https://git.kernel.org/netdev/net-next/c/e1ed4f92a625
  - [net-next,5/8] igc: Add set/clear large buffer helpers
    https://git.kernel.org/netdev/net-next/c/1bf33f71f981
  - [net-next,6/8] igc: Add initial XDP support
    https://git.kernel.org/netdev/net-next/c/26575105d6ed
  - [net-next,7/8] igc: Add support for XDP_TX action
    https://git.kernel.org/netdev/net-next/c/73f1071c1d29
  - [net-next,8/8] igc: Add support for XDP_REDIRECT action
    https://git.kernel.org/netdev/net-next/c/4ff320361092

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html