net/mlx4_en: Manage hash of MAC addresses per port
authorYan Burman <yanb@mellanox.com>
Thu, 7 Feb 2013 02:25:25 +0000 (02:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2013 04:26:13 +0000 (23:26 -0500)
commitc07cb4b0ab78f279ea94c3b4661cad86eb02a5d9
tree7c2eda4433a461a036410586a3ca31d27d46fb6a
parent90bbb74af68b3255bc298731f8b60d5668877306
net/mlx4_en: Manage hash of MAC addresses per port

As a preparation step for supporting multiple unicast addresses, store MAC addresses in hash table.
Remove the radix tree for MAC addresses per QP, as it's not in use.

Signed-off-by: Yan Burman <yanb@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
drivers/net/ethernet/mellanox/mlx4/en_rx.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h