]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Disable MAC learning for ovs port
authorYuval Mintz <yuvalm@mellanox.com>
Fri, 15 Dec 2017 07:44:21 +0000 (08:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2017 15:47:36 +0000 (10:47 -0500)
commit2007732730b096df6654901098f1dbfab32e8919
tree3728e8371480245224140af5e5f43670dffc3d06
parent435980621a2f2392bf182b14886d91cf928a05c3
mlxsw: spectrum: Disable MAC learning for ovs port

Learning is currently enabled for ports which are OVS slaves -
even though OVS doesn't need this indication.
Since we're not associating a fid with the port, HW would continuously
notify driver of learned [& aged] MACs which would be logged as errors.

Fixes: 3be28a8a6606 ("mlxsw: spectrum: Allow ports to work under OVS master")
Signed-off-by: Yuval Mintz <yuvalm@mellanox.com>
Reviewed-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/spectrum.c