Home
last modified time | relevance | path

Searched refs:roce_mode (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c190 roce_flavor = (pkt->roce_mode == ROCE_V1) ? in qedr_ll2_post_tx()
193 if (pkt->roce_mode == ROCE_V2_IPV4) in qedr_ll2_post_tx()
384 int *roce_mode) in qedr_gsi_build_header() argument
414 *roce_mode = ROCE_V1; in qedr_gsi_build_header()
420 *roce_mode = ROCE_V2_IPV4; in qedr_gsi_build_header()
425 *roce_mode = ROCE_V2_IPV6; in qedr_gsi_build_header()
499 int roce_mode, header_size; in qedr_gsi_build_packet() local
505 rc = qedr_gsi_build_header(dev, qp, swr, &udh, &roce_mode); in qedr_gsi_build_packet()
528 packet->roce_mode = roce_mode; in qedr_gsi_build_packet()
Dverbs.c1151 qp_params->roce_mode = ROCE_V2_IPV6; in get_gid_info_from_table()
1161 qp_params->roce_mode = ROCE_V1; in get_gid_info_from_table()
1173 qp_params->roce_mode = ROCE_V2_IPV4; in get_gid_info_from_table()
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_rdma.h124 enum roce_mode roce_mode; member
Dqed_roce.c101 if (qp->roce_mode == ROCE_V2_IPV4) { in qed_rdma_copy_gids()
118 static enum roce_flavor qed_roce_mode_to_flavor(enum roce_mode roce_mode) in qed_roce_mode_to_flavor() argument
120 switch (roce_mode) { in qed_roce_mode_to_flavor()
264 qed_roce_mode_to_flavor(qp->roce_mode)); in qed_roce_sp_create_responder()
403 qed_roce_mode_to_flavor(qp->roce_mode)); in qed_roce_sp_create_requester()
Dqed_rdma.c1370 qp->roce_mode = params->roce_mode; in qed_rdma_modify_qp()
/linux-6.1.9/include/linux/qed/
Dqed_rdma_if.h215 enum roce_mode { enum
387 enum roce_mode roce_mode; member
566 int roce_mode; member
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dmain.c254 iwdev->roce_mode = true; in irdma_fill_device_info()
Dmain.h347 bool roce_mode:1; member
Dhw.c1637 if (!iwdev->roce_mode) in irdma_rt_deinit_hw()
1642 if (!iwdev->roce_mode) in irdma_rt_deinit_hw()
1793 if (!iwdev->roce_mode) { in irdma_rt_init_hw()
Dverbs.c4478 if (iwdev->roce_mode) { in irdma_init_rdma_device()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dmlx4.h796 u8 roce_mode; member
Dport.c1629 context->roce_mode |= in mlx4_SET_PORT_general()