common/mlx5: add DevX connection tracking objects creation
authorBing Zhao <bingz@nvidia.com>
Wed, 5 May 2021 12:23:16 +0000 (15:23 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Wed, 5 May 2021 12:30:12 +0000 (14:30 +0200)
commit8207e84b21de6dca0f2b27a3f2bdd4cc2c420588
tree5932155dccbd57cf7ebefd4195521a7cd518b30f
parentee9e5fad03ebe04b434eb0c413b131252e154e8f
common/mlx5: add DevX connection tracking objects creation

Adding support for connection tracking ASO creation via Devx command.
Right now only bulk creation is supported.

By default, the objects with zero contents will be created. Before
using a single object, the modification via posting a WQE to the ASO
CT SQ is needed.

Signed-off-by: Bing Zhao <bingz@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/common/mlx5/mlx5_devx_cmds.c
drivers/common/mlx5/mlx5_devx_cmds.h
drivers/common/mlx5/version.map