]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/qedr: Fix inline size returned for iWARP
authorMichal Kalderon <michal.kalderon@marvell.com>
Wed, 2 Sep 2020 16:57:40 +0000 (19:57 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 11 Sep 2020 13:24:55 +0000 (10:24 -0300)
commitc645ca3f81298e2f8c459def375d14bd06de99d7
tree692e6eecec0d920b719b1ef416257b9fe8d5323b
parenta503090ea474a068399fb52261779bd8ad7a2c3d
RDMA/qedr: Fix inline size returned for iWARP

commit f4d4157c42fc ("RDMA/qedr: Return max inline data in QP query
result") changed query_qp max_inline size to return the max roce inline
size.  When iwarp was introduced, this should have been modified to return
the max inline size based on protocol.  This size is cached in the device
attributes

Fixes: e606b89fea95 ("RDMA/qedr: Add support for iWARP in user space")
Link: https://lore.kernel.org/r/20200902165741.8355-8-michal.kalderon@marvell.com
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/qedr/verbs.c