diff options
author | Selvin Xavier <selvin.xavier@broadcom.com> | 2020-10-12 23:15:52 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-30 11:52:57 +0100 |
commit | ae3739fcfe3baf1595dac00ac8440fe4f1bd3a38 (patch) | |
tree | 461666e810d46c26404195a657f0ecfea02ae673 /security | |
parent | c647cc8e5804755e6f5fae2cd82a69e51081e5ea (diff) | |
download | linux-stable-ae3739fcfe3baf1595dac00ac8440fe4f1bd3a38.tar.gz linux-stable-ae3739fcfe3baf1595dac00ac8440fe4f1bd3a38.tar.bz2 linux-stable-ae3739fcfe3baf1595dac00ac8440fe4f1bd3a38.zip |
RDMA/bnxt_re: Fix entry size during SRQ create
[ Upstream commit b898d5c50cab1f985e77d053eb5c4d2c4a7694ae ]
Only static WQE is supported for SRQ. So always use the max supported SGEs
while calculating SRQ entry size.
Fixes: 2bb3c32c5c5f ("RDMA/bnxt_re: Change wr posting logic to accommodate variable wqes")
Link: https://lore.kernel.org/r/1602569752-12745-1-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Devesh Sharma <devesh.sharma@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions