summaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/en_port.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/mlx4/en_port.h')
-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 f6511aa2b7d..092e814b198 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,