The program below eventually fails after few loops with ENOMEM. It can be reproduced at will by restarting the program. When removing ibv_create_comp_channel(), the failure does not seem to reproduce anymore.
Is the cq creation with comp_channel supported on EFA?
Reproduction steps
Source for ibv.c is at the end of the description:
Preliminary Actions
Driver Type
Linux kernel driver for Elastic Fabric Adapter (EFA)
Driver Tag/Commit
2.8.0g
Custom Code
No
OS Platform and Distribution
5.15.0-1055-aws #60~20.04.1-Ubuntu SMP
$ cat /sys/class/infiniband/rdmap79s0/device/driver/module/version 2.8.0g $ cat /sys/class/infiniband/rdmap79s0/device/device 0xefa1
Bug description
The program below eventually fails after few loops with
ENOMEM
. It can be reproduced at will by restarting the program. When removingibv_create_comp_channel()
, the failure does not seem to reproduce anymore.Is the cq creation with comp_channel supported on EFA?
Reproduction steps
Source for
ibv.c
is at the end of the description:Expected Behavior
If cq with completion channel is not supported: maybe ibv failure If cq with completion channel is supported: no failure, even when running in loop
Actual Behavior
The call
ibv_open_device(rdmap79s0)
eventually fails withENOMEM
.Additional Data
No response
Relevant log output
Contact Details
No response