Skip to contentSkip to conversation

ibv_poll_cq misbehaving with RoCE 40Gbps

DISCUSSION xrg.dev-8HG2SOrYmURWk0Htik3J/[email protected] 1 participant 1 message Sep 13, 2013 InfiniBand

lore
Share & tools
lore
#0 lore raw

Hello list,

I am experiencing a strange behavior with ibv_poll_cq on RoCE 40 Gb. When calling the following:

int N = ibv_poll_cq (CQ, DEPTH, WC);

N sometimes becomes equal to DEPTH, although the number of outstanding WR is well below DEPTH. In our current example, DEPTH = 128 and the # of outstanding requests is 4. With N >> # of valid WC, scanning the WC array produces, of course, errors.

I am using RHEL 6.4 with the OFED distribution provided by RH. Any clue were this error may be coming from ?

Thanks,
Xavier

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html