Skip to content

add support for multiple queues/channels in stmmac

Joao Pinto netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v13 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: stmicro: prepare dwmac4 core for mtlDocumentation/devicetree/bindings/net/stmmac.txt drivers/net/ethernet/stmicro/stmmac/common.h drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c +7 more+445 -513 replies
2/3net: stmicro: prepare dwmac4 dma for mtldrivers/net/ethernet/stmicro/stmmac/common.h drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c +8 more+700 -2680 replies
3/3net: stmicro: multiple buffer supportdrivers/net/ethernet/stmicro/stmmac/chain_mode.c drivers/net/ethernet/stmicro/stmmac/ring_mode.c drivers/net/ethernet/stmicro/stmmac/stmmac.h +1 more+990 -4730 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH net-next v2 0/3] add support for multiple queues/channels in stmmac

This patch-set was built in order to be easy for a developer to have a clear view of what was done to add multiple queues/channels to stmmac. It shows a progressive work starting in an initial mac functions upgrade, followed by dma related functions upgrade and finally introcuding the multiple buffers.

Some of the functions had to be broken in RX and TX related, in order to enable separated treatment, since the number of RX queues can be different from the number of TX queues for example.

Each patch and the final patch-set were tested using a 4.21 EQOS IP Core.

Joao Pinto (3):
net: stmicro: prepare dwmac4 core for mtl
net: stmicro: prepare dwmac4 dma for mtl
net: stmicro: multiple buffer support

 Documentation/devicetree/bindings/net/stmmac.txt   |   11 +
 drivers/net/ethernet/stmicro/stmmac/chain_mode.c   |   44 +-
 drivers/net/ethernet/stmicro/stmmac/common.h       |   89 +-
 .../net/ethernet/stmicro/stmmac/dwmac1000_core.c   |    6 +-
 .../net/ethernet/stmicro/stmmac/dwmac1000_dma.c    |   16 +-
 .../net/ethernet/stmicro/stmmac/dwmac100_core.c    |    3 +-
 drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c |   19 +-
 drivers/net/ethernet/stmicro/stmmac/dwmac4.h       |   49 +-
 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c  |  194 +-
 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c   |  297 ++-
 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h   |   25 +-
 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c   |   58 +-
 drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h    |   15 +-
 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c    |   14 +-
 drivers/net/ethernet/stmicro/stmmac/ring_mode.c    |   47 +-
 drivers/net/ethernet/stmicro/stmmac/stmmac.h       |   47 +-
 .../net/ethernet/stmicro/stmmac/stmmac_ethtool.c   |   25 +-
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c  | 1961 ++++++++++++++------
 .../net/ethernet/stmicro/stmmac/stmmac_platform.c  |   33 +
 include/linux/stmmac.h                             |    8 +
 20 files changed, 2152 insertions(+), 809 deletions(-)
Signature · 1 line
2.9.3