aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2015-12-15 16:03:42 +0100
committerDavid S. Miller <[email protected]>2015-12-15 11:58:22 -0500
commitaac78a44088728f0712eaea74fbb2493e12080dd (patch)
tree1c3f35c84b52343972d1d2c688d20a472d7f96a0 /scripts/objdiff
parent54a732018d8e016e899817eda4af517729e0571c (diff)
mlxsw: spectrum: Adjust FDB notifications for VLAN devices
FDB notifications contain the FID and port (or LAG ID) on which the MAC was learned. In the case of the 802.1Q bridge one can easily derive the matching VID - as FID equals VID - and generate the appropriate notification for the software bridge. With VLAN devices this is no longer the case, as these are associated with a vFID. Solve that by converting the FID to a vFID and lookup the matching VLAN device. From that derive the VID and whether learning (and learning sync) should occur. Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions