diff options
| author | Selvin Xavier <selvin.xavier@broadcom.com> | 2026-06-16 01:47:45 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2026-06-16 18:19:10 +0300 |
| commit | dc95931b7e1326dacae547874bf38c092e5960d8 (patch) | |
| tree | 45eafab20266d4bc22f12c36a2951225bc743775 /include/linux/workqueue_api.h | |
| parent | 7d70c704a06f620d5d421ab76bac5e225bfb4308 (diff) | |
| download | linux-dc95931b7e1326dacae547874bf38c092e5960d8.tar.xz | |
RDMA/bnxt_re: Add a max slot check for SQ
The variable WQE mode must be validated against
the maximum slots supported by HW. The max supported
value is 64K. Adding a max and min check and fail if user
supplied value is more than the max supported and zero.
Fixes: d8ea645d6984 ("RDMA/bnxt_re: Handle variable WQE support for user applications")
Link: https://patch.msgid.link/r/20260615224751.232802-10-selvin.xavier@broadcom.com
Reviewed-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
