mlxsw: core: Add devlink port splitter callbacks
authorJiri Pirko <jiri@mellanox.com>
Fri, 26 Feb 2016 16:32:27 +0000 (17:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2016 21:07:30 +0000 (16:07 -0500)
commit284ef8035708334df99d038da1d3c7ddf77ec1bd
tree48d519b7fe57bfbca7ecba415bcaba7bcec58b74
parentc4745500e988b393189703bade6c3ec65194e24c
mlxsw: core: Add devlink port splitter callbacks

Add middle layer in mlxsw core code to forward port split/unsplit calls
into specific ASIC drivers.

Signed-off-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/core.c
drivers/net/ethernet/mellanox/mlxsw/core.h