Home
last modified time | relevance | path

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

12

/freebsd/contrib/ofed/libmlx4/
H A Dcq.c160 wc->wc_flags = 0; in handle_good_req()
163 wc->wc_flags |= IBV_WC_WITH_IMM; in handle_good_req()
169 wc->wc_flags |= IBV_WC_WITH_IMM; in handle_good_req()
327 wc->wc_flags = IBV_WC_WITH_IMM; in mlx4_parse_cqe()
332 wc->wc_flags |= IBV_WC_WITH_INV; in mlx4_parse_cqe()
337 wc->wc_flags = 0; in mlx4_parse_cqe()
341 wc->wc_flags = IBV_WC_WITH_IMM; in mlx4_parse_cqe()
350 wc->wc_flags |= g_mlpath_rqpn & 0x80000000 ? IBV_WC_GRH : 0; in mlx4_parse_cqe()
361 wc->wc_flags |= ((cqe->status & htobe32(MLX4_CQE_STATUS_IPV4_CSUM_OK)) == in mlx4_parse_cqe()
550 int wc_flags = 0; in mlx4_cq_read_wc_flags() local
[all …]
H A Dverbs.c476 if (cq_attr->wc_flags & ~CREATE_CQ_SUPPORTED_WC_FLAGS) in create_cq()
482 if ((cq_attr->wc_flags & (IBV_WC_EX_WITH_SLID | IBV_WC_EX_WITH_SL)) && in create_cq()
483 (cq_attr->wc_flags & IBV_WC_EX_WITH_COMPLETION_TIMESTAMP)) { in create_cq()
554 .wc_flags = IBV_WC_STANDARD_FLAGS}; in mlx4_create_cq()
570 .wc_flags = cq_attr->wc_flags, in mlx4_create_cq_ex()
/freebsd/contrib/ofed/libmlx5/
H A Dcq.c110 wc->wc_flags |= IBV_WC_WITH_IMM; in handle_good_req()
116 wc->wc_flags |= IBV_WC_WITH_IMM; in handle_good_req()
208 wc->wc_flags |= (!!(cqe->hds_ip_ext & MLX5_CQE_L4_OK) & in handle_responder()
233 wc->wc_flags |= IBV_WC_WITH_IMM; in handle_responder()
241 wc->wc_flags |= IBV_WC_WITH_IMM; in handle_responder()
246 wc->wc_flags |= IBV_WC_WITH_INV; in handle_responder()
255 wc->wc_flags |= g ? IBV_WC_GRH : 0; in handle_responder()
542 wc->wc_flags = 0; in mlx5_parse_cqe()
1104 int wc_flags = 0; in mlx5_cq_read_wc_flags() local
1107 wc_flags = (!!(cq->cqe64->hds_ip_ext & MLX5_CQE_L4_OK) & in mlx5_cq_read_wc_flags()
[all …]
H A Dverbs.c377 if (cq_attr->wc_flags & ~CREATE_CQ_SUPPORTED_WC_FLAGS) { in create_cq()
498 .wc_flags = IBV_WC_STANDARD_FLAGS}; in mlx5_create_cq()
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_cq.c585 wc->wc_flags |= (hdr->tun.g_ml_path & 0x80) ? (IB_WC_GRH) : 0; in use_tunnel_data()
593 wc->wc_flags |= (IB_WC_WITH_VLAN | IB_WC_WITH_SMAC); in use_tunnel_data()
757 wc->wc_flags = 0; in mlx4_ib_poll_one()
760 wc->wc_flags |= IB_WC_WITH_IMM; in mlx4_ib_poll_one()
765 wc->wc_flags |= IB_WC_WITH_IMM; in mlx4_ib_poll_one()
806 wc->wc_flags = IB_WC_WITH_IMM; in mlx4_ib_poll_one()
811 wc->wc_flags = IB_WC_WITH_INVALIDATE; in mlx4_ib_poll_one()
816 wc->wc_flags = 0; in mlx4_ib_poll_one()
820 wc->wc_flags = IB_WC_WITH_IMM; in mlx4_ib_poll_one()
841 wc->wc_flags |= g_mlpath_rqpn & 0x80000000 ? IB_WC_GRH : 0; in mlx4_ib_poll_one()
[all …]
H A Dmlx4_ib_mad.c162 (in_wc->wc_flags & IB_WC_GRH ? 0x80 : 0); in mlx4_MAD_IFC()
575 tun_mad->hdr.g_ml_path = (grh && (wc->wc_flags & IB_WC_GRH)) ? 0x80 : 0; in mlx4_ib_send_to_slave()
655 if (!(wc->wc_flags & IB_WC_GRH)) { in mlx4_ib_demux_mad()
705 if (wc->wc_flags & IB_WC_GRH) { in mlx4_ib_demux_mad()
778 in_wc->wc_flags, in ib_process_mad()
781 if (in_wc->wc_flags & IB_WC_GRH) { in ib_process_mad()
/freebsd/contrib/ofed/libirdma/
H A Dirdma_uverbs.c428 if (hw_rev == IRDMA_GEN_1 || attr_ex->wc_flags & ~supported_flags) { in ucreate_cq()
754 entry->wc_flags = 0; in irdma_process_cqe()
771 entry->wc_flags |= IBV_WC_WITH_IMM; in irdma_process_cqe()
783 entry->wc_flags |= IBV_WC_WITH_INV; in irdma_process_cqe()
789 entry->wc_flags |= IBV_WC_GRH; in irdma_process_cqe()
1052 int wc_flags = 0; in irdma_wc_read_wc_flags() local
1060 wc_flags |= IBV_WC_WITH_IMM; in irdma_wc_read_wc_flags()
1063 wc_flags |= IBV_WC_GRH; in irdma_wc_read_wc_flags()
1068 wc_flags |= IBV_WC_WITH_INV; in irdma_wc_read_wc_flags()
1071 wc_flags |= IBV_WC_WITH_INV; in irdma_wc_read_wc_flags()
[all …]
/freebsd/sys/dev/mthca/
H A 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()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_cq.c120 wc->wc_flags = 0; in handle_good_req()
123 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 | in handle_responder()
[all...]
/freebsd/sys/dev/qlnx/qlnxr/
H A Dqlnxr_cm.c827 wc[i].wc_flags |= IB_WC_GRH | IB_WC_IP_CSUM_OK; in qlnxr_gsi_poll_cq()
830 wc[i].wc_flags |= IB_WC_WITH_SMAC; in qlnxr_gsi_poll_cq()
833 wc[i].wc_flags |= IB_WC_WITH_VLAN; in qlnxr_gsi_poll_cq()
H A Dqlnxr_verbs.c4783 wc->wc_flags = 0; in process_req()
4930 wc->wc_flags = 0; in __process_resp_one()
4961 wc->wc_flags |= IB_WC_WITH_IMM; in __process_resp_one()
4976 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in __process_resp_one()
5081 wc->wc_flags = 0; in process_resp_flush()
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dcq.c744 wc->wc_flags = 0; in c4iw_poll_cq_one()
762 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in c4iw_poll_cq_one()
777 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in c4iw_poll_cq_one()
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dib_verbs.c4196 wc->wc_flags |= IB_WC_WITH_IMM; in bnxt_re_process_req_wc()
4200 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in bnxt_re_process_req_wc()
4207 wc->wc_flags |= IB_WC_WITH_IMM; in bnxt_re_process_req_wc()
4438 wc->wc_flags |= IB_WC_GRH; in bnxt_re_process_res_rawqp1_wc()
4448 wc->wc_flags |= IB_WC_WITH_IMM; in bnxt_re_process_res_rc_wc()
4450 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in bnxt_re_process_res_rc_wc()
4512 wc->wc_flags |= IB_WC_WITH_VLAN; in bnxt_re_process_res_shadow_qp_wc()
4520 wc->wc_flags |= IB_WC_GRH; in bnxt_re_process_res_shadow_qp_wc()
4537 wc->wc_flags |= IB_WC_WITH_IMM; in bnxt_re_process_res_ud_wc()
4539 wc->wc_flags |= IB_WC_WITH_INVALIDATE; in bnxt_re_process_res_ud_wc()
[all …]
/freebsd/contrib/ofed/libibverbs/
H A Ddevice.c183 if (cq_attr->wc_flags & ~IBV_CREATE_CQ_SUP_WC_FLAGS) { in __lib_ibv_create_cq_ex()
H A Dverbs.h482 int wc_flags; member
1496 uint64_t wc_flags; member
H A Dcmd.c521 if (cq_attr->wc_flags & IBV_WC_EX_WITH_COMPLETION_TIMESTAMP) in ibv_cmd_create_cq_ex()
571 wc[i].wc_flags = resp->wc[i].wc_flags; in ibv_cmd_poll_cq()
H A Dverbs.c890 if (wc->wc_flags & IBV_WC_GRH) { in ibv_init_ah_from_wc()
H A Dkern-abi.h498 __u32 wc_flags; member
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_verbs.c587 if (wc->wc_flags & IB_WC_WITH_NETWORK_HDR_TYPE) in ib_init_ah_from_wc()
600 const u16 vlan_id = (wc->wc_flags & IB_WC_WITH_VLAN) ? in ib_init_ah_from_wc()
603 if (!(wc->wc_flags & IB_WC_GRH)) in ib_init_ah_from_wc()
631 if (wc->wc_flags & IB_WC_GRH) { in ib_init_ah_from_wc()
H A Dib_user_mad.c238 packet->mad.hdr.grh_present = !!(mad_recv_wc->wc->wc_flags & IB_WC_GRH); in recv_handler()
/freebsd/sys/dev/irdma/
H A Dirdma_verbs.c2702 entry->wc_flags = 0; in irdma_process_cqe()
2719 entry->wc_flags |= IB_WC_WITH_IMM; in irdma_process_cqe()
2723 entry->wc_flags |= IB_WC_WITH_SMAC; in irdma_process_cqe()
2732 entry->wc_flags |= IB_WC_WITH_VLAN; in irdma_process_cqe()
2748 entry->wc_flags |= IB_WC_WITH_INVALIDATE; in irdma_process_cqe()
2755 entry->wc_flags |= in irdma_process_cqe()
/freebsd/contrib/ofed/libcxgb4/
H A Dcq.c606 wc->wc_flags = 0; in c4iw_poll_cq_one()
/freebsd/contrib/ofed/libibverbs/examples/
H A Drc_pingpong.c415 .wc_flags = IBV_WC_EX_WITH_COMPLETION_TIMESTAMP in pp_init_ctx()
/freebsd/sys/ofed/include/uapi/rdma/
H A Dib_user_verbs.h477 __u32 wc_flags; member
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_ib.c265 if (test_bit(IPOIB_FLAG_CSUM, &priv->flags) && likely(wc->wc_flags & IB_WC_IP_CSUM_OK)) in ipoib_ib_handle_rx_wc()

12