diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2014-03-27 16:02:04 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-29 00:29:35 +0400 |
commit | 1b136de120dda625109f2afe1e3d04e256be9ec1 (patch) | |
tree | 321fa0738eb04cffe07abb89b7f06759f062f64c /drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | |
parent | d18f141a1a7cfa5ffad8433e43062b05a8d1b82a (diff) | |
download | linux-1b136de120dda625109f2afe1e3d04e256be9ec1.tar.xz |
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.h | 3 |
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 { struct work_struct linkstate_task; struct delayed_work stats_task; struct delayed_work service_task; + struct work_struct vxlan_add_task; + struct work_struct vxlan_del_task; struct mlx4_en_perf_stats pstats; struct mlx4_en_pkt_stats pkstats; struct mlx4_en_port_stats port_stats; @@ -585,6 +587,7 @@ struct mlx4_en_priv { struct hlist_head filter_hash[1 << MLX4_EN_FILTER_HASH_SHIFT]; #endif u64 tunnel_reg_id; + __be16 vxlan_port; }; enum mlx4_en_wol { |