Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.6.21/drivers/infiniband/hw/erdma/
Derdma_cq.c160 wc->wc_flags = 0; in erdma_poll_one_cqe()
165 wc->wc_flags |= IB_WC_WITH_IMM; in erdma_poll_one_cqe()
168 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in erdma_poll_one_cqe()
/linux-6.6.21/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.6.21/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.6.21/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.6.21/tools/testing/selftests/bpf/progs/
Dbtf_dump_test_case_padding.c184 int wc_flags; member
/linux-6.6.21/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.6.21/drivers/infiniband/sw/siw/
Dsiw_cq.c69 wc->wc_flags = IB_WC_WITH_INVALIDATE; in siw_reap_cqe()
/linux-6.6.21/drivers/infiniband/sw/rxe/
Drxe_resp.c1089 uwc->wc_flags = IB_WC_GRH; in do_complete()
1092 uwc->wc_flags |= IB_WC_WITH_IMM; in do_complete()
1097 uwc->wc_flags |= IB_WC_WITH_INVALIDATE; in do_complete()
1108 wc->wc_flags = IB_WC_GRH | IB_WC_WITH_NETWORK_HDR_TYPE; in do_complete()
1115 wc->wc_flags |= IB_WC_WITH_VLAN; in do_complete()
1120 wc->wc_flags |= IB_WC_WITH_IMM; in do_complete()
1125 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in do_complete()
Drxe_comp.c425 wc->wc_flags = IB_WC_WITH_IMM; in make_send_cqe()
431 uwc->wc_flags = IB_WC_WITH_IMM; in make_send_cqe()
/linux-6.6.21/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.6.21/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.6.21/include/uapi/rdma/
Dvmw_pvrdma-abi.h298 __u32 wc_flags; member
/linux-6.6.21/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c692 wc[i].wc_flags |= IB_WC_GRH | IB_WC_IP_CSUM_OK; in qedr_gsi_poll_cq()
694 wc[i].wc_flags |= IB_WC_WITH_SMAC; in qedr_gsi_poll_cq()
699 wc[i].wc_flags |= IB_WC_WITH_VLAN; in qedr_gsi_poll_cq()
/linux-6.6.21/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.6.21/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c3219 wc->wc_flags |= IB_WC_WITH_IMM; in bnxt_re_process_req_wc()
3223 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in bnxt_re_process_req_wc()
3230 wc->wc_flags |= IB_WC_WITH_IMM; in bnxt_re_process_req_wc()
3460 wc->wc_flags |= IB_WC_GRH; in bnxt_re_process_res_rawqp1_wc()
3509 wc->wc_flags |= IB_WC_WITH_IMM; in bnxt_re_process_res_rc_wc()
3511 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in bnxt_re_process_res_rc_wc()
3547 wc->wc_flags |= IB_WC_WITH_VLAN; in bnxt_re_process_res_shadow_qp_wc()
3555 wc->wc_flags |= IB_WC_GRH; in bnxt_re_process_res_shadow_qp_wc()
3561 wc->wc_flags |= IB_WC_WITH_NETWORK_HDR_TYPE; in bnxt_re_process_res_shadow_qp_wc()
3578 wc->wc_flags |= IB_WC_WITH_IMM; in bnxt_re_process_res_ud_wc()
[all …]
/linux-6.6.21/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.6.21/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c2567 ibwc->wc_flags = 0; in ocrdma_poll_success_scqe()
2608 ibwc->wc_flags = IB_WC_GRH; in ocrdma_update_ud_rcqe()
2617 ibwc->wc_flags |= IB_WC_WITH_NETWORK_HDR_TYPE; in ocrdma_update_ud_rcqe()
2696 ibwc->wc_flags |= IB_WC_WITH_IMM; in ocrdma_poll_success_rcqe()
2700 ibwc->wc_flags |= IB_WC_WITH_IMM; in ocrdma_poll_success_rcqe()
2703 ibwc->wc_flags |= IB_WC_WITH_INVALIDATE; in ocrdma_poll_success_rcqe()
2719 ibwc->wc_flags = 0; in ocrdma_poll_rcqe()
/linux-6.6.21/drivers/infiniband/core/
Dverbs.c805 if (wc->wc_flags & IB_WC_WITH_NETWORK_HDR_TYPE) in ib_init_ah_attr_from_wc()
820 u16 vlan_id = wc->wc_flags & IB_WC_WITH_VLAN ? in ib_init_ah_attr_from_wc()
823 if (!(wc->wc_flags & IB_WC_GRH)) in ib_init_ah_attr_from_wc()
849 if ((wc->wc_flags & IB_WC_GRH) == 0) in ib_init_ah_attr_from_wc()

12