summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2020-09-13 18:46:08 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-14 14:37:30 -0700
commit3232e8c66e72585073fb01fefc92f9d5b0e71e0c (patch)
tree71e3740c97fc66f8a001c6c6c20bbfa470d6ad49 /drivers/net/dsa/dsa_loop.c
parent2ecf87ae6cce1fe718b663a034ee9de0b028b7e2 (diff)
mlxsw: spectrum: Keep maximum speed around
The maximum port speed depends on link modes supported by the port, and for Ethernet ports is constant. The maximum speed will be handy when setting SBIB, the internal buffer used for traffic mirroring. Therefore, keep it in struct mlxsw_sp_port for easy access. Signed-off-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions