]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Remove unnecessary check in FDB processing
authorIdo Schimmel <idosch@mellanox.com>
Wed, 24 Aug 2016 10:00:28 +0000 (12:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Aug 2016 16:41:12 +0000 (09:41 -0700)
commit3c3949728710ade5573dfe6de82ee18843029c8a
tree29270397bf5186ff401e4c57db0935a8352a77ac
parent37c216bd3b7a9050532510585eea2b5d75e0a74d
mlxsw: spectrum: Remove unnecessary check in FDB processing

We now offload the learning configuration to the device and don't rely
on the driver to decide whether to learn the FDB record, so remove the
check.

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/spectrum_switchdev.c