OSDN Git Service

Merge branch 'enetc-flow-control'
authorDavid S. Miller <davem@davemloft.net>
Mon, 19 Apr 2021 22:31:45 +0000 (15:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Apr 2021 22:31:45 +0000 (15:31 -0700)
Vladimir Oltean says:

====================
Flow control for NXP ENETC

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

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge