]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mlxsw: reg: Add lag_vid field to SFD register
authorIdo Schimmel <idosch@mellanox.com>
Tue, 15 Dec 2015 15:03:45 +0000 (16:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Dec 2015 16:58:24 +0000 (11:58 -0500)
commitafd7f979b27b6ae263d7d5c1e81ab02b8830eb74
tree0c3aa84637f8f2e4c85e0ccd3ea7b1ceb815986d
parent26f0e7fb15de53da4d3b1ac7d389525cccd6421a
mlxsw: reg: Add lag_vid field to SFD register

Unicast LAG records in the Switch Filtering Database (SFD) register have
a lag_vid field indicating the VLAN ID in case of vFIDs. This field is
no longer reserved since we are going to add support for VLAN devices on
top of LAG.

Add the lag_vid field to be used by VLAN devies on top of LAG.

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