/Linux-v5.4/drivers/infiniband/hw/mlx4/ |
D | cq.c | 597 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 …]
|
D | mad.c | 164 (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/ |
D | mthca_cq.c | 578 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/ |
D | iwch_cq.c | 62 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/ |
D | qib_ud.c | 129 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()
|
D | qib_uc.c | 369 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()
|
D | qib_rc.c | 1847 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/ |
D | cq.c | 119 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/ |
D | rxe_resp.c | 868 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()
|
D | rxe_comp.c | 415 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/ |
D | siw_cq.c | 71 wc->wc_flags = IB_WC_WITH_INVALIDATE; in siw_reap_cqe()
|
/Linux-v5.4/drivers/infiniband/hw/hfi1/ |
D | ud.c | 153 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()
|
D | uc.c | 436 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()
|
D | rc.c | 2948 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/ |
D | pvrdma_cq.c | 359 wc->wc_flags = pvrdma_wc_flags_to_ib(cqe->wc_flags); in pvrdma_poll_one()
|
/Linux-v5.4/drivers/infiniband/sw/rdmavt/ |
D | trace_cq.h | 133 __entry->flags = wc->wc_flags;
|
D | cq.c | 130 uqueue[head].wc_flags = entry->wc_flags; in rvt_cq_enter()
|
/Linux-v5.4/include/uapi/rdma/ |
D | vmw_pvrdma-abi.h | 286 __u32 wc_flags; member
|
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 2726 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/ |
D | qedr_roce_cm.c | 694 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/ |
D | cq.c | 772 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/ |
D | ipoib_ib.c | 226 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/ |
D | ocrdma_verbs.c | 2583 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/ |
D | hns_roce_hw_v2.c | 2832 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/ |
D | verbs.c | 784 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()
|