]> git.baikalelectronics.ru Git - kernel.git/commit
rxe: fix error completion wr_id and qp_num
authorSagi Grimberg <sagi@grimberg.me>
Thu, 25 Oct 2018 19:40:57 +0000 (12:40 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 6 Nov 2018 21:25:04 +0000 (16:25 -0500)
commit7d181680b991059d9112b0d832f433494f32e44a
tree59bb790eb4460de2ef2c3faa3c19be35d36b1559
parent7651856e27b808b143e5a61ce40f38aa863129e1
rxe: fix error completion wr_id and qp_num

Error completions must still contain a valid wr_id and
qp_num such that the consumer can rely on. Correctly
fill these fields in receive error completions.

Reported-by: Walker Benjamin <benjamin.walker@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Tested-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe_resp.c