net/mlx5: query hairpin capabilities
authorOri Kam <orika@mellanox.com>
Wed, 30 Oct 2019 23:53:12 +0000 (23:53 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Nov 2019 22:15:04 +0000 (23:15 +0100)
commit52dfbded04746016fca500fc0b1b008624d6eeb8
treea5335d198c62ca58f6c2fda618c8c282b7168632
parentcf5516696d772d60735e853f38b2d7b5d7bbb9d3
net/mlx5: query hairpin capabilities

This commit query and store the hairpin capabilities from the device.

Those capabilities will be used when creating the hairpin queue.

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