|
@@ -720,7 +720,8 @@ repoll:
|
|
|
wc->dlid_path_bits = (g_mlpath_rqpn >> 24) & 0x7f;
|
|
|
wc->wc_flags |= g_mlpath_rqpn & 0x80000000 ? IB_WC_GRH : 0;
|
|
|
wc->pkey_index = be32_to_cpu(cqe->immed_rss_invalid) & 0x7f;
|
|
|
- wc->csum_ok = mlx4_ib_ipoib_csum_ok(cqe->status, cqe->checksum);
|
|
|
+ wc->wc_flags |= mlx4_ib_ipoib_csum_ok(cqe->status,
|
|
|
+ cqe->checksum) ? IB_WC_IP_CSUM_OK : 0;
|
|
|
if (rdma_port_get_link_layer(wc->qp->device,
|
|
|
(*cur_qp)->port) == IB_LINK_LAYER_ETHERNET)
|
|
|
wc->sl = be16_to_cpu(cqe->sl_vid) >> 13;
|