/linux-6.6.21/drivers/infiniband/sw/rxe/ |
D | rxe_qp.c | 155 qp->attr.path_mtu = 1; in rxe_qp_init_misc() 156 qp->mtu = ib_mtu_enum_to_int(qp->attr.path_mtu); in rxe_qp_init_misc() 480 enum ib_mtu mtu = attr->path_mtu; in rxe_qp_chk_attr() 702 qp->attr.path_mtu = attr->path_mtu; in rxe_qp_from_attr() 703 qp->mtu = ib_mtu_enum_to_int(attr->path_mtu); in rxe_qp_from_attr()
|
D | rxe_loc.h | 134 return qp->attr.path_mtu; in qp_mtu()
|
/linux-6.6.21/drivers/infiniband/core/ |
D | uverbs_marshall.c | 102 dst->path_mtu = src->path_mtu; in ib_copy_qp_attr_to_user()
|
D | cm.c | 234 enum ib_mtu path_mtu; member 1525 cm_id_priv->path_mtu = param->primary_path->mtu; in ib_send_cm_req() 2087 cm_id_priv->path_mtu = IBA_GET(CM_REQ_PATH_PACKET_PAYLOAD_MTU, req_msg); in cm_req_handler() 3268 path->mtu = cm_id_priv->path_mtu; in cm_format_path_from_lap() 4147 qp_attr->path_mtu = cm_id_priv->path_mtu; in cm_init_qp_rtr_attr()
|
D | uverbs_cmd.c | 1675 resp.path_mtu = attr->path_mtu; in ib_uverbs_query_qp() 1850 attr->path_mtu = cmd->base.path_mtu; in modify_qp()
|
/linux-6.6.21/drivers/infiniband/hw/qib/ |
D | qib_qp.c | 298 mtu = ib_mtu_enum_to_int(attr->path_mtu); in qib_get_pmtu_from_attr() 305 pmtu = attr->path_mtu; in qib_get_pmtu_from_attr()
|
/linux-6.6.21/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_qp.c | 589 cmd->attrs.path_mtu = ib_mtu_to_pvrdma(attr->path_mtu); in pvrdma_modify_qp() 999 attr->path_mtu = pvrdma_mtu_to_ib(resp->attrs.path_mtu); in pvrdma_query_qp()
|
D | pvrdma_verbs.h | 302 enum pvrdma_mtu path_mtu; member
|
/linux-6.6.21/include/uapi/rdma/ |
D | ib_user_verbs.h | 552 __u32 path_mtu; member 706 __u8 path_mtu; member 737 __u8 path_mtu; member
|
/linux-6.6.21/drivers/infiniband/hw/hns/ |
D | hns_roce_qp.c | 1264 attr->path_mtu > hr_dev->caps.max_mtu) || in check_mtu_validate() 1265 attr->path_mtu < IB_MTU_256 || attr->path_mtu > active_mtu) { in check_mtu_validate() 1268 attr->path_mtu); in check_mtu_validate()
|
D | hns_roce_device.h | 615 enum ib_mtu path_mtu; member
|
D | hns_roce_hw_v2.c | 271 int mtu = ib_mtu_enum_to_int(qp->path_mtu); in check_inl_data_len() 2746 attr->path_mtu = IB_MTU_256; in free_mr_modify_rsv_qp() 4460 return attr->path_mtu; in get_mtu() 4553 hr_qp->path_mtu = ib_mtu; in modify_qp_init_to_rtr() 5341 qp_attr->path_mtu = (enum ib_mtu)hr_reg_read(&context, QPC_MTU); in hns_roce_v2_query_qp()
|
/linux-6.6.21/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 466 qp_attr->path_mtu = context->mtu_msgmax >> 5; in mthca_query_qp() 606 if (attr->path_mtu < IB_MTU_256 || attr->path_mtu > IB_MTU_2048) { in __mthca_modify_qp() 608 attr->path_mtu); in __mthca_modify_qp() 611 qp_context->mtu_msgmax = (attr->path_mtu << 5) | 31; in __mthca_modify_qp()
|
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | qp.c | 831 mtu = verbs_mtu_enum_to_int(qp->ibqp.device, attr->path_mtu); in get_pmtu_from_attr() 838 return attr->path_mtu; in get_pmtu_from_attr()
|
/linux-6.6.21/net/smc/ |
D | smc_core.h | 146 enum ib_mtu path_mtu; /* used mtu */ member
|
D | smc_ib.c | 72 qp_attr.path_mtu = min(lnk->path_mtu, lnk->peer_mtu); in smc_ib_modify_qp_rtr()
|
D | smc_clc.c | 1075 clc->r0.qp_mtu = link->path_mtu; in smc_clc_send_confirm_accept() 1078 clc->r0.qp_mtu = min(link->path_mtu, link->peer_mtu); in smc_clc_send_confirm_accept()
|
D | smc_llc.c | 685 addllc->qp_mtu = link_new->path_mtu; in smc_llc_send_add_link() 687 addllc->qp_mtu = min(link_new->path_mtu, in smc_llc_send_add_link()
|
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/ |
D | qplib_fp.h | 284 u8 path_mtu; member
|
D | ib_verbs.c | 2045 qp->qplib_qp.path_mtu = __from_ib_mtu(qp_attr->path_mtu); in bnxt_re_modify_qp() 2046 qp->qplib_qp.mtu = ib_mtu_enum_to_int(qp_attr->path_mtu); in bnxt_re_modify_qp() 2050 qp->qplib_qp.path_mtu = in bnxt_re_modify_qp() 2193 qp_attr->path_mtu = __to_ib_mtu(qplib_qp->path_mtu); in bnxt_re_query_qp()
|
D | qplib_fp.c | 1183 qp->path_mtu = in __modify_flags_from_init_state() 1321 req.path_mtu_pingpong_push_enable |= qp->path_mtu; in bnxt_qplib_modify_qp() 1429 qp->path_mtu = (le16_to_cpu(sb->path_mtu_dest_vlan_id) & in bnxt_qplib_query_qp()
|
/linux-6.6.21/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_hw.c | 2611 if (attrs->path_mtu < IB_MTU_512 || in ocrdma_set_qp_params() 2612 attrs->path_mtu > IB_MTU_4096) { in ocrdma_set_qp_params() 2614 dev->id, ib_mtu_enum_to_int(attrs->path_mtu)); in ocrdma_set_qp_params() 2619 (ib_mtu_enum_to_int(attrs->path_mtu) << in ocrdma_set_qp_params()
|
/linux-6.6.21/drivers/infiniband/hw/mlx5/ |
D | qp.c | 4207 if (attr->path_mtu < IB_MTU_256 || in __mlx5_ib_modify_qp() 4208 attr->path_mtu > IB_MTU_4096) { in __mlx5_ib_modify_qp() 4209 mlx5_ib_warn(dev, "invalid mtu %d\n", attr->path_mtu); in __mlx5_ib_modify_qp() 4213 MLX5_SET(qpc, qpc, mtu, attr->path_mtu); in __mlx5_ib_modify_qp() 4575 MLX5_SET(dctc, dctc, mtu, attr->path_mtu); in mlx5_ib_modify_dct() 4956 qp_attr->path_mtu = MLX5_GET(qpc, qpc, mtu); in query_qp_attr() 5054 qp_attr->path_mtu = MLX5_GET(dctc, dctc, mtu); in mlx5_ib_dct_query_qp()
|
/linux-6.6.21/drivers/infiniband/hw/mlx4/ |
D | qp.c | 2200 if (attr->path_mtu < IB_MTU_256 || attr->path_mtu > IB_MTU_4096) { in __mlx4_ib_modify_qp() 2202 attr->path_mtu); in __mlx4_ib_modify_qp() 2205 context->mtu_msgmax = (attr->path_mtu << 5) | in __mlx4_ib_modify_qp() 4039 qp_attr->path_mtu = context.mtu_msgmax >> 5; in mlx4_ib_query_qp()
|
/linux-6.6.21/drivers/infiniband/hw/qedr/ |
D | verbs.c | 2542 if (attr->path_mtu < IB_MTU_256 || in qedr_modify_qp() 2543 attr->path_mtu > IB_MTU_4096) { in qedr_modify_qp() 2548 qp->mtu = min(ib_mtu_enum_to_int(attr->path_mtu), in qedr_modify_qp() 2764 qp_attr->path_mtu = ib_mtu_int_to_enum(params.mtu); in qedr_query_qp()
|