Message ID | 20110305024546.GA29147@obsidianresearch.com (mailing list archive) |
---|---|
State | Rejected |
Headers | show |
diff --git a/src/cq.c b/src/cq.c index 2d04883..bc53f9b 100644 --- a/src/cq.c +++ b/src/cq.c @@ -317,7 +317,7 @@ static int mlx4_poll_one(struct mlx4_cq *cq, wc->src_qp = ntohl(cqe->g_mlpath_rqpn) & 0xffffff; wc->dlid_path_bits = (ntohl(cqe->g_mlpath_rqpn) >> 24) & 0x7f; wc->pkey_index = ntohl(cqe->immed_rss_invalid) >> 16; - wc->wc_flags |= ntohs(cqe->g_mlpath_rqpn) & 0x80000000 ? + wc->wc_flags |= ntohl(cqe->g_mlpath_rqpn) & 0x80000000 ? IBV_WC_GRH : 0; }