[PATCH net-next v2 0/6] stmmac: Add XDP support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This is the v2 patch series for adding XDP support to stmmac driver.

Summary of the changes in v2:

1/6: Move IRQ affinity hint from dwmac-intel.c into stmmac_main.c inside
     stmmac_request_irq_multi_msi() and clear the IRQ affinity hint in
     stmmac_free_irq().
     Tested the patch with reloading the driver and confirmed that there
     is kernel warning during free_irq().

3/6: Fix build warning of unused variable found in
     https://patchwork.hopto.org/static/nipa/457321/12170149/build_32bit/stderr

4/6: Fix build warnig of unused variable found by lkp

There is no other patch changes in v2 for 2/6, 5/6 and 6/6 and the summary
for their changes are in v1 patch series:

 https://patchwork.kernel.org/project/netdevbpf/list/?series=457321

The v2 patch series are retested with the test steps listed in v1 and
the results looks good as per v1 patch series. The test are executed with
preempt-rt build and it also requires a fix that was sent to ML here:

 https://patchwork.kernel.org/project/netdevbpf/list/?series=457139

It will be great if community help test out these v2 patch series on your
platform and provide me feedback.

Thank you very much,
Boon Leong

Ong Boon Leong (6):
  net: stmmac: set IRQ affinity hint for multi MSI vectors
  net: stmmac: make SPH enable/disable to be configurable
  net: stmmac: arrange Tx tail pointer update to
    stmmac_flush_tx_descriptors
  net: stmmac: Add initial XDP support
  net: stmmac: Add support for XDP_TX action
  net: stmmac: Add support for XDP_REDIRECT action

 drivers/net/ethernet/stmicro/stmmac/Makefile  |   1 +
 drivers/net/ethernet/stmicro/stmmac/stmmac.h  |  35 +-
 .../net/ethernet/stmicro/stmmac/stmmac_main.c | 521 +++++++++++++++---
 .../net/ethernet/stmicro/stmmac/stmmac_xdp.c  |  40 ++
 .../net/ethernet/stmicro/stmmac/stmmac_xdp.h  |  12 +
 5 files changed, 530 insertions(+), 79 deletions(-)
 create mode 100644 drivers/net/ethernet/stmicro/stmmac/stmmac_xdp.c
 create mode 100644 drivers/net/ethernet/stmicro/stmmac/stmmac_xdp.h

-- 
2.25.1




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux