Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dcq.c597 wc->wc_flags |= (hdr->tun.g_ml_path & 0x80) ? (IB_WC_GRH) : 0; in use_tunnel_data()
605 wc->wc_flags |= (IB_WC_WITH_VLAN | IB_WC_WITH_SMAC); in use_tunnel_data()
769 wc->wc_flags = 0; in mlx4_ib_poll_one()
772 wc->wc_flags |= IB_WC_WITH_IMM; in mlx4_ib_poll_one()
778 wc->wc_flags |= IB_WC_WITH_IMM; in mlx4_ib_poll_one()
820 wc->wc_flags = IB_WC_WITH_IMM; in mlx4_ib_poll_one()
825 wc->wc_flags = IB_WC_WITH_INVALIDATE; in mlx4_ib_poll_one()
830 wc->wc_flags = 0; in mlx4_ib_poll_one()
834 wc->wc_flags = IB_WC_WITH_IMM; in mlx4_ib_poll_one()
855 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()
817 in_wc->wc_flags, in ib_process_mad()
821 if (in_wc->wc_flags & IB_WC_GRH) { in ib_process_mad()
/Linux-v5.4/drivers/infiniband/hw/mthca/
Dmthca_cq.c578 entry->wc_flags = 0; in mthca_poll_one()
585 entry->wc_flags |= IB_WC_WITH_IMM; in mthca_poll_one()
592 entry->wc_flags |= IB_WC_WITH_IMM; in mthca_poll_one()
615 entry->wc_flags = IB_WC_WITH_IMM; in mthca_poll_one()
621 entry->wc_flags = IB_WC_WITH_IMM; in mthca_poll_one()
626 entry->wc_flags = 0; in mthca_poll_one()
635 entry->wc_flags |= cqe->g_mlpath & 0x80 ? IB_WC_GRH : 0; in mthca_poll_one()
638 entry->wc_flags |= (cqe->sl_ipok & 1 && checksum == 0xffff) ? in mthca_poll_one()
/Linux-v5.4/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-v5.4/drivers/infiniband/hw/qib/
Dqib_ud.c129 wc.wc_flags = IB_WC_WITH_IMM; in qib_ud_loopback()
168 wc.wc_flags |= IB_WC_GRH; in qib_ud_loopback()
511 wc.wc_flags = IB_WC_WITH_IMM; in qib_ud_rcv()
514 wc.wc_flags = 0; in qib_ud_rcv()
551 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()
458 wc.wc_flags = IB_WC_WITH_IMM; in qib_uc_rcv()
Dqib_rc.c1847 wc.wc_flags = IB_WC_WITH_IMM; in qib_rc_rcv()
1852 wc.wc_flags = 0; in qib_rc_rcv()
1933 wc.wc_flags = IB_WC_WITH_IMM; in qib_rc_rcv()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dcq.c119 wc->wc_flags = 0; in handle_good_req()
122 wc->wc_flags |= IB_WC_WITH_IMM; in handle_good_req()
128 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-v5.4/drivers/infiniband/sw/rxe/
Drxe_resp.c868 uwc->wc_flags = IB_WC_GRH; in do_complete()
871 uwc->wc_flags |= IB_WC_WITH_IMM; in do_complete()
876 uwc->wc_flags |= IB_WC_WITH_INVALIDATE; in do_complete()
889 wc->wc_flags = IB_WC_GRH | IB_WC_WITH_NETWORK_HDR_TYPE; in do_complete()
896 wc->wc_flags |= IB_WC_WITH_VLAN; in do_complete()
901 wc->wc_flags |= IB_WC_WITH_IMM; in do_complete()
908 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in do_complete()
Drxe_comp.c415 wc->wc_flags = IB_WC_WITH_IMM; in make_send_cqe()
426 uwc->wc_flags = IB_WC_WITH_IMM; in make_send_cqe()
/Linux-v5.4/drivers/infiniband/sw/siw/
Dsiw_cq.c71 wc->wc_flags = IB_WC_WITH_INVALIDATE; in siw_reap_cqe()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dud.c153 wc.wc_flags = IB_WC_WITH_IMM; in ud_loopback()
216 wc.wc_flags |= IB_WC_GRH; in ud_loopback()
969 wc.wc_flags = IB_WC_WITH_IMM; in hfi1_ud_rcv()
972 wc.wc_flags = 0; in hfi1_ud_rcv()
1010 wc.wc_flags |= IB_WC_GRH; in hfi1_ud_rcv()
1021 wc.wc_flags |= IB_WC_GRH; in hfi1_ud_rcv()
Duc.c436 wc.wc_flags = IB_WC_WITH_IMM; in hfi1_uc_rcv()
441 wc.wc_flags = 0; in hfi1_uc_rcv()
532 wc.wc_flags = IB_WC_WITH_IMM; in hfi1_uc_rcv()
Drc.c2948 wc.wc_flags = IB_WC_WITH_IMM; in hfi1_rc_rcv()
2956 wc.wc_flags = IB_WC_WITH_INVALIDATE; in hfi1_rc_rcv()
2963 wc.wc_flags = 0; in hfi1_rc_rcv()
3054 wc.wc_flags = IB_WC_WITH_IMM; in hfi1_rc_rcv()
/Linux-v5.4/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_cq.c359 wc->wc_flags = pvrdma_wc_flags_to_ib(cqe->wc_flags); in pvrdma_poll_one()
/Linux-v5.4/drivers/infiniband/sw/rdmavt/
Dtrace_cq.h133 __entry->flags = wc->wc_flags;
Dcq.c130 uqueue[head].wc_flags = entry->wc_flags; in rvt_cq_enter()
/Linux-v5.4/include/uapi/rdma/
Dvmw_pvrdma-abi.h286 __u32 wc_flags; member
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c2726 wc->wc_flags |= IB_WC_WITH_IMM; in bnxt_re_process_req_wc()
2730 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in bnxt_re_process_req_wc()
2737 wc->wc_flags |= IB_WC_WITH_IMM; in bnxt_re_process_req_wc()
2973 wc->wc_flags |= IB_WC_GRH; in bnxt_re_process_res_rawqp1_wc()
3009 wc->wc_flags |= IB_WC_WITH_IMM; in bnxt_re_process_res_rc_wc()
3011 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in bnxt_re_process_res_rc_wc()
3046 wc->wc_flags |= IB_WC_WITH_VLAN; in bnxt_re_process_res_shadow_qp_wc()
3053 wc->wc_flags |= IB_WC_GRH; in bnxt_re_process_res_shadow_qp_wc()
3059 wc->wc_flags |= IB_WC_WITH_NETWORK_HDR_TYPE; in bnxt_re_process_res_shadow_qp_wc()
3073 wc->wc_flags |= IB_WC_WITH_IMM; in bnxt_re_process_res_ud_wc()
[all …]
/Linux-v5.4/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c694 wc[i].wc_flags |= IB_WC_GRH | IB_WC_IP_CSUM_OK; in qedr_gsi_poll_cq()
696 wc[i].wc_flags |= IB_WC_WITH_SMAC; in qedr_gsi_poll_cq()
701 wc[i].wc_flags |= IB_WC_WITH_VLAN; in qedr_gsi_poll_cq()
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Dcq.c772 wc->wc_flags = 0; in __c4iw_poll_cq_one()
802 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in __c4iw_poll_cq_one()
808 wc->wc_flags |= IB_WC_WITH_IMM; in __c4iw_poll_cq_one()
829 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in __c4iw_poll_cq_one()
/Linux-v5.4/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-v5.4/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c2583 ibwc->wc_flags = 0; in ocrdma_poll_success_scqe()
2624 ibwc->wc_flags = IB_WC_GRH; in ocrdma_update_ud_rcqe()
2633 ibwc->wc_flags |= IB_WC_WITH_NETWORK_HDR_TYPE; in ocrdma_update_ud_rcqe()
2712 ibwc->wc_flags |= IB_WC_WITH_IMM; in ocrdma_poll_success_rcqe()
2716 ibwc->wc_flags |= IB_WC_WITH_IMM; in ocrdma_poll_success_rcqe()
2719 ibwc->wc_flags |= IB_WC_WITH_INVALIDATE; in ocrdma_poll_success_rcqe()
2735 ibwc->wc_flags = 0; in ocrdma_poll_rcqe()
/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c2832 wc->wc_flags = 0; in hns_roce_v2_poll_one()
2844 wc->wc_flags |= IB_WC_WITH_IMM; in hns_roce_v2_poll_one()
2855 wc->wc_flags |= IB_WC_WITH_IMM; in hns_roce_v2_poll_one()
2859 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in hns_roce_v2_poll_one()
2896 wc->wc_flags = IB_WC_WITH_IMM; in hns_roce_v2_poll_one()
2902 wc->wc_flags = 0; in hns_roce_v2_poll_one()
2906 wc->wc_flags = IB_WC_WITH_IMM; in hns_roce_v2_poll_one()
2912 wc->wc_flags = IB_WC_WITH_INVALIDATE; in hns_roce_v2_poll_one()
2937 wc->wc_flags |= (roce_get_bit(cqe->byte_32, in hns_roce_v2_poll_one()
2950 wc->wc_flags |= IB_WC_WITH_SMAC; in hns_roce_v2_poll_one()
[all …]
/Linux-v5.4/drivers/infiniband/core/
Dverbs.c784 if (wc->wc_flags & IB_WC_WITH_NETWORK_HDR_TYPE) in ib_init_ah_attr_from_wc()
799 u16 vlan_id = wc->wc_flags & IB_WC_WITH_VLAN ? in ib_init_ah_attr_from_wc()
802 if (!(wc->wc_flags & IB_WC_GRH)) in ib_init_ah_attr_from_wc()
828 if ((wc->wc_flags & IB_WC_GRH) == 0) in ib_init_ah_attr_from_wc()

12