summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5.h
diff options
context:
space:
mode:
authorDekel Peled <dekelp@mellanox.com>2019-07-22 14:52:04 +0000
committerFerruh Yigit <ferruh.yigit@intel.com>2019-07-23 14:31:36 +0200
commit09f78f21444258b2c7a067fae19bbeec394c2baa (patch)
tree9a58bc5556e0d5dcec4de29a8e5accfd6b97ce1f /drivers/net/mlx5/mlx5.h
parent175f1c21d0334e96d959fbe88a614a4bcc1b1e99 (diff)
downloaddpdk-09f78f21444258b2c7a067fae19bbeec394c2baa.zip
dpdk-09f78f21444258b2c7a067fae19bbeec394c2baa.tar.gz
dpdk-09f78f21444258b2c7a067fae19bbeec394c2baa.tar.xz
net/mlx5: support Tx interface query via DevX
Implement function mlx5_devx_cmd_qp_tis_td_query(), to query QP TIS Transport Domain value. Add related structs in mlx5_prm.h. Signed-off-by: Dekel Peled <dekelp@mellanox.com> Acked-by: Matan Azrad <matan@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 7041bbc..5ae99dc 100644
--- a/drivers/net/mlx5/mlx5.h
+++ b/drivers/net/mlx5/mlx5.h
@@ -737,4 +737,6 @@ int mlx5_devx_cmd_query_hca_attr(struct ibv_context *ctx,
struct mlx5_devx_obj *mlx5_devx_cmd_mkey_create(struct ibv_context *ctx,
struct mlx5_devx_mkey_attr *attr);
int mlx5_devx_get_out_command_status(void *out);
+int mlx5_devx_cmd_qp_query_tis_td(struct ibv_qp *qp, uint32_t tis_num,
+ uint32_t *tis_td);
#endif /* RTE_PMD_MLX5_H_ */