Skip to content

RDMA/bnxt_re: Bug fixes for RCFW completion handling and verbs

Selvin Xavier linux-rdma 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7RDMA/bnxt_re: Clear stale RCFW resp pointer when wait endsdrivers/infiniband/hw/bnxt_re/qplib_rcfw.c+17 -90 replies
2/7RDMA/bnxt_re: Honor a completion that races with a wait timeoutdrivers/infiniband/hw/bnxt_re/qplib_rcfw.c+26 -50 replies
3/7RDMA/bnxt_re: Do not treat CQ error notification as a command completiondrivers/infiniband/hw/bnxt_re/qplib_rcfw.c+8 -00 replies
4/7RDMA/bnxt_re: Drop RCFW completions for cookies with no outstanding commanddrivers/infiniband/hw/bnxt_re/qplib_rcfw.c+8 -00 replies
5/7RDMA/bnxt_re: Reset cqe pointer each poll_cq iterationdrivers/infiniband/hw/bnxt_re/ib_verbs.c+1 -10 replies
6/7RDMA/bnxt_re: Remove shared page mmap entry on alloc_ucontext failuredrivers/infiniband/hw/bnxt_re/ib_verbs.c+2 -00 replies
7/7RDMA/bnxt_re: Bound FRMR page list by max_num_sgdrivers/infiniband/hw/bnxt_re/ib_verbs.c drivers/infiniband/hw/bnxt_re/ib_verbs.h+4 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH for-rc 0/7] RDMA/bnxt_re: Bug fixes for RCFW completion handling and verbs

Hi,

This series contains a set of fixes for the bnxt_re driver.

Patches 1-4 harden the RCFW command path: they clear a stale response pointer when a wait ends, honor a completion that races with a wait timeout, ignore CQ error notifications that are not command completions, and drop completions for cookies with no outstanding command.

Patches 5-7 are independent verbs fixes: reset the cqe pointer on each poll_cq iteration, remove the shared page mmap entry when alloc_ucontext fails, and bound the FRMR page list by max_num_sg.

Please review.

Thanks,
Selvin Xavier

Saravanan Vajravel (1):
RDMA/bnxt_re: Drop RCFW completions for cookies with no outstanding
command

Selvin Xavier (6):
RDMA/bnxt_re: Clear stale RCFW resp pointer when wait ends RDMA/bnxt_re: Honor a completion that races with a wait timeout RDMA/bnxt_re: Do not treat CQ error notification as a command
completion
RDMA/bnxt_re: Reset cqe pointer each poll_cq iteration RDMA/bnxt_re: Remove shared page mmap entry on alloc_ucontext failure RDMA/bnxt_re: Bound FRMR page list by max_num_sg

 drivers/infiniband/hw/bnxt_re/ib_verbs.c   |  9 ++-
 drivers/infiniband/hw/bnxt_re/ib_verbs.h   |  1 +
 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c | 73 +++++++++++++++++-----
 3 files changed, 66 insertions(+), 17 deletions(-)
Signature · 1 line
2.39.3