netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/9] net/mlx4_en: Add support for unicast MAC filtering and FDB operations
@ 2013-02-07 12:25 Amir Vadai
  2013-02-07 12:25 ` [PATCH net-next v2 1/9] net/mlx4_en: Optimize loopback related checks in data path Amir Vadai
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Amir Vadai @ 2013-02-07 12:25 UTC (permalink / raw)
  To: David S. Miller; +Cc: Amir Vadai, Or Gerlitz, Yan Burman, netdev

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()

Yan Burman (9):
  net/mlx4_en: Optimize loopback related checks in data path
  net/mlx4_en: Optimize Rx fast path filter checks
  net/mlx4_en: Cleanup multiline strings
  net/mlx4: Move Ethernet related functionality from mlx4_core to
    mlx4_en
  net/mlx4_en: Re-arrange ndo_set_rx_mode related code
  net/mlx4_en: Save previous MAC address of the port so we can replace
    it later
  net/mlx4_en: Manage hash of MAC addresses per port
  net/mlx4_en: Add unicast MAC filtering
  net/mlx4_en: Implement ndo fdb functionality

 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c  |    9 +-
 drivers/net/ethernet/mellanox/mlx4/en_main.c     |   22 +
 drivers/net/ethernet/mellanox/mlx4/en_netdev.c   |  765 +++++++++++++++++-----
 drivers/net/ethernet/mellanox/mlx4/en_rx.c       |   53 +-
 drivers/net/ethernet/mellanox/mlx4/en_selftest.c |    3 +
 drivers/net/ethernet/mellanox/mlx4/en_tx.c       |    2 +-
 drivers/net/ethernet/mellanox/mlx4/main.c        |    5 +-
 drivers/net/ethernet/mellanox/mlx4/mlx4.h        |    7 -
 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h     |   33 +-
 drivers/net/ethernet/mellanox/mlx4/port.c        |  193 +------
 include/linux/mlx4/device.h                      |    5 +-
 11 files changed, 709 insertions(+), 388 deletions(-)

-- 
1.7.8.2

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-02-08  4:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-07 12:25 [PATCH net-next v2 0/9] net/mlx4_en: Add support for unicast MAC filtering and FDB operations Amir Vadai
2013-02-07 12:25 ` [PATCH net-next v2 1/9] net/mlx4_en: Optimize loopback related checks in data path Amir Vadai
2013-02-07 12:25 ` [PATCH net-next v2 2/9] net/mlx4_en: Optimize Rx fast path filter checks Amir Vadai
2013-02-07 12:25 ` [PATCH net-next v2 3/9] net/mlx4_en: Cleanup multiline strings Amir Vadai
2013-02-07 12:25 ` [PATCH net-next v2 4/9] net/mlx4: Move Ethernet related functionality from mlx4_core to mlx4_en Amir Vadai
2013-02-07 12:25 ` [PATCH net-next v2 5/9] net/mlx4_en: Re-arrange ndo_set_rx_mode related code Amir Vadai
2013-02-07 12:25 ` [PATCH net-next v2 6/9] net/mlx4_en: Save previous MAC address of the port so we can replace it later Amir Vadai
2013-02-07 12:25 ` [PATCH net-next v2 7/9] net/mlx4_en: Manage hash of MAC addresses per port Amir Vadai
2013-02-07 12:25 ` [PATCH net-next v2 8/9] net/mlx4_en: Add unicast MAC filtering Amir Vadai
2013-02-07 12:25 ` [PATCH net-next v2 9/9] net/mlx4_en: Implement ndo fdb functionality Amir Vadai
2013-02-08  4:27 ` [PATCH net-next v2 0/9] net/mlx4_en: Add support for unicast MAC filtering and FDB operations David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).