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.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -1705,7 +1705,9 @@ struct mlx5_ifc_cmd_hca_cap_bits { · 1704 unmodified lines | |||
| 1705 | u8 rc[0x1]; | 1705 | u8 rc[0x1]; |
| 1706 | 1706 | ||
| 1707 | u8 uar_4k[0x1]; | 1707 | u8 uar_4k[0x1]; |
| 1708 | u8 reserved_at_241[0x9]; | 1708 | u8 reserved_at_241[0x7]; |
| 1709 | u8 fl_rc_qp_when_roce_disabled[0x1]; | ||
| 1710 | u8 regexp_params[0x1]; | ||
| 1709 | u8 uar_sz[0x6]; | 1711 | u8 uar_sz[0x6]; |
| 1710 | u8 port_selection_cap[0x1]; | 1712 | u8 port_selection_cap[0x1]; |
| 1711 | u8 reserved_at_248[0x1]; | 1713 | u8 reserved_at_248[0x1]; |