Bug 2120961

Summary: [RHEL-8.7] [create_qp:2753]create qp: failed on ibv_cmd_create_qp when running fabtests on qedr
Product: Red Hat Enterprise Linux 8 Reporter: zguo <zguo>
Component: libfabricAssignee: Kamal Heib <kheib>
Status: CLOSED NOTABUG QA Contact: Infiniband QE <infiniband-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.7CC: 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:23 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 07:14:31 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Always


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

or 
/usr/bin/runfabtests.sh -T 60 -vvv -t all verbs 172.31.50.103 172.31.50.102

2.
3.

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

== snippet ==
- name:   fi_cq_test -p "verbs"
  result: Pass
  time:   2
  server_cmd: fi_cq_test -p "verbs"
  server_stdout: |
    [create_qp:2753]create qp: failed on ibv_cmd_create_qp with 12
    [create_qp:2753]create qp: failed on ibv_cmd_create_qp with 12
    [create_qp:2753]create qp: failed on ibv_cmd_create_qp with 12
    [create_qp:2753]create qp: failed on ibv_cmd_create_qp with 12
    [create_qp:2753]create qp: failed on ibv_cmd_create_qp with 95
    [create_qp:2753]create qp: failed on ibv_cmd_create_qp with 95
    Testing CQs on fabric Ethernet-iWARP
    Running cq_open_close_sizes [Test open and close of CQ for various sizes]...PASS!
    Running cq_open_close_simultaneous [Test opening several CQs at a time]...PASS!
    Running cq_signal [Test fi_cq_signal]...PASS!
    Summary: all tests passed
Expected results:

PASS without error "[create_qp:2753]create qp: failed on ibv_cmd_create_qp "

Additional info:

Comment 1 Kamal Heib 2023-07-18 18:17:23 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!