aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2020-07-05 19:16:24 +0300
committerDavid S. Miller <[email protected]>2020-07-05 15:25:58 -0700
commit151a7cee728a89d909096f552108692905b66aaa (patch)
tree640d04cb81b5a6f9984c94cb71d1aaf926018df1 /tools/testing/selftests/bpf/prog_tests/autoload.c
parentda1c4ba1f741ee8f7a7f88d52bc2482fae26200d (diff)
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 <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions