Bug 2120955

Summary: [RHEL-9.1] [create_qp:2752]create qp: failed on ibv_cmd_create_qp when running fabtests on cxgb4/qedr
Product: Red Hat Enterprise Linux 9 Reporter: zguo <zguo>
Component: libfabricAssignee: Kamal Heib <kheib>
Status: CLOSED NOTABUG QA Contact: zguo <zguo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.1CC: hwkernel-mgr, kheib, rdma-dev-team
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-18 18:17:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description zguo 2022-08-24 06:57:27 UTC
Description of problem:


Version-Release number of selected component (if applicable):
fabtests-1.15.1-1.el9

How reproducible:
Always

Steps to Reproduce:
1. https://beaker.engineering.redhat.com/jobs/6940194

or 

$ /usr/bin/runfabtests.sh -T 60 -vvv -t all tcp 172.31.50.186 172.31.50.113

2.
3.

Actual results:
https://beaker.engineering.redhat.com/recipes/12489801/tasks/149151594/logs/fabtests_tcp_all.log
https://beaker.engineering.redhat.com/recipes/12489801/tasks/149151594/logs/fabtests_udp_all.log
https://beaker.engineering.redhat.com/recipes/12489801/tasks/149151594/logs/fabtests_verbs_all.log

== snippet ==

- name:   fi_getinfo_test -s 172.31.50.186 172.31.50.186 -p "verbs"
  result: Pass
  time:   2
  server_cmd: fi_getinfo_test -s 172.31.50.186 172.31.50.186 -p "verbs"
  server_stdout: |
    Running getinfo_no_hints1 [Test with no node, service, flags or hints]...[create_qp:2752]create qp: failed on ibv_cmd_create_qp with 12
    [create_qp:2752]create qp: failed on ibv_cmd_create_qp with 12
    [create_qp:2752]create qp: failed on ibv_cmd_create_qp with 12
    [create_qp:2752]create qp: failed on ibv_cmd_create_qp with 12
    [create_qp:2752]create qp: failed on ibv_cmd_create_qp with 95
    [create_qp:2752]create qp: failed on ibv_cmd_create_qp with 95
    [create_qp:2752]create qp: failed on ibv_cmd_create_qp with 12
    [create_qp:2752]create qp: failed on ibv_cmd_create_qp with 12
    [create_qp:2752]create qp: failed on ibv_cmd_create_qp with 12
    [create_qp:2752]create qp: failed on ibv_cmd_create_qp with 12
    [create_qp:2752]create qp: failed on ibv_cmd_create_qp with 95
    [create_qp:2752]create qp: failed on ibv_cmd_create_qp with 95
    PASS!

Expected results:
PASS without error "[create_qp:2752]create qp: failed on ibv_cmd_create_qp"

Additional info:
No this issue on RHEL-8.7 for cxgb4.

Comment 2 Kamal Heib 2023-07-18 18:17:20 UTC
This behavior seems to be expected as the test is trying to run with an inline data size larger than the device-supported max_inline.


[  264.125948] [qedr_check_qp_attrs:1214(qedr0)]create qp: unsupported inline data size=0x200 requested (max_inline=0x100) 
[  264.138855] [qedr_check_qp_attrs:1214(qedr0)]create qp: unsupported inline data size=0x180 requested (max_inline=0x100) 
[  264.151742] [qedr_check_qp_attrs:1214(qedr0)]create qp: unsupported inline data size=0x140 requested (max_inline=0x100) 
[  264.164402] [qedr_check_qp_attrs:1214(qedr0)]create qp: unsupported inline data size=0x120 requested (max_inline=0x100) 
[  264.177304] [qedr_check_qp_attrs:1214(qedr0)]create qp: unsupported inline data size=0x110 requested (max_inline=0x100) 
[  264.190170] [qedr_check_qp_attrs:1214(qedr0)]create qp: unsupported inline data size=0x108 requested (max_inline=0x100) 
[  264.203036] [qedr_check_qp_attrs:1214(qedr0)]create qp: unsupported inline data size=0x104 requested (max_inline=0x100) 
[  264.215456] [qedr_check_qp_attrs:1214(qedr0)]create qp: unsupported inline data size=0x102 requested (max_inline=0x100) 
[  264.228941] [qedr_check_qp_attrs:1214(qedr0)]create qp: unsupported inline data size=0x200 requested (max_inline=0x100) 
[  264.241444] [qedr_check_qp_attrs:1214(qedr0)]create qp: unsupported inline data size=0x180 requested (max_inline=0x100) 

Thanks!