diff options
| author | Michael Margolin <mrgolin@amazon.com> | 2026-04-16 20:14:08 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2026-04-17 12:16:00 -0300 |
| commit | 9091e3b59f2bef11c0a841096327565ae0ca220b (patch) | |
| tree | cc14ee22832a00458853bbb6ee16a7c173a13b71 /include/linux/i2c/git@git.tavy.me:linux-stable.git | |
| parent | 654a27f25530d052eeedf086e6c3e2d585c203bd (diff) | |
RDMA/core: Fix user CQ creation for drivers without create_cq
CQ creation is failing for drivers that only implement create_user_cq
(e.g. EFA), when buffer isn't provided by userspace. This because of a
leftover check that requires create_cq existence in such case.
Remove the create_cq existence check from the no-buffer path. The
buffer is optional and drivers that handle their own memory should work
through create_user_cq regardless.
Fixes: 584ec74748e6 ("RDMA/core: Prepare create CQ path for API unification")
Link: https://patch.msgid.link/r/20260416201408.13980-1-mrgolin@amazon.com
Signed-off-by: Michael Margolin <mrgolin@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
