verbs: try alternate parameters to set QP02/702/2
commitce5d773919690e622da14b1cc89f4410be834530
authorNikhil Jain <nikhil.jain@acm.org>
Thu, 30 Apr 2015 17:37:54 +0000 (30 10:37 -0700)
committerNikhil Jain <nikhil.jain@acm.org>
Thu, 30 Apr 2015 18:35:03 +0000 (30 11:35 -0700)
tree6bb33b24b479ac5bebb2a26fb09fc995c5b18229
parentcaa764fcaebb29db36edb3fc366ef4a34771c803
verbs: try alternate parameters to set QP

Mellanox and QLOGIC requires different attribute values. Hence,
we first try one set of parameters, and if that does not work, try
the other. This way, if the user does not specify -DQLOGIC, we still
get a working code.

Change-Id: Idfe860ca4a43fdf0695779de68cb986a2052cc25
src/arch/net/machine-ibverbs.c
src/arch/verbs/machine-ibverbs.c