linux/drivers/net/ethernet/marvell/mvpp2
Russell King e240b7dbb7 net: marvell: mvpp2: clear flow control modes in 10G mode
When mvpp2 configures the flow control modes in mvpp2_xlg_config() for
10G mode, it only ever set the flow control enable bits.  There is no
mechanism to clear these bits, which means that userspace is unable to
use standard APIs to disable flow control (the only way is to poke the
register directly.)

Fix the missing bit clearance to allow flow control to be disabled.
This means that, by default, as there is no negotiation in 10G modes
with mvpp2, flow control is now disabled rather than being rx-only.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-02-09 09:34:00 -08:00
..
Makefile net: mvpp2: add a debugfs interface for the Header Parser 2018-07-16 00:10:00 -07:00
mvpp2_cls.c net: mvpp2: debugfs: add classifier hit counters 2018-07-16 00:10:01 -07:00
mvpp2_cls.h net: mvpp2: debugfs: add classifier hit counters 2018-07-16 00:10:01 -07:00
mvpp2_debugfs.c net: mvpp2: debugfs: fix incorrect bitwise operator 2018-07-18 10:55:42 -07:00
mvpp2_main.c net: marvell: mvpp2: clear flow control modes in 10G mode 2019-02-09 09:34:00 -08:00
mvpp2_prs.c net: mvpp2: debugfs: add hit counter stats for Header Parser entries 2018-07-16 00:10:01 -07:00
mvpp2_prs.h net: mvpp2: debugfs: add hit counter stats for Header Parser entries 2018-07-16 00:10:01 -07:00
mvpp2.h net: marvell: mvpp2: read correct pause bits 2019-02-08 23:08:39 -08:00