summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/mlx4.h
diff options
context:
space:
mode:
authorEugenia Emantayev <eugenia@mellanox.co.il>2011-12-13 04:16:38 +0000
committerDavid S. Miller <davem@davemloft.net>2011-12-13 13:56:07 -0500
commit5b4c4d36860ef1c411d0669ffc15090417a33389 (patch)
treeabd1a09a1f97cf41bc2e08c6bd505f3a632b393c /drivers/net/ethernet/mellanox/mlx4/mlx4.h
parentffe455ad04681f3fc48eef595fe526a795f809a3 (diff)
mlx4_en: Allow communication between functions on same host
To enable internal loopback, always fill DMAC in control segment when transmitting the packet, once this is done, the packet is subject for loopback for if the DMAC mathces one of the multicast/unicast addresses registered on the physical port. In receive path if source MAC is our own MAC and we are not in selftest, or not in force LB mode - drop this packet. Signed-off-by: Eugenia Emantayev <eugenia@mellanox.co.il> Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/mlx4.h')
0 files changed, 0 insertions, 0 deletions