Ophir Munk b492e28882 net/mlx5: fix freeing packet pacing
Packet pacing is allocated under condition #ifdef HAVE_MLX5DV_PP_ALLOC.
In a similar way - free packet pacing index under the same condition.
This update is required to successfully compile under operating systems
which do not support packet pacing.

Fixes: aef1e20ebeb2 ("net/mlx5: allocate packet pacing context")
Cc: stable@dpdk.org

Signed-off-by: Ophir Munk <ophirmu@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-01-08 16:03:07 +01:00
..
2020-10-09 13:17:42 +02:00
2021-01-08 16:03:07 +01:00
2020-09-18 18:55:06 +02:00
2020-11-13 23:36:14 +01:00
2020-11-03 23:35:04 +01:00
2020-11-03 23:35:04 +01:00