RDMA/irdma: Process extended CQ entries correctly
authorShiraz Saleem <shiraz.saleem@intel.com>
Tue, 5 Oct 2021 18:23:02 +0000 (13:23 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 6 Oct 2021 19:38:07 +0000 (16:38 -0300)
commite93c7d8e8c4cf80c6afe56e71c83c1cd31b4fce1
tree899b130fc7ab1af8ed662203dac7d4dcf91384d6
parent9e1ff307c779ce1f0f810c7ecce3d95bbae40896
RDMA/irdma: Process extended CQ entries correctly

The valid bit for extended CQE's written by HW is retrieved from the
incorrect quad-word. This leads to missed completions for any UD traffic
particularly after a wrap-around.

Get the valid bit for extended CQE's from the correct quad-word in the
descriptor.

Fixes: 551c46edc769 ("RDMA/irdma: Add user/kernel shared libraries")
Link: https://lore.kernel.org/r/20211005182302.374-1-shiraz.saleem@intel.com
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/irdma/uk.c