aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAmir Vadai <amirv@mellanox.co.il>2011-11-26 14:55:19 -0500
committerDavid S. Miller <davem@davemloft.net>2011-11-27 17:17:04 -0500
commit60d6fe99e4a507f77b63c090eb8aacb67e21687a (patch)
tree52473d54554d44fbaf2b020fd203965b934ccaeb /include
parent559a9f1d354b577af28f84181751820ff7d29feb (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mlx4/qp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx4/qp.h b/include/linux/mlx4/qp.h
index 6562ff6aa9d6..bee8fa231276 100644
--- a/include/linux/mlx4/qp.h
+++ b/include/linux/mlx4/qp.h
@@ -210,6 +210,7 @@ struct mlx4_wqe_ctrl_seg {
210 * [4] IP checksum 210 * [4] IP checksum
211 * [3:2] C (generate completion queue entry) 211 * [3:2] C (generate completion queue entry)
212 * [1] SE (solicited event) 212 * [1] SE (solicited event)
213 * [0] FL (force loopback)
213 */ 214 */
214 __be32 srcrb_flags; 215 __be32 srcrb_flags;
215 /* 216 /*