aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/en_port.h
diff options
context:
space:
mode:
authorEli Cohen <eli@mellanox.co.il>2010-10-21 12:39:08 -0700
committerRoland Dreier <rolandd@cisco.com>2010-10-25 10:20:39 -0700
commit7ac870ed7d2316587ec06747c28cb9f44f67997d (patch)
tree61de0d5744ef60798745842885b3afdd9ecf88ac /drivers/net/mlx4/en_port.h
parentmlx4_core: Update data structures and constants for IBoE (diff)
downloadlinux-dev-7ac870ed7d2316587ec06747c28cb9f44f67997d.tar.xz
linux-dev-7ac870ed7d2316587ec06747c28cb9f44f67997d.zip
mlx4_en: Change multicast promiscuous mode to support IBoE
Change multicast promiscuous mode to pass packets through the multicast group distribution table before sending packets that miss to the default multicast QP. Signed-off-by: Eli Cohen <eli@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to '')
-rw-r--r--drivers/net/mlx4/en_port.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/mlx4/en_port.h b/drivers/net/mlx4/en_port.h
index e6477f12beb5..935489120400 100644
--- a/drivers/net/mlx4/en_port.h
+++ b/drivers/net/mlx4/en_port.h
@@ -36,7 +36,8 @@
#define SET_PORT_GEN_ALL_VALID 0x7
-#define SET_PORT_PROMISC_SHIFT 31
+#define SET_PORT_PROMISC_EN_SHIFT 31
+#define SET_PORT_PROMISC_MODE_SHIFT 30
enum {
MLX4_CMD_SET_VLAN_FLTR = 0x47,