]> git.openfabrics.org - ~shefty/libibverbs.git/commit
Initialize QP state to RESET
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Sun, 3 Jun 2007 20:33:01 +0000 (13:33 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sun, 3 Jun 2007 20:33:01 +0000 (13:33 -0700)
commit796e9fa16c4358e335e778ec790fce9012a46e08
treefacebcc992ee3ac1c8c02224bdbfa0506b0b5ef0
parent2ba26979f2839b7785d9cce532cdbabe9a68f786
Initialize QP state to RESET

For newly created QPs, set qp->state to IBV_QPS_RESET.  At least
libmlx4 needs this fix, or else it won't correctly initialize the QP's
send queue when transitioning to INIT.

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
src/verbs.c