diff options
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | 2011-03-22 23:38:31 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-23 20:24:22 +0100 |
commit | 1679200f91da6a054b06954c9bd3eeed29b6731f (patch) | |
tree | a447268debe479a257cfff4c7e5e86151eef6583 /drivers/net/mlx4/mlx4_en.h | |
parent | mlx4: Add support for promiscuous mode in the new steering model. (diff) | |
download | linux-1679200f91da6a054b06954c9bd3eeed29b6731f.tar.xz linux-1679200f91da6a054b06954c9bd3eeed29b6731f.zip |
mlx4_en: Enabling new steering
The mlx4_en module now uses the new steering mechanism.
The RX packets are now steered through the MCG table instead
of Mac table for unicast, and default entry for multicast.
The feature is enabled through INIT_HCA
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mlx4/mlx4_en.h')
-rw-r--r-- | drivers/net/mlx4/mlx4_en.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mlx4/mlx4_en.h b/drivers/net/mlx4/mlx4_en.h index ad4df66750bc..5a2c56023668 100644 --- a/drivers/net/mlx4/mlx4_en.h +++ b/drivers/net/mlx4/mlx4_en.h @@ -458,6 +458,7 @@ struct mlx4_en_priv { struct mlx4_en_rss_map rss_map; u32 flags; #define MLX4_EN_FLAG_PROMISC 0x1 +#define MLX4_EN_FLAG_MC_PROMISC 0x2 u32 tx_ring_num; u32 rx_ring_num; u32 rx_skb_size; |