From: David S. Miller Date: Fri, 8 Feb 2013 04:28:32 +0000 (-0500) Subject: Merge branch 'mlx4' X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2de27f307feda26ef364f2407b70e3ca02a3ce56;p=openwrt%2Fstaging%2Fblogic.git Merge branch 'mlx4' Amir Vadai says: ==================== This series from Yan Burman adds support for unicast MAC address filtering and ndo FDB operations. It also includes some optimizations to loopback related decisions and checks in the TX/RX fast path and one cleanup, all in separate patches. Today, when adding macvlan devices, the NIC goes into promiscuous mode, since unicast MAC filtering is not supported. With these changes, macvlan devices can be added without the penalty of promiscuous mode. If for some reason adding a unicast address filter fails e.g as of missing space in the HW mac table, the device forces itself into promiscuous mode (and out of this forced state when enough space is available). Also, now it is possible to have bridge under multi-function configuration that include PF and VFs. In order to use bridge over PF/VFs, VM MAC fdb entries must be added e.g. using 'bridge fdb add' command. Changes from v1 - based on more comments from Eric Dumazet: * added failure handling when adding unicast address filter Changes from v0 - based on comments from Eric Dumazet: * Removed unneeded synchronize_rcu() * Use kfree_rcu() instead of synchronize_rcu() + kfree() ==================== Signed-off-by: David S. Miller --- 2de27f307feda26ef364f2407b70e3ca02a3ce56