linux_dsm_epyc7002/drivers/net/ethernet/mellanox
Jiri Pirko 93cd081305 mlxsw: spectrum: Teach mlxsw_sp_port_vlan_set to accept any vlan range
So far, mlxsw_sp_port_vlan_set range is limited by
MLXSW_REG_SPVM_REC_MAX_COUNT. In spectrum_switchdev code this is
wrapped up by a helper function which actually does multiple calls
to FW for bigger ranges. Move the code into mlxsw_sp_port_vlan_set
and use it always. That allows caller not to care about the range.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-04-20 15:32:30 -04:00
..
mlx4 net/mlx4: suppress 'may be used uninitialized' warning 2017-04-20 13:19:21 -04:00
mlx5/core net/mlx5e: E-switch vport manager is valid for ethernet only 2017-04-17 11:08:32 -04:00
mlxsw mlxsw: spectrum: Teach mlxsw_sp_port_vlan_set to accept any vlan range 2017-04-20 15:32:30 -04:00
Kconfig mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00
Makefile mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00