[openib-general] executing the ibv_srq_pingpong with many QPs sometimes causes to a test failure

Dotan Barak dotanb at mellanox.co.il
Sun Aug 21 00:15:36 PDT 2005


Hi.

I'm using gen2 driver svn revision 3137 on 2 Mellanox HCAs(23108) connected
b2b (without any switch).

When I'm executing the ibv_srq_pingpong with many QPs(255) each executable
is a different HCA (on different node) there is a completion with error in
the server side and a seg fault in the client side.

I think that there is a race in the test because when I'm using 248 QPs
sometimes there is a failure and sometimes the test passes.

Here is the command line + output of each side:

*************** Daemon side *******************
% ./ibv_srq_pingpong --port=19872 --ib-dev=mthca0 --ib-port=1 --num-qp=255
  remote address: LID 0x0002, QPN 0xf604fe, PSN 0x992558
  remote address: LID 0x0002, QPN 0xf604ff, PSN 0x428b53
  remote address: LID 0x0002, QPN 0xf60500, PSN 0x70675a
  remote address: LID 0x0002, QPN 0xf60501, PSN 0x999770
  remote address: LID 0x0002, QPN 0xf60502, PSN 0x3d496f
  remote address: LID 0x0002, QPN 0xf60503, PSN 0xf7ff70
  remote address: LID 0x0002, QPN 0xf60504, PSN 0x76ab8f
  [ 0] 00b50408
  [ 4] 00000000
  [ 8] 00000000
  [ c] 00000000
  [10] 15810000
  [14] 00000000
  [18] 000000c2
  [1c] ff000000
  [ 0] 00b50409
  [ 4] 00000000
  [ 8] 00000000
  [ c] 00000000
  [10] 15810000
  [14] 00000000
  [18] 000000c2
  [1c] ff000000
Failed status 12 for wr_id 2

*************** Client side *******************
% ./ibv_srq_pingpong --port=19872 --ib-dev=mthca0 --ib-port=1 10.4.8.31
--num-qp=255
  remote address: LID 0x0001, QPN 0xb50500, PSN 0x8913db
  remote address: LID 0x0001, QPN 0xb50501, PSN 0x02f05d
  remote address: LID 0x0001, QPN 0xb50502, PSN 0x791458
  remote address: LID 0x0001, QPN 0xb50503, PSN 0x86baa5
  remote address: LID 0x0001, QPN 0xb50504, PSN 0x49ff20
Segmentation fault


The seg fault is somewhere is the polling for completion section (i didn't
find the specific location).


Thanx
Dotan Barak
Software Verification Engineer
Mellanox Technologies LTD
Tel: +972-4-9097200 Ext: 231 Fax: +972-4-9593245
P.O. Box 86 Yokneam 20692 ISRAEL.
Home: +972-77-8841095  Cell: 052-4222383

[ May the fork be with you ]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050821/cb45ca38/attachment.html>


More information about the general mailing list