]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commitfccff0862838908d21eaf956d57e09c6c189f7c5
tree3728e8371480245224140af5e5f43670dffc3d06
parent8c8f67a46f2bf33556ad12a1971734047b60831a
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: 2b94e58df58c ("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