Home
last modified time | relevance | path

Searched refs:wc_flags (Results 1 – 25 of 37) sorted by relevance

12

/Linux-v4.19/drivers/infiniband/hw/mlx4/
Dcq.c600 wc->wc_flags |= (hdr->tun.g_ml_path & 0x80) ? (IB_WC_GRH) : 0; in use_tunnel_data()
608 wc->wc_flags |= (IB_WC_WITH_VLAN | IB_WC_WITH_SMAC); in use_tunnel_data()
772 wc->wc_flags = 0; in mlx4_ib_poll_one()
775 wc->wc_flags |= IB_WC_WITH_IMM; in mlx4_ib_poll_one()
781 wc->wc_flags |= IB_WC_WITH_IMM; in mlx4_ib_poll_one()
823 wc->wc_flags = IB_WC_WITH_IMM; in mlx4_ib_poll_one()
828 wc->wc_flags = IB_WC_WITH_INVALIDATE; in mlx4_ib_poll_one()
833 wc->wc_flags = 0; in mlx4_ib_poll_one()
837 wc->wc_flags = IB_WC_WITH_IMM; in mlx4_ib_poll_one()
858 wc->wc_flags |= g_mlpath_rqpn & 0x80000000 ? IB_WC_GRH : 0; in mlx4_ib_poll_one()
[all …]
Dmad.c164 (in_wc->wc_flags & IB_WC_GRH ? 0x80 : 0); in mlx4_MAD_IFC()
602 tun_mad->hdr.g_ml_path = (grh && (wc->wc_flags & IB_WC_GRH)) ? 0x80 : 0; in mlx4_ib_send_to_slave()
685 if (!(wc->wc_flags & IB_WC_GRH)) { in mlx4_ib_demux_mad()
735 if (wc->wc_flags & IB_WC_GRH) { in mlx4_ib_demux_mad()
816 in_wc->wc_flags, in ib_process_mad()
819 if (in_wc->wc_flags & IB_WC_GRH) { in ib_process_mad()
/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_cq.c583 entry->wc_flags = 0; in mthca_poll_one()
590 entry->wc_flags |= IB_WC_WITH_IMM; in mthca_poll_one()
597 entry->wc_flags |= IB_WC_WITH_IMM; in mthca_poll_one()
620 entry->wc_flags = IB_WC_WITH_IMM; in mthca_poll_one()
626 entry->wc_flags = IB_WC_WITH_IMM; in mthca_poll_one()
631 entry->wc_flags = 0; in mthca_poll_one()
640 entry->wc_flags |= cqe->g_mlpath & 0x80 ? IB_WC_GRH : 0; in mthca_poll_one()
643 entry->wc_flags |= (cqe->sl_ipok & 1 && checksum == 0xffff) ? in mthca_poll_one()
/Linux-v4.19/drivers/infiniband/hw/cxgb3/
Diwch_cq.c62 wc->wc_flags = 0; in __iwch_poll_cq_one()
79 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in __iwch_poll_cq_one()
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_ud.c128 wc.wc_flags = IB_WC_WITH_IMM; in qib_ud_loopback()
167 wc.wc_flags |= IB_WC_GRH; in qib_ud_loopback()
515 wc.wc_flags = IB_WC_WITH_IMM; in qib_ud_rcv()
519 wc.wc_flags = 0; in qib_ud_rcv()
556 wc.wc_flags |= IB_WC_GRH; in qib_ud_rcv()
Dqib_uc.c369 wc.wc_flags = IB_WC_WITH_IMM; in qib_uc_rcv()
374 wc.wc_flags = 0; in qib_uc_rcv()
459 wc.wc_flags = IB_WC_WITH_IMM; in qib_uc_rcv()
Dqib_ruc.c268 wc.wc_flags = IB_WC_WITH_IMM; in qib_ruc_loopback()
282 wc.wc_flags = IB_WC_WITH_IMM; in qib_ruc_loopback()
Dqib_rc.c1874 wc.wc_flags = IB_WC_WITH_IMM; in qib_rc_rcv()
1879 wc.wc_flags = 0; in qib_rc_rcv()
1961 wc.wc_flags = IB_WC_WITH_IMM; in qib_rc_rcv()
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dcq.c118 wc->wc_flags = 0; in handle_good_req()
121 wc->wc_flags |= IB_WC_WITH_IMM; in handle_good_req()
127 wc->wc_flags |= IB_WC_WITH_IMM; in handle_good_req()
203 wc->wc_flags = IB_WC_WITH_IMM; in handle_responder()
208 wc->wc_flags = IB_WC_IP_CSUM_OK; in handle_responder()
211 wc->wc_flags = 0; in handle_responder()
215 wc->wc_flags = IB_WC_WITH_IMM; in handle_responder()
220 wc->wc_flags = IB_WC_WITH_INVALIDATE; in handle_responder()
227 wc->wc_flags |= g ? IB_WC_GRH : 0; in handle_responder()
249 wc->wc_flags |= IB_WC_WITH_VLAN; in handle_responder()
[all …]
/Linux-v4.19/drivers/infiniband/sw/rxe/
Drxe_resp.c860 uwc->wc_flags = IB_WC_GRH; in do_complete()
863 uwc->wc_flags |= IB_WC_WITH_IMM; in do_complete()
868 uwc->wc_flags |= IB_WC_WITH_INVALIDATE; in do_complete()
881 wc->wc_flags = IB_WC_GRH | IB_WC_WITH_NETWORK_HDR_TYPE; in do_complete()
888 wc->wc_flags |= IB_WC_WITH_VLAN; in do_complete()
893 wc->wc_flags |= IB_WC_WITH_IMM; in do_complete()
901 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in do_complete()
Drxe_comp.c403 wc->wc_flags = IB_WC_WITH_IMM; in make_send_cqe()
414 uwc->wc_flags = IB_WC_WITH_IMM; in make_send_cqe()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dud.c152 wc.wc_flags = IB_WC_WITH_IMM; in ud_loopback()
215 wc.wc_flags |= IB_WC_GRH; in ud_loopback()
982 wc.wc_flags = IB_WC_WITH_IMM; in hfi1_ud_rcv()
986 wc.wc_flags = 0; in hfi1_ud_rcv()
1024 wc.wc_flags |= IB_WC_GRH; in hfi1_ud_rcv()
1035 wc.wc_flags |= IB_WC_GRH; in hfi1_ud_rcv()
Duc.c435 wc.wc_flags = IB_WC_WITH_IMM; in hfi1_uc_rcv()
440 wc.wc_flags = 0; in hfi1_uc_rcv()
532 wc.wc_flags = IB_WC_WITH_IMM; in hfi1_uc_rcv()
Druc.c265 wc.wc_flags = IB_WC_WITH_INVALIDATE; in ruc_loopback()
271 wc.wc_flags = IB_WC_WITH_IMM; in ruc_loopback()
286 wc.wc_flags = IB_WC_WITH_IMM; in ruc_loopback()
Drc.c2176 wc.wc_flags = IB_WC_WITH_IMM; in hfi1_rc_rcv()
2184 wc.wc_flags = IB_WC_WITH_INVALIDATE; in hfi1_rc_rcv()
2191 wc.wc_flags = 0; in hfi1_rc_rcv()
2283 wc.wc_flags = IB_WC_WITH_IMM; in hfi1_rc_rcv()
/Linux-v4.19/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_cq.c374 wc->wc_flags = pvrdma_wc_flags_to_ib(cqe->wc_flags); in pvrdma_poll_one()
/Linux-v4.19/drivers/infiniband/sw/rdmavt/
Dcq.c108 wc->uqueue[head].wc_flags = entry->wc_flags; in rvt_cq_enter()
/Linux-v4.19/include/uapi/rdma/
Dvmw_pvrdma-abi.h285 __u32 wc_flags; member
/Linux-v4.19/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c691 wc[i].wc_flags |= IB_WC_GRH | IB_WC_IP_CSUM_OK; in qedr_gsi_poll_cq()
693 wc[i].wc_flags |= IB_WC_WITH_SMAC; in qedr_gsi_poll_cq()
698 wc[i].wc_flags |= IB_WC_WITH_VLAN; in qedr_gsi_poll_cq()
/Linux-v4.19/drivers/infiniband/hw/cxgb4/
Dcq.c773 wc->wc_flags = 0; in __c4iw_poll_cq_one()
803 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in __c4iw_poll_cq_one()
809 wc->wc_flags |= IB_WC_WITH_IMM; in __c4iw_poll_cq_one()
830 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in __c4iw_poll_cq_one()
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c2785 wc->wc_flags |= IB_WC_WITH_IMM; in bnxt_re_process_req_wc()
2789 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in bnxt_re_process_req_wc()
2796 wc->wc_flags |= IB_WC_WITH_IMM; in bnxt_re_process_req_wc()
3032 wc->wc_flags |= IB_WC_GRH; in bnxt_re_process_res_rawqp1_wc()
3068 wc->wc_flags |= IB_WC_WITH_IMM; in bnxt_re_process_res_rc_wc()
3070 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in bnxt_re_process_res_rc_wc()
3105 wc->wc_flags |= IB_WC_WITH_VLAN; in bnxt_re_process_res_shadow_qp_wc()
3112 wc->wc_flags |= IB_WC_GRH; in bnxt_re_process_res_shadow_qp_wc()
3118 wc->wc_flags |= IB_WC_WITH_NETWORK_HDR_TYPE; in bnxt_re_process_res_shadow_qp_wc()
3129 wc->wc_flags |= IB_WC_WITH_IMM; in bnxt_re_process_res_ud_wc()
[all …]
/Linux-v4.19/drivers/infiniband/ulp/ipoib/
Dipoib_ib.c226 if (!(wc->wc_flags & IB_WC_GRH) || dgid->raw[0] != 0xff) in ipoib_ib_handle_rx_wc()
242 if ((wc->wc_flags & IB_WC_GRH) && in ipoib_ib_handle_rx_wc()
264 likely(wc->wc_flags & IB_WC_IP_CSUM_OK)) in ipoib_ib_handle_rx_wc()
/Linux-v4.19/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c2651 ibwc->wc_flags = 0; in ocrdma_poll_success_scqe()
2692 ibwc->wc_flags = IB_WC_GRH; in ocrdma_update_ud_rcqe()
2701 ibwc->wc_flags |= IB_WC_WITH_NETWORK_HDR_TYPE; in ocrdma_update_ud_rcqe()
2780 ibwc->wc_flags |= IB_WC_WITH_IMM; in ocrdma_poll_success_rcqe()
2784 ibwc->wc_flags |= IB_WC_WITH_IMM; in ocrdma_poll_success_rcqe()
2787 ibwc->wc_flags |= IB_WC_WITH_INVALIDATE; in ocrdma_poll_success_rcqe()
2803 ibwc->wc_flags = 0; in ocrdma_poll_rcqe()
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c2151 wc->wc_flags = 0; in hns_roce_v2_poll_one()
2163 wc->wc_flags |= IB_WC_WITH_IMM; in hns_roce_v2_poll_one()
2174 wc->wc_flags |= IB_WC_WITH_IMM; in hns_roce_v2_poll_one()
2178 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in hns_roce_v2_poll_one()
2232 wc->wc_flags = IB_WC_WITH_IMM; in hns_roce_v2_poll_one()
2238 wc->wc_flags = 0; in hns_roce_v2_poll_one()
2242 wc->wc_flags = IB_WC_WITH_IMM; in hns_roce_v2_poll_one()
2248 wc->wc_flags = IB_WC_WITH_INVALIDATE; in hns_roce_v2_poll_one()
2277 wc->wc_flags |= (roce_get_bit(cqe->byte_32, in hns_roce_v2_poll_one()
2291 wc->wc_flags |= (IB_WC_WITH_VLAN | IB_WC_WITH_SMAC); in hns_roce_v2_poll_one()
/Linux-v4.19/drivers/infiniband/core/
Dverbs.c749 if (wc->wc_flags & IB_WC_WITH_NETWORK_HDR_TYPE) in ib_init_ah_attr_from_wc()
764 u16 vlan_id = wc->wc_flags & IB_WC_WITH_VLAN ? in ib_init_ah_attr_from_wc()
767 if (!(wc->wc_flags & IB_WC_GRH)) in ib_init_ah_attr_from_wc()
793 if ((wc->wc_flags & IB_WC_GRH) == 0) in ib_init_ah_attr_from_wc()

12