/freebsd/contrib/ofed/libmlx4/ |
H A D | cq.c | 160 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 D | verbs.c | 476 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 D | cq.c | 110 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 D | verbs.c | 377 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 D | mlx4_ib_cq.c | 585 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 D | mlx4_ib_mad.c | 162 (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 D | irdma_uverbs.c | 428 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 D | mthca_cq.c | 583 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 D | mlx5_ib_cq.c | 120 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 D | qlnxr_cm.c | 827 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 D | qlnxr_verbs.c | 4783 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 D | cq.c | 744 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 D | ib_verbs.c | 4196 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 D | device.c | 183 if (cq_attr->wc_flags & ~IBV_CREATE_CQ_SUP_WC_FLAGS) { in __lib_ibv_create_cq_ex()
|
H A D | verbs.h | 482 int wc_flags; member 1496 uint64_t wc_flags; member
|
H A D | cmd.c | 521 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 D | verbs.c | 890 if (wc->wc_flags & IBV_WC_GRH) { in ibv_init_ah_from_wc()
|
H A D | kern-abi.h | 498 __u32 wc_flags; member
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_verbs.c | 587 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 D | ib_user_mad.c | 238 packet->mad.hdr.grh_present = !!(mad_recv_wc->wc->wc_flags & IB_WC_GRH); in recv_handler()
|
/freebsd/sys/dev/irdma/ |
H A D | irdma_verbs.c | 2702 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 D | cq.c | 606 wc->wc_flags = 0; in c4iw_poll_cq_one()
|
/freebsd/contrib/ofed/libibverbs/examples/ |
H A D | rc_pingpong.c | 415 .wc_flags = IBV_WC_EX_WITH_COMPLETION_TIMESTAMP in pp_init_ctx()
|
/freebsd/sys/ofed/include/uapi/rdma/ |
H A D | ib_user_verbs.h | 477 __u32 wc_flags; member
|
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_ib.c | 265 if (test_bit(IPOIB_FLAG_CSUM, &priv->flags) && likely(wc->wc_flags & IB_WC_IP_CSUM_OK)) in ipoib_ib_handle_rx_wc()
|