diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2020-07-05 19:16:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-06 01:25:58 +0300 |
commit | 151a7cee728a89d909096f552108692905b66aaa (patch) | |
tree | 640d04cb81b5a6f9984c94cb71d1aaf926018df1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | da1c4ba1f741ee8f7a7f88d52bc2482fae26200d (diff) | |
download | linux-151a7cee728a89d909096f552108692905b66aaa.tar.xz |
net: dsa: felix: set proper pause frame timers based on link speed
state->speed holds a value of 10, 100, 1000 or 2500, but
SYS_MAC_FC_CFG_FC_LINK_SPEED expects a value in the range 0, 1, 2 or 3.
So set the correct speed encoding into this register.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions