aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/mlx4.h
diff options
context:
space:
mode:
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>2011-03-22 18:38:31 -0400
committerDavid S. Miller <davem@davemloft.net>2011-03-23 15:24:22 -0400
commit1679200f91da6a054b06954c9bd3eeed29b6731f (patch)
treea447268debe479a257cfff4c7e5e86151eef6583 /drivers/net/mlx4/mlx4.h
parentb12d93d63c3217f0ec923ff938b12a744e242ffa (diff)
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.h')
-rw-r--r--drivers/net/mlx4/mlx4.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/mlx4/mlx4.h b/drivers/net/mlx4/mlx4.h
index 1513a91b4bd..d8bb4418581 100644
--- a/drivers/net/mlx4/mlx4.h
+++ b/drivers/net/mlx4/mlx4.h
@@ -286,6 +286,10 @@ struct mlx4_vlan_table {
286 int max; 286 int max;
287}; 287};
288 288
289struct mlx4_mac_entry {
290 u64 mac;
291};
292
289struct mlx4_port_info { 293struct mlx4_port_info {
290 struct mlx4_dev *dev; 294 struct mlx4_dev *dev;
291 int port; 295 int port;
@@ -293,7 +297,9 @@ struct mlx4_port_info {
293 struct device_attribute port_attr; 297 struct device_attribute port_attr;
294 enum mlx4_port_type tmp_type; 298 enum mlx4_port_type tmp_type;
295 struct mlx4_mac_table mac_table; 299 struct mlx4_mac_table mac_table;
300 struct radix_tree_root mac_tree;
296 struct mlx4_vlan_table vlan_table; 301 struct mlx4_vlan_table vlan_table;
302 int base_qpn;
297}; 303};
298 304
299struct mlx4_sense { 305struct mlx4_sense {