diff options
author | Danit Goldberg <danitg@mellanox.com> | 2019-07-05 19:21:57 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-26 09:13:04 +0200 |
commit | 7211b04064474ae016c52e8b068a212c815f94ca (patch) | |
tree | a92727fca545111cd50614e3f2884d53943ebfa2 /drivers/hwmon | |
parent | 55d036c11bbe22b1576d08250481ea340d3d1b6c (diff) | |
download | linux-stable-7211b04064474ae016c52e8b068a212c815f94ca.tar.gz linux-stable-7211b04064474ae016c52e8b068a212c815f94ca.tar.bz2 linux-stable-7211b04064474ae016c52e8b068a212c815f94ca.zip |
IB/mlx5: Report correctly tag matching rendezvous capability
commit 89705e92700170888236555fe91b45e4c1bb0985 upstream.
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: <stable@vger.kernel.org> # 4.13
Fixes: eb761894351d ("IB/mlx5: Fill XRQ capabilities")
Signed-off-by: Danit Goldberg <danitg@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Reviewed-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions