common/mlx5: create GENEVE TLV option object with DevX
authorShiri Kuzin <shirik@nvidia.com>
Sun, 17 Jan 2021 10:21:19 +0000 (12:21 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 19 Jan 2021 02:30:15 +0000 (03:30 +0100)
commit5be10a9d093af9ad104207a3b65599d58a61a9d5
treebcc2dd36b2125c6a925e6de790a6d8993e2977cb
parent1324ff183d11a3b29ba5395cd2387ea86a4233d8
common/mlx5: create GENEVE TLV option object with DevX

TLV object is a special firmware maintained entity used
to support match on GENEVE header extension option.

The TLV object is created with DevX API and accepts
the option class, type and lehgth fields.

The class type and length fields are set using MLX5_SET
and the Devx object is created using mlx5 glue function.

Signed-off-by: Shiri Kuzin <shirik@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/rte_common_mlx5_exports.def
drivers/common/mlx5/version.map