Skip to content

Commit

Permalink
RDMA/bnxt_re: introduce a function to allocate swq
Browse files Browse the repository at this point in the history
The bnxt_re driver now allocates shadow sq and rq to maintain per wqe
wr_id and few other flags required to support variable wqe. Segregated the
allocation of shadow queue in a separate function and adjust the cqe
polling logic. The new polling logic is based on shadow queue indices.

Link: https://lore.kernel.org/r/1594822619-4098-3-git-send-email-devesh.sharma@broadcom.com
Signed-off-by: Devesh Sharma <devesh.sharma@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
  • Loading branch information
Devesh Sharma authored and Jason Gunthorpe committed Jul 20, 2020
1 parent 1da968e commit 159fb4c
Show file tree
Hide file tree
Showing 3 changed files with 207 additions and 171 deletions.
Loading

0 comments on commit 159fb4c

Please sign in to comment.