bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/6] stmmac: Add XDP support
@ 2021-03-30  2:49 Ong Boon Leong
  2021-03-30  2:49 ` [PATCH net-next v2 1/6] net: stmmac: set IRQ affinity hint for multi MSI vectors Ong Boon Leong
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Ong Boon Leong @ 2021-03-30  2:49 UTC (permalink / raw)
  To: Giuseppe Cavallaro, Alexandre Torgue, Jose Abreu,
	David S . Miller, Jakub Kicinski, Alexei Starovoitov,
	Daniel Borkmann, Jesper Dangaard Brouer, John Fastabend
  Cc: Maxime Coquelin, Andrii Nakryiko, Martin KaFai Lau, Song Liu,
	Yonghong Song, KP Singh, netdev, linux-stm32, linux-arm-kernel,
	linux-kernel, bpf, Ong Boon Leong

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


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

end of thread, other threads:[~2021-03-31  2:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-30  2:49 [PATCH net-next v2 0/6] stmmac: Add XDP support Ong Boon Leong
2021-03-30  2:49 ` [PATCH net-next v2 1/6] net: stmmac: set IRQ affinity hint for multi MSI vectors Ong Boon Leong
2021-03-30  2:49 ` [PATCH net-next v2 2/6] net: stmmac: make SPH enable/disable to be configurable Ong Boon Leong
2021-03-30  2:49 ` [PATCH net-next v2 3/6] net: stmmac: arrange Tx tail pointer update to stmmac_flush_tx_descriptors Ong Boon Leong
2021-03-30  2:49 ` [PATCH net-next v2 4/6] net: stmmac: Add initial XDP support Ong Boon Leong
2021-03-31  2:42   ` Jakub Kicinski
2021-03-30  2:49 ` [PATCH net-next v2 5/6] net: stmmac: Add support for XDP_TX action Ong Boon Leong
2021-03-31  2:48   ` Jakub Kicinski
2021-03-30  2:49 ` [PATCH net-next v2 6/6] net: stmmac: Add support for XDP_REDIRECT action Ong Boon Leong
2021-03-30 13:04 ` [PATCH net-next v2 0/6] stmmac: Add XDP support Jesper Dangaard Brouer
2021-03-30 14:04   ` Ong, Boon Leong

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