linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/7] net: stmmac: FPE via ethtool + tc
@ 2024-08-19  7:25 Furong Xu
  2024-08-19  7:25 ` [PATCH net-next v3 1/7] net: stmmac: move stmmac_fpe_cfg to stmmac_priv data Furong Xu
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Furong Xu @ 2024-08-19  7:25 UTC (permalink / raw)
  To: Serge Semin, Andrew Lunn, Vladimir Oltean, David S. Miller,
	Alexandre Torgue, Jose Abreu, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Maxime Coquelin, Joao Pinto
  Cc: netdev, linux-stm32, linux-arm-kernel, linux-kernel, xfr,
	Furong Xu

Move the Frame Preemption(FPE) over to the new standard API which uses
ethtool-mm/tc-mqprio/tc-taprio.

Changes in v3:
  1. avoid races among ISR, workqueue, link update and
  register configuration.
  2. update FPE verification retry logic, so it retries
  and fails as expected.

Changes in v2:
  1. refactor FPE verification processe
  2. suspend/resume and kselftest-ethtool_mm, all test cases passed
  3. handle TC:TXQ remapping for DWMAC CORE4+

Furong Xu (7):
  net: stmmac: move stmmac_fpe_cfg to stmmac_priv data
  net: stmmac: drop stmmac_fpe_handshake
  net: stmmac: refactor FPE verification processe
  net: stmmac: configure FPE via ethtool-mm
  net: stmmac: support fp parameter of tc-mqprio
  net: stmmac: support fp parameter of tc-taprio
  net: stmmac: silence FPE kernel logs

 .../net/ethernet/stmicro/stmmac/dwmac4_core.c |  10 +-
 drivers/net/ethernet/stmicro/stmmac/dwmac5.c  |  96 ++++++++-
 drivers/net/ethernet/stmicro/stmmac/dwmac5.h  |  11 +-
 .../ethernet/stmicro/stmmac/dwxgmac2_core.c   |   4 +-
 drivers/net/ethernet/stmicro/stmmac/hwif.h    |  20 +-
 drivers/net/ethernet/stmicro/stmmac/stmmac.h  |  25 +++
 .../ethernet/stmicro/stmmac/stmmac_ethtool.c  | 107 ++++++++++
 .../net/ethernet/stmicro/stmmac/stmmac_main.c | 192 +++++++++---------
 .../net/ethernet/stmicro/stmmac/stmmac_tc.c   | 115 +++++++----
 include/linux/stmmac.h                        |  28 ---
 10 files changed, 430 insertions(+), 178 deletions(-)

-- 
2.34.1



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

end of thread, other threads:[~2024-08-19 12:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-19  7:25 [PATCH net-next v3 0/7] net: stmmac: FPE via ethtool + tc Furong Xu
2024-08-19  7:25 ` [PATCH net-next v3 1/7] net: stmmac: move stmmac_fpe_cfg to stmmac_priv data Furong Xu
2024-08-19 12:38   ` Serge Semin
2024-08-19  7:25 ` [PATCH net-next v3 2/7] net: stmmac: drop stmmac_fpe_handshake Furong Xu
2024-08-19  7:25 ` [PATCH net-next v3 3/7] net: stmmac: refactor FPE verification processe Furong Xu
2024-08-19 11:31   ` Vladimir Oltean
2024-08-19  7:25 ` [PATCH net-next v3 4/7] net: stmmac: configure FPE via ethtool-mm Furong Xu
2024-08-19  7:25 ` [PATCH net-next v3 5/7] net: stmmac: support fp parameter of tc-mqprio Furong Xu
2024-08-19  7:25 ` [PATCH net-next v3 6/7] net: stmmac: support fp parameter of tc-taprio Furong Xu
2024-08-19 11:42   ` Vladimir Oltean
2024-08-19  7:25 ` [PATCH net-next v3 7/7] net: stmmac: silence FPE kernel logs Furong Xu
2024-08-19 11:40   ` Vladimir Oltean

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