A xio_rdma_disconnect problem over iwarp

Bug #1600662 reported by yandaweixx
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Accelio
New
Undecided
Unassigned

Bug Description

Dear Accelio-Team,
     This problem seems to be related with the iw_cxgb4 driver, and it seems to send a disconnect event twice.

[root@nn examples]# ./runHelloWorld.sh client 172.16.0.5 1234 1

LD library is: /home/JXIO-master/examples

Compiling JAVA files....

Running Client side test...
2016-07-11 09:49:41,656 main INFO HelloClient:75 Try to establish a new session to 'rdma://172.16.0.5:1234/'
2016-07-11 09:49:41,664 main INFO HelloClient:114 [SUCCESS] Session established! Hurray !
2016-07-11 09:49:41,665 main INFO HelloClient:118 [SUCCESS] Got a message! Bring the champagne!
2016-07-11 09:49:41,666 main INFO HelloClient:126 msg is: 'Hello to you too, Client'
2016-07-11 09:49:41,666 main INFO HelloClient:130 Closing the session...
2016-07-11 09:49:41,673 main INFO HelloClient:139 [EVENT] Got event SESSION_CLOSED because of SESSION_CLOSED
2016-07-11 09:49:41,673 main INFO HelloClient:64 Client is releasing JXIO resources and exiting
2016-07-11 09:49:41,673 main ERROR transport/rdma/xio_rdma_management.c:2165:xio_rdma_disconnect() rdma_hndl:0x7f71e01d2a70 rdma_disconnect failed, Invalid argument
2016-07-11 09:49:41,674 main ERROR transport/rdma/xio_rdma_management.c:2165:xio_rdma_disconnect() rdma_hndl:0x7f71e01d2a70 rdma_disconnect failed, Invalid argument
2016-07-11 09:49:41,674 main ERROR transport/rdma/xio_rdma_management.c:2270:on_cm_disconnected() rdma_hndl:0x7f71e01d2a70 rdma_disconnect failed, err=-1

[root@nn examples]# ./runHelloWorld.sh server 172.16.0.5 1234 0

LD library is: /home/JXIO-master/examples

Compiling JAVA files....

Running Server side test...
2016-07-11 09:49:26,438 main INFO HelloServer:52 waiting for JXIO incoming connections
2016-07-11 09:49:41,663 main INFO HelloServer:98 [SUCCESS] Got event onSessionNew from 172.16.0.5, URI='rdma://172.16.0.5:1234/'
2016-07-11 09:49:41,664 main INFO HelloServer:116 [SUCCESS] Got a message request! Prepare the champagne!
2016-07-11 09:49:41,665 main INFO HelloServer:124 msg is: 'Hello Server'
2016-07-11 09:49:41,670 main INFO HelloServer:149 [EVENT] Got event SESSION_CLOSED because of SESSION_DISCONNECTED
2016-07-11 09:49:41,670 main INFO HelloServer:154 Stopping the main EQH loop...
2016-07-11 09:49:41,671 main INFO HelloServer:82 Server is releasing JXIO resources and exiting
2016-07-11 09:49:41,672 main INFO HelloServer:104 [EVENT] Got event PORTAL_CLOSED because of SUCCESS
2016-07-11 09:49:41,672 main ERROR transport/rdma/xio_rdma_management.c:2165:xio_rdma_disconnect() rdma_hndl:0x7fc64c1fcf60 rdma_disconnect failed, Invalid argument
2016-07-11 09:49:41,672 main ERROR transport/rdma/xio_rdma_management.c:2270:on_cm_disconnected() rdma_hndl:0x7fc64c1fcf60 rdma_disconnect failed, err=-1

    And we have traced and located the bug in the iwarp driver at"ChelsioUwire-2.12.0.3/src/network/iw_cxgb4/qp.c:2148". Iwarp seems not support qp's state transform from IDLE to CLOSING.

Tags: iwarp
yandaweixx (yandaweixx)
description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.