]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite882c3bda430771da59ea002c061b11cfeda9399
tree7c2eda4433a461a036410586a3ca31d27d46fb6a
parent14244b669a3d937ceb80ab520e79f135f933bf49
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