aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2014-03-27 08:02:04 -0400
committerDavid S. Miller <davem@davemloft.net>2014-03-28 16:29:35 -0400
commit1b136de120dda625109f2afe1e3d04e256be9ec1 (patch)
tree321fa0738eb04cffe07abb89b7f06759f062f64c /drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
parentd18f141a1a7cfa5ffad8433e43062b05a8d1b82a (diff)
net/mlx4: Implement vxlan ndo calls
Add implementation for the add/del vxlan port ndo calls, using the CONFIG_DEV firmware command. Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/mlx4_en.h')
-rw-r--r--drivers/net/ethernet/mellanox/mlx4/mlx4_en.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
index 69e1f36858e0..36fc2a2b24c3 100644
--- a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
+++ b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
@@ -559,6 +559,8 @@ struct mlx4_en_priv {
559 struct work_struct linkstate_task; 559 struct work_struct linkstate_task;
560 struct delayed_work stats_task; 560 struct delayed_work stats_task;
561 struct delayed_work service_task; 561 struct delayed_work service_task;
562 struct work_struct vxlan_add_task;
563 struct work_struct vxlan_del_task;
562 struct mlx4_en_perf_stats pstats; 564 struct mlx4_en_perf_stats pstats;
563 struct mlx4_en_pkt_stats pkstats; 565 struct mlx4_en_pkt_stats pkstats;
564 struct mlx4_en_port_stats port_stats; 566 struct mlx4_en_port_stats port_stats;
@@ -585,6 +587,7 @@ struct mlx4_en_priv {
585 struct hlist_head filter_hash[1 << MLX4_EN_FILTER_HASH_SHIFT]; 587 struct hlist_head filter_hash[1 << MLX4_EN_FILTER_HASH_SHIFT];
586#endif 588#endif
587 u64 tunnel_reg_id; 589 u64 tunnel_reg_id;
590 __be16 vxlan_port;
588}; 591};
589 592
590enum mlx4_en_wol { 593enum mlx4_en_wol {