summaryrefslogtreecommitdiffstats
path: root/sys/ofed/drivers/net/mlx4/en_port.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ofed/drivers/net/mlx4/en_port.h')
-rw-r--r--sys/ofed/drivers/net/mlx4/en_port.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/ofed/drivers/net/mlx4/en_port.h b/sys/ofed/drivers/net/mlx4/en_port.h
index a9e2e24..5319814 100644
--- a/sys/ofed/drivers/net/mlx4/en_port.h
+++ b/sys/ofed/drivers/net/mlx4/en_port.h
@@ -39,11 +39,7 @@
#define SET_PORT_PROMISC_EN_SHIFT 31
#define SET_PORT_PROMISC_MODE_SHIFT 30
-enum {
- MLX4_CMD_SET_VLAN_FLTR = 0x47,
- MLX4_CMD_SET_MCAST_FLTR = 0x48,
- MLX4_CMD_DUMP_ETH_STATS = 0x49,
-};
+#if 0 //moved to port.c - shahark
struct mlx4_set_port_general_context {
u8 reserved[3];
@@ -72,6 +68,7 @@ struct mlx4_set_port_rqp_calc_context {
__be32 promisc;
__be32 mcast;
};
+#endif
#define VLAN_FLTR_SIZE 128
struct mlx4_set_vlan_fltr_mbox {
OpenPOWER on IntegriCloud