diff options
author | Devesh Sharma <devesh.sharma@broadcom.com> | 2020-07-15 10:16:58 -0400 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-07-20 16:32:50 -0300 |
commit | 2bb3c32c5c5fe98b7407a0befc32f16c959a0a92 (patch) | |
tree | a1dc0dd6e2c7903054ae99ed55dd0af94ae2dacf /drivers/md/dm-cache-policy-smq.c | |
parent | 54ace98443ab9b8611b288359e20168e3e1571c1 (diff) | |
download | linux-stable-2bb3c32c5c5fe98b7407a0befc32f16c959a0a92.tar.gz linux-stable-2bb3c32c5c5fe98b7407a0befc32f16c959a0a92.tar.bz2 linux-stable-2bb3c32c5c5fe98b7407a0befc32f16c959a0a92.zip |
RDMA/bnxt_re: Change wr posting logic to accommodate variable wqes
Modifying the post-send and post-recv to initialize the wqes slot by slot
dynamically depending on the number of max sges requested by consumer at
the time of QP creation.
Changed the QP creation logic to determine the size of SQ and RQ in 16B
slots based on the number of wqe and number of SGEs requested by consumer
Link: https://lore.kernel.org/r/1594822619-4098-6-git-send-email-devesh.sharma@broadcom.com
Signed-off-by: Devesh Sharma <devesh.sharma@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/md/dm-cache-policy-smq.c')
0 files changed, 0 insertions, 0 deletions