Searched refs:ib_mtu_enum_to_int (Results 1 – 17 of 17) sorted by relevance
182 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()
447 static inline int ib_mtu_enum_to_int(enum ib_mtu mtu) in ib_mtu_enum_to_int() function481 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()
100 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()
157 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()
298 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()
608 chk = ib_mtu_enum_to_int(qib_ibmtu); in qib_set_mtu()
692 mtu = ib_mtu_enum_to_int(qib_ibmtu); in qib_init()
3094 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()
3804 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()
779 mtu = ib_mtu_enum_to_int((pip->neighbormtu_mastersmsl >> 4) & 0xF); in subn_set_portinfo()
5766 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()
2548 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()
627 cmd_bind->mtu = ib_mtu_enum_to_int(IB_MTU_1024); in pvrdma_add_gid_at_index()
1272 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()
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()
1443 ib_mtu_enum_to_int(props->max_mtu); in query_port()
240 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()