aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorRussell King <[email protected]>2019-02-09 16:06:51 +0000
committerDavid S. Miller <[email protected]>2019-02-09 09:34:00 -0800
commite240b7dbb73c4d5a2997356992a3cfe3ff99951a (patch)
treecf3c01ba1e908e1034c4d1cf92d9c4f351fb314a /tools/perf/scripts/python/netdev-times.py
parentefbdfdc29bdd4dbf79ad4bddc8f7a5ac62c66bfe (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions