OSDN Git Service

mlxsw: spectrum: Add port type-speed operations
authorShalom Toledo <shalomt@mellanox.com>
Fri, 22 Feb 2019 13:56:40 +0000 (13:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Feb 2019 21:54:36 +0000 (13:54 -0800)
commitc5b870df694051776c9d43179d1f4240e039c095
tree304cc602cc99522a4261b5645f675ca5d7a22c44
parent88a4281200ff8022ebf8f69ce2bb7b528ec24d3a
mlxsw: spectrum: Add port type-speed operations

Add port type-speed operations in order to have different operations for
different ASICs. For now, both ASICs use the same pointer.

Signed-off-by: Shalom Toledo <shalomt@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/spectrum.h