Home
last modified time | relevance | path

Searched refs:ib_mtu_enum_to_int (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/include/rdma/
Dib_addr.h182 if (mtu >= ib_mtu_enum_to_int(IB_MTU_4096)) in iboe_get_mtu()
184 else if (mtu >= ib_mtu_enum_to_int(IB_MTU_2048)) in iboe_get_mtu()
186 else if (mtu >= ib_mtu_enum_to_int(IB_MTU_1024)) in iboe_get_mtu()
188 else if (mtu >= ib_mtu_enum_to_int(IB_MTU_512)) in iboe_get_mtu()
190 else if (mtu >= ib_mtu_enum_to_int(IB_MTU_256)) in iboe_get_mtu()
Dib_verbs.h447 static inline int ib_mtu_enum_to_int(enum ib_mtu mtu) in ib_mtu_enum_to_int() function
481 return(ib_mtu_enum_to_int((enum ib_mtu)mtu)); in opa_mtu_enum_to_int()
3368 return ib_mtu_enum_to_int((enum ib_mtu)mtu); in rdma_mtu_enum_to_int()
3385 return ib_mtu_enum_to_int(attr->max_mtu); in rdma_mtu_from_attr()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe.c100 port->mtu_cap = ib_mtu_enum_to_int(IB_MTU_256); in rxe_init_port_param()
231 port->mtu_cap = ib_mtu_enum_to_int(mtu); in rxe_set_mtu()
Drxe_qp.c157 qp->mtu = ib_mtu_enum_to_int(qp->attr.path_mtu); in rxe_qp_init_misc()
447 ib_mtu_enum_to_int(mtu), in rxe_qp_chk_attr()
448 ib_mtu_enum_to_int(max_mtu)); in rxe_qp_chk_attr()
622 qp->mtu = ib_mtu_enum_to_int(attr->path_mtu); in rxe_qp_from_attr()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_qp.c298 mtu = ib_mtu_enum_to_int(attr->path_mtu); in qib_get_pmtu_from_attr()
316 return ib_mtu_enum_to_int(pmtu); in qib_mtu_from_qp()
Dqib_driver.c608 chk = ib_mtu_enum_to_int(qib_ibmtu); in qib_set_mtu()
Dqib_init.c692 mtu = ib_mtu_enum_to_int(qib_ibmtu); in qib_init()
Dqib_iba6120.c3094 mtu = ib_mtu_enum_to_int(qib_ibmtu); in get_6120_chip_params()
3233 ret = ib_mtu_enum_to_int(qib_ibmtu); in init_6120_variables()
Dqib_iba7220.c3804 mtu = ib_mtu_enum_to_int(qib_ibmtu); in get_7220_chip_params()
4041 ret = ib_mtu_enum_to_int(qib_ibmtu); in qib_init_7220_variables()
Dqib_mad.c779 mtu = ib_mtu_enum_to_int((pip->neighbormtu_mastersmsl >> 4) & 0xF); in subn_set_portinfo()
Dqib_iba7322.c5766 mtu = ib_mtu_enum_to_int(qib_ibmtu); in get_7322_chip_params()
6449 mtu = ib_mtu_enum_to_int(qib_ibmtu); in qib_init_7322_variables()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dverbs.c2548 qp->mtu = min(ib_mtu_enum_to_int(attr->path_mtu), in qedr_modify_qp()
2549 ib_mtu_enum_to_int(iboe_get_mtu in qedr_modify_qp()
2555 ib_mtu_enum_to_int(iboe_get_mtu(dev->ndev->mtu)); in qedr_modify_qp()
2603 ib_mtu_enum_to_int(iboe_get_mtu(dev->ndev->mtu)); in qedr_modify_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_main.c627 cmd_bind->mtu = ib_mtu_enum_to_int(IB_MTU_1024); in pvrdma_add_gid_at_index()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c1272 qplqp->mtu = ib_mtu_enum_to_int(iboe_get_mtu(rdev->netdev->mtu)); in bnxt_re_init_qp_attr()
1948 qp->qplib_qp.mtu = ib_mtu_enum_to_int(qp_attr->path_mtu); in bnxt_re_modify_qp()
1955 ib_mtu_enum_to_int(iboe_get_mtu(rdev->netdev->mtu)); in bnxt_re_modify_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c2618 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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dverbs.c1443 ib_mtu_enum_to_int(props->max_mtu); in query_port()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c240 int mtu = ib_mtu_enum_to_int(qp->path_mtu); in check_inl_data_len()
4272 lp_pktn_ini = ilog2(MAX_LP_MSG_LEN / ib_mtu_enum_to_int(mtu)); in modify_qp_init_to_rtr()