net/mlx4_en: adding loopback support
authorAmir Vadai <amirv@mellanox.co.il>
Sat, 26 Nov 2011 19:55:19 +0000 (19:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Nov 2011 22:17:04 +0000 (17:17 -0500)
commit60d6fe99e4a507f77b63c090eb8aacb67e21687a
tree52473d54554d44fbaf2b020fd203965b934ccaeb
parent559a9f1d354b577af28f84181751820ff7d29feb
net/mlx4_en: adding loopback support

Device must be in promiscuous mode or DMAC must be same as the host MAC, or
else packet will be dropped by the HW rx filtering.

Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
drivers/net/ethernet/mellanox/mlx4/en_tx.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
include/linux/mlx4/qp.h