net/mlx5: support Rx hairpin queues
authorOri Kam <orika@mellanox.com>
Wed, 30 Oct 2019 23:53:13 +0000 (23:53 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Nov 2019 22:15:04 +0000 (23:15 +0100)
commite79c9be9151529b9e7cff77c2a12fb849f0793d0
tree2d14470e145d2e58f2d87f98c2ae23837cc564af
parent52dfbded04746016fca500fc0b1b008624d6eeb8
net/mlx5: support Rx hairpin queues

This commit adds the support for creating Rx hairpin queues.
Hairpin queue is a queue that is created using DevX and only used
by the HW. This results in that all the data part of the RQ is not being
used.

Signed-off-by: Ori Kam <orika@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5_rxq.c
drivers/net/mlx5/mlx5_rxtx.h
drivers/net/mlx5/mlx5_trigger.c