summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5.h
diff options
context:
space:
mode:
authorRaslan Darawsheh <rasland@mellanox.com>2019-08-22 10:15:52 +0000
committerFerruh Yigit <ferruh.yigit@intel.com>2019-09-06 17:15:14 +0200
commitc9ba7523c4f5ab03ed0c68be35fc47bce9da89e5 (patch)
treeeb7f8220d92032c0018752ac38f1eda3bdf1eace /drivers/net/mlx5/mlx5.h
parenteb0819f5653cd0dfdceafd7d906620771a466230 (diff)
downloaddpdk-c9ba7523c4f5ab03ed0c68be35fc47bce9da89e5.zip
dpdk-c9ba7523c4f5ab03ed0c68be35fc47bce9da89e5.tar.gz
dpdk-c9ba7523c4f5ab03ed0c68be35fc47bce9da89e5.tar.xz
net/mlx5: support UDP tunnel adding
This adds support for adding a new UDP tunnel port on a specific VXLAN types. Currently we only support VXLAN, VXLAN-GPE on ports 4789, 4790 respectively. Without having to configure anything in the NIC. Signed-off-by: Raslan Darawsheh <rasland@mellanox.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5.h')
-rw-r--r--drivers/net/mlx5/mlx5.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h
index 1f279dc..ab2e79c 100644
--- a/drivers/net/mlx5/mlx5.h
+++ b/drivers/net/mlx5/mlx5.h
@@ -674,6 +674,8 @@ int64_t mlx5_get_dbr(struct rte_eth_dev *dev,
struct mlx5_devx_dbr_page **dbr_page);
int32_t mlx5_release_dbr(struct rte_eth_dev *dev, uint32_t umem_id,
uint64_t offset);
+int mlx5_udp_tunnel_port_add(struct rte_eth_dev *dev,
+ struct rte_eth_udp_tunnel *udp_tunnel);
/* mlx5_ethdev.c */