diff options
author | Xiaoliang Yang <xiaoliang.yang_1@nxp.com> | 2020-09-24 04:57:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-25 06:00:40 +0300 |
commit | dba1e4660a87927bdc03c23e36fd2c81a16a7ab1 (patch) | |
tree | 030378c845d0ffe34607b8bb66d290c2c64c1af8 /include/soc/mscc/ocelot_ana.h | |
parent | f68910a8056f9451ee9fe7e1b962f7d90d326ad3 (diff) | |
download | linux-dba1e4660a87927bdc03c23e36fd2c81a16a7ab1.tar.xz |
net: dsa: felix: convert TAS link speed based on phylink speed
state->speed holds a value of 10, 100, 1000 or 2500, but
QSYS_TAG_CONFIG_LINK_SPEED expects a value of 0, 1, 2, 3. So convert the
speed to a proper value.
Fixes: de143c0e274b ("net: dsa: felix: Configure Time-Aware Scheduler via taprio offload")
Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/soc/mscc/ocelot_ana.h')
0 files changed, 0 insertions, 0 deletions