mirror-linux/include/linux/mlx5
Yevgeny Kliteynik 59dd110ca2 net/mlx5: DR, Check force-loopback RC QP capability independently from RoCE
commit c7dd225bc2 upstream.

SW Steering uses RC QP for writing STEs to ICM. This writingis done in LB
(loopback), and FL (force-loopback) QP is preferred for performance. FL is
available when RoCE is enabled or disabled based on RoCE caps.
This patch adds reading of FL capability from HCA caps in addition to the
existing reading from RoCE caps, thus fixing the case where we didn't
have loopback enabled when RoCE was disabled.

Fixes: 7304d603a5 ("net/mlx5: DR, Add support for force-loopback QP")
Signed-off-by: Itamar Gozlan <igozlan@nvidia.com>
Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-30 14:03:33 +01:00
..
cq.h
device.h
doorbell.h
driver.h net/mlx5: Expose SF firmware pages counter 2023-02-14 19:11:47 +01:00
eq.h
eswitch.h
fs.h
fs_helpers.h
mlx5_ifc.h net/mlx5: DR, Check force-loopback RC QP capability independently from RoCE 2023-05-30 14:03:33 +01:00
mlx5_ifc_fpga.h
mlx5_ifc_vdpa.h
mpfs.h
port.h
qp.h
rsc_dump.h
transobj.h
vport.h