Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dcq.c592 wc->wc_flags |= (hdr->tun.g_ml_path & 0x80) ? (IB_WC_GRH) : 0; in use_tunnel_data()
600 wc->wc_flags |= (IB_WC_WITH_VLAN | IB_WC_WITH_SMAC); in use_tunnel_data()
764 wc->wc_flags = 0; in mlx4_ib_poll_one()
767 wc->wc_flags |= IB_WC_WITH_IMM; in mlx4_ib_poll_one()
773 wc->wc_flags |= IB_WC_WITH_IMM; in mlx4_ib_poll_one()
815 wc->wc_flags = IB_WC_WITH_IMM; in mlx4_ib_poll_one()
820 wc->wc_flags = IB_WC_WITH_INVALIDATE; in mlx4_ib_poll_one()
825 wc->wc_flags = 0; in mlx4_ib_poll_one()
829 wc->wc_flags = IB_WC_WITH_IMM; in mlx4_ib_poll_one()
850 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()
620 tun_mad->hdr.g_ml_path = (grh && (wc->wc_flags & IB_WC_GRH)) ? 0x80 : 0; in mlx4_ib_send_to_slave()
703 if (!(wc->wc_flags & IB_WC_GRH)) { in mlx4_ib_demux_mad()
754 if (wc->wc_flags & IB_WC_GRH) { in mlx4_ib_demux_mad()
/linux-6.1.9/drivers/infiniband/hw/erdma/
Derdma_cq.c158 wc->wc_flags = 0; in erdma_poll_one_cqe()
163 wc->wc_flags |= IB_WC_WITH_IMM; in erdma_poll_one_cqe()
166 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in erdma_poll_one_cqe()
/linux-6.1.9/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-6.1.9/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()
512 wc.wc_flags = IB_WC_WITH_IMM; in qib_ud_rcv()
515 wc.wc_flags = 0; in qib_ud_rcv()
552 wc.wc_flags |= IB_WC_GRH; in qib_ud_rcv()
Dqib_uc.c370 wc.wc_flags = IB_WC_WITH_IMM; in qib_uc_rcv()
375 wc.wc_flags = 0; in qib_uc_rcv()
459 wc.wc_flags = IB_WC_WITH_IMM; in qib_uc_rcv()
Dqib_rc.c1850 wc.wc_flags = IB_WC_WITH_IMM; in qib_rc_rcv()
1855 wc.wc_flags = 0; in qib_rc_rcv()
1936 wc.wc_flags = IB_WC_WITH_IMM; in qib_rc_rcv()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dcq.c120 wc->wc_flags = 0; in handle_good_req()
123 wc->wc_flags |= IB_WC_WITH_IMM; in handle_good_req()
129 wc->wc_flags |= IB_WC_WITH_IMM; in handle_good_req()
205 wc->wc_flags = IB_WC_WITH_IMM; in handle_responder()
210 wc->wc_flags = IB_WC_IP_CSUM_OK; in handle_responder()
213 wc->wc_flags = 0; in handle_responder()
217 wc->wc_flags = IB_WC_WITH_IMM; in handle_responder()
222 wc->wc_flags = IB_WC_WITH_INVALIDATE; in handle_responder()
229 wc->wc_flags |= g ? IB_WC_GRH : 0; in handle_responder()
251 wc->wc_flags |= IB_WC_WITH_VLAN; in handle_responder()
[all …]
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dud.c111 wc.wc_flags = IB_WC_WITH_IMM; in ud_loopback()
174 wc.wc_flags |= IB_WC_GRH; in ud_loopback()
923 wc.wc_flags = IB_WC_WITH_IMM; in hfi1_ud_rcv()
926 wc.wc_flags = 0; in hfi1_ud_rcv()
964 wc.wc_flags |= IB_WC_GRH; in hfi1_ud_rcv()
975 wc.wc_flags |= IB_WC_GRH; in hfi1_ud_rcv()
Duc.c390 wc.wc_flags = IB_WC_WITH_IMM; in hfi1_uc_rcv()
395 wc.wc_flags = 0; in hfi1_uc_rcv()
486 wc.wc_flags = IB_WC_WITH_IMM; in hfi1_uc_rcv()
Drc.c2906 wc.wc_flags = IB_WC_WITH_IMM; in hfi1_rc_rcv()
2914 wc.wc_flags = IB_WC_WITH_INVALIDATE; in hfi1_rc_rcv()
2921 wc.wc_flags = 0; in hfi1_rc_rcv()
3012 wc.wc_flags = IB_WC_WITH_IMM; in hfi1_rc_rcv()
/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_resp.c962 uwc->wc_flags = IB_WC_GRH; in do_complete()
965 uwc->wc_flags |= IB_WC_WITH_IMM; in do_complete()
970 uwc->wc_flags |= IB_WC_WITH_INVALIDATE; in do_complete()
981 wc->wc_flags = IB_WC_GRH | IB_WC_WITH_NETWORK_HDR_TYPE; in do_complete()
988 wc->wc_flags |= IB_WC_WITH_VLAN; in do_complete()
993 wc->wc_flags |= IB_WC_WITH_IMM; in do_complete()
998 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in do_complete()
Drxe_comp.c405 wc->wc_flags = IB_WC_WITH_IMM; in make_send_cqe()
411 uwc->wc_flags = IB_WC_WITH_IMM; in make_send_cqe()
/linux-6.1.9/drivers/infiniband/sw/siw/
Dsiw_cq.c69 wc->wc_flags = IB_WC_WITH_INVALIDATE; in siw_reap_cqe()
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_cq.c363 wc->wc_flags = pvrdma_wc_flags_to_ib(cqe->wc_flags); in pvrdma_poll_one()
/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dtrace_cq.h91 __entry->flags = wc->wc_flags;
Dcq.c88 uqueue[head].wc_flags = entry->wc_flags; in rvt_cq_enter()
/linux-6.1.9/include/uapi/rdma/
Dvmw_pvrdma-abi.h298 __u32 wc_flags; member
/linux-6.1.9/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c693 wc[i].wc_flags |= IB_WC_GRH | IB_WC_IP_CSUM_OK; in qedr_gsi_poll_cq()
695 wc[i].wc_flags |= IB_WC_WITH_SMAC; in qedr_gsi_poll_cq()
700 wc[i].wc_flags |= IB_WC_WITH_VLAN; in qedr_gsi_poll_cq()
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c3006 wc->wc_flags |= IB_WC_WITH_IMM; in bnxt_re_process_req_wc()
3010 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in bnxt_re_process_req_wc()
3017 wc->wc_flags |= IB_WC_WITH_IMM; in bnxt_re_process_req_wc()
3254 wc->wc_flags |= IB_WC_GRH; in bnxt_re_process_res_rawqp1_wc()
3303 wc->wc_flags |= IB_WC_WITH_IMM; in bnxt_re_process_res_rc_wc()
3305 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in bnxt_re_process_res_rc_wc()
3341 wc->wc_flags |= IB_WC_WITH_VLAN; in bnxt_re_process_res_shadow_qp_wc()
3349 wc->wc_flags |= IB_WC_GRH; in bnxt_re_process_res_shadow_qp_wc()
3355 wc->wc_flags |= IB_WC_WITH_NETWORK_HDR_TYPE; in bnxt_re_process_res_shadow_qp_wc()
3372 wc->wc_flags |= IB_WC_WITH_IMM; in bnxt_re_process_res_ud_wc()
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c2569 ibwc->wc_flags = 0; in ocrdma_poll_success_scqe()
2610 ibwc->wc_flags = IB_WC_GRH; in ocrdma_update_ud_rcqe()
2619 ibwc->wc_flags |= IB_WC_WITH_NETWORK_HDR_TYPE; in ocrdma_update_ud_rcqe()
2698 ibwc->wc_flags |= IB_WC_WITH_IMM; in ocrdma_poll_success_rcqe()
2702 ibwc->wc_flags |= IB_WC_WITH_IMM; in ocrdma_poll_success_rcqe()
2705 ibwc->wc_flags |= IB_WC_WITH_INVALIDATE; in ocrdma_poll_success_rcqe()
2721 ibwc->wc_flags = 0; in ocrdma_poll_rcqe()
/linux-6.1.9/drivers/infiniband/core/
Dverbs.c803 if (wc->wc_flags & IB_WC_WITH_NETWORK_HDR_TYPE) in ib_init_ah_attr_from_wc()
818 u16 vlan_id = wc->wc_flags & IB_WC_WITH_VLAN ? in ib_init_ah_attr_from_wc()
821 if (!(wc->wc_flags & IB_WC_GRH)) in ib_init_ah_attr_from_wc()
847 if ((wc->wc_flags & IB_WC_GRH) == 0) in ib_init_ah_attr_from_wc()
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dverbs.c3335 entry->wc_flags = 0; in irdma_process_cqe()
3352 entry->wc_flags |= IB_WC_WITH_IMM; in irdma_process_cqe()
3356 entry->wc_flags |= IB_WC_WITH_SMAC; in irdma_process_cqe()
3365 entry->wc_flags |= IB_WC_WITH_VLAN; in irdma_process_cqe()
3381 entry->wc_flags |= IB_WC_WITH_INVALIDATE; in irdma_process_cqe()
3388 entry->wc_flags |= in irdma_process_cqe()

12