IB_WC_GRH
if (has_grh != !!(rwc->wc->wc_flags & IB_WC_GRH))
packet->mad.hdr.grh_present = !!(mad_recv_wc->wc->wc_flags & IB_WC_GRH);
if (!(wc->wc_flags & IB_WC_GRH))
if ((wc->wc_flags & IB_WC_GRH) == 0)
wc->wc_flags |= IB_WC_GRH;
wc->wc_flags |= IB_WC_GRH;
wc->wc_flags |= IB_WC_GRH;
wc->wc_flags |= (IB_WC_GRH | IB_WC_WITH_NETWORK_HDR_TYPE);
wc.wc_flags |= IB_WC_GRH;
wc.wc_flags |= IB_WC_GRH;
wc.wc_flags |= IB_WC_GRH;
wc->wc_flags |= hr_reg_read(cqe, CQE_GRH) ? IB_WC_GRH : 0;
wc->wc_flags |= IB_WC_GRH | IB_WC_WITH_SMAC;
(IB_WC_GRH | IB_WC_WITH_NETWORK_HDR_TYPE);
wc->wc_flags |= IB_WC_GRH;
wc->wc_flags |= (hdr->tun.g_ml_path & 0x80) ? (IB_WC_GRH) : 0;
wc->wc_flags |= g_mlpath_rqpn & 0x80000000 ? IB_WC_GRH : 0;
(in_wc->wc_flags & IB_WC_GRH ? 0x80 : 0);
tun_mad->hdr.g_ml_path = (grh && (wc->wc_flags & IB_WC_GRH)) ? 0x80 : 0;
if (!(wc->wc_flags & IB_WC_GRH)) {
if (wc->wc_flags & IB_WC_GRH) {
wc->wc_flags |= g ? IB_WC_GRH : 0;
(in_wc->wc_flags & IB_WC_GRH ? 0x80 : 0);
entry->wc_flags |= cqe->g_mlpath & 0x80 ? IB_WC_GRH : 0;
ibwc->wc_flags = IB_WC_GRH;
wc[i].wc_flags |= IB_WC_GRH | IB_WC_IP_CSUM_OK;
uwc->wc_flags = IB_WC_GRH;
wc->wc_flags = IB_WC_GRH | IB_WC_WITH_NETWORK_HDR_TYPE;
if (!(wc->wc_flags & IB_WC_GRH) || dgid->raw[0] != 0xff)
if ((wc->wc_flags & IB_WC_GRH) &&