Skip to content

Flow control for NXP ENETC

Vladimir Oltean linux-arm-kernel linux-devicetree netdev 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesApplied 5/5

Patches in v1 All 5 applied

#Subject and filesSizeRepliesApplied
1/5net: enetc: create a common enetc_pf_to_port helperdrivers/net/ethernet/freescale/enetc/enetc.h drivers/net/ethernet/freescale/enetc/enetc_qos.c+22 -100 repliesApplied
2/5dt-bindings: net: fsl: enetc: add the IERB documentationDocumentation/devicetree/bindings/net/fsl-enetc.txt+15 -00 repliesApplied
3/5net: enetc: add a mini driver for the Integrated Endpoint Register Blockdrivers/net/ethernet/freescale/enetc/Kconfig drivers/net/ethernet/freescale/enetc/Makefile drivers/net/ethernet/freescale/enetc/enetc_ierb.c +2 more+221 -10 repliesApplied
4/5arm64: dts: ls1028a: declare the Integrated Endpoint Register Block nodearch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi+6 -00 repliesApplied
5/5net: enetc: add support for flow controldrivers/net/ethernet/freescale/enetc/enetc_ethtool.c drivers/net/ethernet/freescale/enetc/enetc_hw.h drivers/net/ethernet/freescale/enetc/enetc_pf.c+85 -21 replyApplied

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchClaudiu Manoil
1/5
2/5
3/5
4/5
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/5] Flow control for NXP ENETC

From: Vladimir Oltean <[email protected]>

This patch series contains logic for enabling the lossless mode on the RX rings of the ENETC, and the PAUSE thresholds on the internal FIFO memory.

During testing it was found that, with the default FIFO configuration, a sender which isn't persuaded by our PAUSE frames and keeps sending will cause some MAC RX frame errors. To mitigate this, we need to ensure that the FIFO never runs completely full, so we need to fix up a setting that was supposed to be configured well out of reset. Unfortunately this requires the addition of a new mini-driver.

Vladimir Oltean (5):
net: enetc: create a common enetc_pf_to_port helper
dt-bindings: net: fsl: enetc: add the IERB documentation
net: enetc: add a mini driver for the Integrated Endpoint Register
Block
arm64: dts: ls1028a: declare the Integrated Endpoint Register Block
node
net: enetc: add support for flow control

 .../devicetree/bindings/net/fsl-enetc.txt     |  15 ++
 .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi |   6 +
 drivers/net/ethernet/freescale/enetc/Kconfig  |   9 +
 drivers/net/ethernet/freescale/enetc/Makefile |   3 +
 drivers/net/ethernet/freescale/enetc/enetc.h  |  16 ++
 .../ethernet/freescale/enetc/enetc_ethtool.c  |  18 ++
 .../net/ethernet/freescale/enetc/enetc_hw.h   |   9 +
 .../net/ethernet/freescale/enetc/enetc_ierb.c | 155 ++++++++++++++++++
 .../net/ethernet/freescale/enetc/enetc_ierb.h |  20 +++
 .../net/ethernet/freescale/enetc/enetc_pf.c   |  95 ++++++++++-
 .../net/ethernet/freescale/enetc/enetc_qos.c  |  16 +-
 11 files changed, 349 insertions(+), 13 deletions(-)
 create mode 100644 drivers/net/ethernet/freescale/enetc/enetc_ierb.c
 create mode 100644 drivers/net/ethernet/freescale/enetc/enetc_ierb.h
Signature · 1 line
2.25.1