I noticed that doing ibstat, none of the iWARP RNIC adapters were showing up.  
I have attached a patch to address the issue (libibumad.patch).

SYS_NODE_TYPE for iWARP RNIC is 4 and is_ib_type only checked to 3.


Before patch is applied:

[root@t4-2 SOURCES]# ibstat
[root@t4-2 SOURCES]#


After patch is applied:

[root@t4-2 libibumad-1.3.7]# ibstat
iWARP RNIC 'cxgb4_0'
        iWARP RNIC type: cxgb4
        Number of ports: 2
        Firmware version: 1.4.23.0
        Hardware version: 2
        Node GUID: 0x000743101d000000
        System image GUID: 0x000743101d000000
        Port 1:
                State: Active
                Physical state: No state change
                Rate: 20
                Base lid: 0
                LMC: 0
                SM lid: 0
                Capability mask: 0x009f0000
                Port GUID: 0x0000000000000000
                Link layer: Ethernet
        Port 2:
                State: Down
                Physical state: No state change
                Rate: 20
                Base lid: 0
                LMC: 0
                SM lid: 0
                Capability mask: 0x009f0000
                Port GUID: 0x0000000000000000
                Link layer: Ethernet
[root@t4-2 libibumad-1.3.7]#

Attachment: libibumad.patch
Description: libibumad.patch

Reply via email to