common/mlx5: add glue function for mirroring
authorJiawei Wang <jiaweiw@nvidia.com>
Tue, 13 Oct 2020 14:11:48 +0000 (17:11 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 16 Oct 2020 17:48:18 +0000 (19:48 +0200)
commit4d23dd35f234eb3a7db9a114a146930d2f237028
tree16773a7e35220248bceb167f33c9c0c341c9ee63
parent0756228b27040fc7b47b6ad7970879cc893c2b69
common/mlx5: add glue function for mirroring

The new DR destination array action is supported since the
rdma-core version v32.

Destination array action is used group DR actions to a single action,
And it can be used for mirroring packet and forward to every
destination (port or queue) in the array.

Signed-off-by: Jiawei Wang <jiaweiw@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/common/mlx5/linux/meson.build
drivers/common/mlx5/linux/mlx5_glue.c
drivers/common/mlx5/linux/mlx5_glue.h