diff options
| author | Yonatan Nachum <ynachum@amazon.com> | 2026-05-26 08:15:36 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2026-06-02 14:48:59 -0300 |
| commit | b230b57bd6f242aaac3b8e62c7d18c69e1e30392 (patch) | |
| tree | 4835b7411ee9d8b8a1e5eb586aa0fb3658b2434c /drivers/clk/aspeed/git@git.tavy.me:linux.git | |
| parent | 4a1b1ac2744694a2ecd66a84bdb1445f4ef24bee (diff) | |
RDMA/efa: Validate SQ ring size against max LLQ size
Validate the SQ ring size against the device's max LLQ size. This
ensures that when using 128-byte WQEs, userspace cannot exceed the queue
limits.
On create QP, userspace provides the SQ ring size (depth x WQE size)
which is validated against the max LLQ size.
Fixes: 40909f664d27 ("RDMA/efa: Add EFA verbs implementation")
Link: https://patch.msgid.link/r/20260526081536.1203553-1-ynachum@amazon.com
Reviewed-by: Michael Margolin <mrgolin@amazon.com>
Signed-off-by: Yonatan Nachum <ynachum@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/clk/aspeed/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
