Home
last modified time | relevance | path

Searched refs:path_mtu (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v5.15/drivers/infiniband/sw/rxe/
Drxe_qp.c167 qp->attr.path_mtu = 1; in rxe_qp_init_misc()
168 qp->mtu = ib_mtu_enum_to_int(qp->attr.path_mtu); in rxe_qp_init_misc()
466 enum ib_mtu mtu = attr->path_mtu; in rxe_qp_chk_attr()
644 qp->attr.path_mtu = attr->path_mtu; in rxe_qp_from_attr()
645 qp->mtu = ib_mtu_enum_to_int(attr->path_mtu); in rxe_qp_from_attr()
Drxe_loc.h152 return qp->attr.path_mtu; in qp_mtu()
/Linux-v5.15/drivers/infiniband/core/
Duverbs_marshall.c102 dst->path_mtu = src->path_mtu; in ib_copy_qp_attr_to_user()
Dcm.c233 enum ib_mtu path_mtu; member
1532 cm_id_priv->path_mtu = param->primary_path->mtu; in ib_send_cm_req()
2091 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()
4136 qp_attr->path_mtu = cm_id_priv->path_mtu; in cm_init_qp_rtr_attr()
Duverbs_cmd.c1676 resp.path_mtu = attr->path_mtu; in ib_uverbs_query_qp()
1851 attr->path_mtu = cmd->base.path_mtu; in modify_qp()
/Linux-v5.15/drivers/infiniband/hw/qib/
Dqib_qp.c298 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-v5.15/include/uapi/rdma/
Dib_user_verbs.h538 __u32 path_mtu; member
692 __u8 path_mtu; member
723 __u8 path_mtu; member
/Linux-v5.15/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c589 cmd->attrs.path_mtu = ib_mtu_to_pvrdma(attr->path_mtu); in pvrdma_modify_qp()
1007 attr->path_mtu = pvrdma_mtu_to_ib(resp->attrs.path_mtu); in pvrdma_query_qp()
Dpvrdma_verbs.h302 enum pvrdma_mtu path_mtu; member
/Linux-v5.15/drivers/infiniband/hw/hns/
Dhns_roce_qp.c1236 attr->path_mtu > hr_dev->caps.max_mtu) || in check_mtu_validate()
1237 attr->path_mtu < IB_MTU_256 || attr->path_mtu > active_mtu) { in check_mtu_validate()
1240 attr->path_mtu); in check_mtu_validate()
Dhns_roce_device.h655 enum ib_mtu path_mtu; member
Dhns_roce_hw_v1.c842 attr.path_mtu = IB_MTU_256; in hns_roce_v1_rsv_lp_qp()
3005 QP_CONTEXT_QPC_BYTES_48_MTU_S, attr->path_mtu); in hns_roce_v1_m_qp()
3419 qp_attr->path_mtu = IB_MTU_256; in hns_roce_v1_q_sqp()
3500 qp_attr->path_mtu = (enum ib_mtu)roce_get_field(context->qpc_bytes_48, in hns_roce_v1_q_qp()
/Linux-v5.15/net/smc/
Dsmc_ib.c68 qp_attr.path_mtu = min(lnk->path_mtu, lnk->peer_mtu); in smc_ib_modify_qp_rtr()
Dsmc_core.h119 enum ib_mtu path_mtu; /* used mtu */ member
Dsmc_clc.c701 clc->r0.qp_mtu = link->path_mtu; in smc_clc_send_confirm_accept()
704 clc->r0.qp_mtu = min(link->path_mtu, link->peer_mtu); in smc_clc_send_confirm_accept()
Dsmc_llc.c514 addllc->qp_mtu = link_new->path_mtu; in smc_llc_send_add_link()
516 addllc->qp_mtu = min(link_new->path_mtu, in smc_llc_send_add_link()
/Linux-v5.15/drivers/infiniband/hw/mthca/
Dmthca_qp.c466 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-v5.15/drivers/infiniband/hw/hfi1/
Dqp.c831 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-v5.15/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.h284 u8 path_mtu; member
Dib_verbs.c1930 qp->qplib_qp.path_mtu = __from_ib_mtu(qp_attr->path_mtu); in bnxt_re_modify_qp()
1931 qp->qplib_qp.mtu = ib_mtu_enum_to_int(qp_attr->path_mtu); in bnxt_re_modify_qp()
1935 qp->qplib_qp.path_mtu = in bnxt_re_modify_qp()
2078 qp_attr->path_mtu = __to_ib_mtu(qplib_qp->path_mtu); in bnxt_re_query_qp()
Dqplib_fp.c1148 qp->path_mtu = in __modify_flags_from_init_state()
1286 req.path_mtu = qp->path_mtu; in bnxt_qplib_modify_qp()
1390 qp->path_mtu = (le16_to_cpu(sb->path_mtu_dest_vlan_id) & in bnxt_qplib_query_qp()
/Linux-v5.15/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c2615 if (attrs->path_mtu < IB_MTU_512 || in ocrdma_set_qp_params()
2616 attrs->path_mtu > IB_MTU_4096) { in ocrdma_set_qp_params()
2618 dev->id, ib_mtu_enum_to_int(attrs->path_mtu)); in ocrdma_set_qp_params()
2623 (ib_mtu_enum_to_int(attrs->path_mtu) << in ocrdma_set_qp_params()
/Linux-v5.15/drivers/infiniband/hw/mlx5/
Dqp.c4090 if (attr->path_mtu < IB_MTU_256 || in __mlx5_ib_modify_qp()
4091 attr->path_mtu > IB_MTU_4096) { in __mlx5_ib_modify_qp()
4092 mlx5_ib_warn(dev, "invalid mtu %d\n", attr->path_mtu); in __mlx5_ib_modify_qp()
4096 MLX5_SET(qpc, qpc, mtu, attr->path_mtu); in __mlx5_ib_modify_qp()
4458 MLX5_SET(dctc, dctc, mtu, attr->path_mtu); in mlx5_ib_modify_dct()
4816 qp_attr->path_mtu = MLX5_GET(qpc, qpc, mtu); in query_qp_attr()
4914 qp_attr->path_mtu = MLX5_GET(dctc, dctc, mtu); in mlx5_ib_dct_query_qp()
/Linux-v5.15/drivers/infiniband/hw/mlx4/
Dqp.c2159 if (attr->path_mtu < IB_MTU_256 || attr->path_mtu > IB_MTU_4096) { in __mlx4_ib_modify_qp()
2161 attr->path_mtu); in __mlx4_ib_modify_qp()
2164 context->mtu_msgmax = (attr->path_mtu << 5) | in __mlx4_ib_modify_qp()
3998 qp_attr->path_mtu = context.mtu_msgmax >> 5; in mlx4_ib_query_qp()
/Linux-v5.15/drivers/infiniband/hw/qedr/
Dverbs.c2540 if (attr->path_mtu < IB_MTU_256 || in qedr_modify_qp()
2541 attr->path_mtu > IB_MTU_4096) { in qedr_modify_qp()
2546 qp->mtu = min(ib_mtu_enum_to_int(attr->path_mtu), in qedr_modify_qp()
2757 qp_attr->path_mtu = ib_mtu_int_to_enum(params.mtu); in qedr_query_qp()

12