]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA/rxe: Don't set BTH_ACK_MASK for UC or UD QPs
authorHonggang LI <honggangli@163.com>
Mon, 24 Jun 2024 02:03:48 +0000 (10:03 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 26 Jun 2024 13:53:29 +0000 (10:53 -0300)
commit4adcaf969d77d3d3aa3871bbadc196258a38aec6
tree2d597a711679a48bb43fa3061e52d8cc93d6e9e4
parent58945ddd7156b4d83206b7b21567e67fca16346a
RDMA/rxe: Don't set BTH_ACK_MASK for UC or UD QPs

BTH_ACK_MASK bit is used to indicate that an acknowledge
(for this packet) should be scheduled by the responder.
Both UC and UD QPs are unacknowledged, so don't set
BTH_ACK_MASK for UC or UD QPs.

Fixes: 8700e3e7c485 ("Soft RoCE driver")
Signed-off-by: Honggang LI <honggangli@163.com>
Link: https://lore.kernel.org/r/20240624020348.494338-1-honggangli@163.com
Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_req.c