Home
last modified time | relevance | path

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

/linux-6.1.9/include/rdma/
Dib_addr.h183 if (mtu >= ib_mtu_enum_to_int(IB_MTU_4096)) in iboe_get_mtu()
185 else if (mtu >= ib_mtu_enum_to_int(IB_MTU_2048)) in iboe_get_mtu()
187 else if (mtu >= ib_mtu_enum_to_int(IB_MTU_1024)) in iboe_get_mtu()
189 else if (mtu >= ib_mtu_enum_to_int(IB_MTU_512)) in iboe_get_mtu()
191 else if (mtu >= ib_mtu_enum_to_int(IB_MTU_256)) in iboe_get_mtu()
Dib_verbs.h464 static inline int ib_mtu_enum_to_int(enum ib_mtu mtu) in ib_mtu_enum_to_int() function
498 return(ib_mtu_enum_to_int((enum ib_mtu)mtu)); in opa_mtu_enum_to_int()
3417 return ib_mtu_enum_to_int((enum ib_mtu)mtu); in rdma_mtu_enum_to_int()
3434 return ib_mtu_enum_to_int(attr->max_mtu); in rdma_mtu_from_attr()
/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe.c100 port->mtu_cap = ib_mtu_enum_to_int(IB_MTU_256); in rxe_init_port_param()
162 port->mtu_cap = ib_mtu_enum_to_int(mtu); in rxe_set_mtu()
Drxe_qp.c156 qp->mtu = ib_mtu_enum_to_int(qp->attr.path_mtu); in rxe_qp_init_misc()
452 ib_mtu_enum_to_int(mtu), in rxe_qp_chk_attr()
453 ib_mtu_enum_to_int(max_mtu)); in rxe_qp_chk_attr()
629 qp->mtu = ib_mtu_enum_to_int(attr->path_mtu); in rxe_qp_from_attr()
/linux-6.1.9/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.c609 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.c5744 mtu = ib_mtu_enum_to_int(qib_ibmtu); in get_7322_chip_params()
6420 mtu = ib_mtu_enum_to_int(qib_ibmtu); in qib_init_7322_variables()
/linux-6.1.9/drivers/infiniband/hw/qedr/
Dverbs.c2539 qp->mtu = min(ib_mtu_enum_to_int(attr->path_mtu), in qedr_modify_qp()
2540 ib_mtu_enum_to_int(iboe_get_mtu in qedr_modify_qp()
2546 ib_mtu_enum_to_int(iboe_get_mtu(dev->ndev->mtu)); in qedr_modify_qp()
2594 ib_mtu_enum_to_int(iboe_get_mtu(dev->ndev->mtu)); in qedr_modify_qp()
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_main.c599 cmd_bind->mtu = ib_mtu_enum_to_int(IB_MTU_1024); in pvrdma_add_gid_at_index()
/linux-6.1.9/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()
1936 qp->qplib_qp.mtu = ib_mtu_enum_to_int(qp_attr->path_mtu); in bnxt_re_modify_qp()
1943 ib_mtu_enum_to_int(iboe_get_mtu(rdev->netdev->mtu)); in bnxt_re_modify_qp()
/linux-6.1.9/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c2614 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.1.9/drivers/infiniband/hw/irdma/
Dverbs.c692 udp_info->snd_mss = ib_mtu_enum_to_int(ib_mtu_int_to_enum(iwdev->vsi.mtu)); in irdma_roce_fill_and_set_qpctx_info()
1154 udp_info->snd_mss = ib_mtu_enum_to_int(attr->path_mtu); in irdma_modify_qp_roce()
/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c271 int mtu = ib_mtu_enum_to_int(qp->path_mtu); in check_inl_data_len()
4728 mtu = ib_mtu_enum_to_int(ib_mtu); in modify_qp_init_to_rtr()