summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx4/en_port.h
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2011-12-13 04:10:33 +0000
committerDavid S. Miller <davem@davemloft.net>2011-12-13 13:56:05 -0500
commit623ed84b1f9553bc962c2aca92f488aa6f27ecd1 (patch)
treee83f5c25e071e3dcef12122166a1996c0027c612 /drivers/net/ethernet/mellanox/mlx4/en_port.h
parent9f048bfba15a22d1d1ce0c1f44567fa16bed4d25 (diff)
mlx4_core: initial header-file changes for SRIOV support
These changes will not affect module operation as yet. They are only to get some structs and enums in place for use by subsequent patches (making those smaller). Added here: * sriov state structs and inlines (mlx4_is_master/slave/mfunc) * comm-channel and vhcr support structures * enum values for new FW and comm-channel virtual commands (i.e., commands, passed via the comm channel to the PF-driver). * prototypes for many command wrapper functions (used by the PF context for processing FW commands passed to it by the VFs). * struct mlx4_eqe is moved from eq.c to mlx4.h (it will be used by other mlx4_core source files). Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/en_port.h')
-rw-r--r--drivers/net/ethernet/mellanox/mlx4/en_port.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/en_port.h b/drivers/net/ethernet/mellanox/mlx4/en_port.h
index 19eb244f5165..c1bb834414b5 100644
--- a/drivers/net/ethernet/mellanox/mlx4/en_port.h
+++ b/drivers/net/ethernet/mellanox/mlx4/en_port.h
@@ -40,12 +40,6 @@
#define SET_PORT_MC_PROMISC_SHIFT 30
enum {
- MLX4_CMD_SET_VLAN_FLTR = 0x47,
- MLX4_CMD_SET_MCAST_FLTR = 0x48,
- MLX4_CMD_DUMP_ETH_STATS = 0x49,
-};
-
-enum {
MCAST_DIRECT_ONLY = 0,
MCAST_DIRECT = 1,
MCAST_DEFAULT = 2