When a network port is added to a bridge then the port is added in promisc mode. Some HW that has bridge capabilities(can learn, forward, flood etc the frames) they are disabling promisc mode in the network driver when the port is added to the SW bridge. This patch adds the feature NETIF_F_HW_BR_CAP so that the network ports that have this feature will not be set in promisc mode when they are added to a SW bridge. In this way the HW that has bridge capabilities don't need to send all the traffic to the CPU and can also implement the promisc mode and toggle it using the command 'ip link set dev swp promisc on' v1 -> v2 - rename feature to NETIF_F_HW_BR_CAP - add better description in the commit message and in the code - remove the check that all network driver have same netdev_ops and just check for the feature NETIF_F_HW_BR_CAP when setting the network port in promisc mode. Horatiu Vultur (3): net: Add NETIF_HW_BR_CAP feature net: mscc: Use NETIF_F_HW_BR_CAP net: mscc: Implement promisc mode. drivers/net/ethernet/mscc/ocelot.c | 26 ++++++++++++++++++++++++-- include/linux/netdev_features.h | 6 ++++++ net/bridge/br_if.c | 11 ++++++++++- net/core/ethtool.c | 1 + 4 files changed, 41 insertions(+), 3 deletions(-) -- 2.7.4