mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
IB/mlx5: Report correctly tag matching rendezvous capability
Userspace expects the IB_TM_CAP_RC bit to indicate that the device
supports RC transport tag matching with rendezvous offload. However the
firmware splits this into two capabilities for eager and rendezvous tag
matching.
Only if the FW supports both modes should userspace be told the tag
matching capability is available.
Cc: <[email protected]> # 4.13
Fixes: eb76189435 ("IB/mlx5: Fill XRQ capabilities")
Signed-off-by: Danit Goldberg <[email protected]>
Reviewed-by: Yishai Hadas <[email protected]>
Reviewed-by: Artemy Kovalyov <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
This commit is contained in:
parent
a3a400da20
commit
89705e9270
2 changed files with 8 additions and 4 deletions
|
|
@ -307,8 +307,8 @@ struct ib_rss_caps {
|
|||
};
|
||||
|
||||
enum ib_tm_cap_flags {
|
||||
/* Support tag matching on RC transport */
|
||||
IB_TM_CAP_RC = 1 << 0,
|
||||
/* Support tag matching with rendezvous offload for RC transport */
|
||||
IB_TM_CAP_RNDV_RC = 1 << 0,
|
||||
};
|
||||
|
||||
struct ib_tm_caps {
|
||||
|
|
|
|||
Loading…
Reference in a new issue