[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210416234225.3715819-1-olteanv@gmail.com>
Date: Sat, 17 Apr 2021 02:42:20 +0300
From: Vladimir Oltean <olteanv@...il.com>
To: Jakub Kicinski <kuba@...nel.org>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
Po Liu <po.liu@....com>
Cc: Claudiu Manoil <claudiu.manoil@....com>,
Alex Marginean <alexandru.marginean@....com>,
Rob Herring <robh+dt@...nel.org>,
Shawn Guo <shawnguo@...nel.org>,
linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
Russell King - ARM Linux admin <linux@...linux.org.uk>,
Andrew Lunn <andrew@...n.ch>, Michael Walle <michael@...le.cc>,
Vladimir Oltean <vladimir.oltean@....com>
Subject: [PATCH net-next 0/5] Flow control for NXP ENETC
From: Vladimir Oltean <vladimir.oltean@....com>
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
--
2.25.1
Powered by blists - more mailing lists