aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/resources.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2019-10-31 11:42:15 +0200
committerDavid S. Miller <davem@davemloft.net>2019-10-31 10:54:47 -0700
commitd0846ce9aa9096e53e532a1c36c57efe63509b26 (patch)
treeabf7c142f1f34b6dde164b202806bb0ec9ce1ba9 /drivers/net/ethernet/mellanox/mlxsw/resources.h
parentmlxsw: spectrum: Add sanity checks into module info get (diff)
downloadlinux-dev-d0846ce9aa9096e53e532a1c36c57efe63509b26.tar.xz
linux-dev-d0846ce9aa9096e53e532a1c36c57efe63509b26.zip
mlxsw: spectrum: Push getting offsets of split ports into a helper
Get local port offsets of split port in a separate helper function and use it in both split and unsplit function. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Shalom Toledo <shalomt@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/resources.h')
0 files changed, 0 insertions, 0 deletions