summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-04-18 16:55:35 +0200
committerDavid S. Miller <davem@davemloft.net>2017-04-20 15:32:30 -0400
commit93cd081305092929a8be1ebed9eb5bcbe54e4b7d (patch)
tree53da1c57ebd1ad2246c2ef6c11722cd24c30faf2 /include/linux
parentcedbb8b25948764689385075fce793e63fab9973 (diff)
downloadlinux-stable-93cd081305092929a8be1ebed9eb5bcbe54e4b7d.tar.gz
linux-stable-93cd081305092929a8be1ebed9eb5bcbe54e4b7d.tar.bz2
linux-stable-93cd081305092929a8be1ebed9eb5bcbe54e4b7d.zip
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions