]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit93b8ed41c3881ca02d6c772eb510445875bdaf64
tree52473d54554d44fbaf2b020fd203965b934ccaeb
parent7b3adc97fc666f1beee3bb203008d0604dc352c1
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