Searched refs:ib_mtu_enum_to_int (Results 1 – 17 of 17) sorted by relevance
183 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()
464 static inline int ib_mtu_enum_to_int(enum ib_mtu mtu) in ib_mtu_enum_to_int() function498 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()
100 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()
156 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()
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()
609 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()
5744 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()
2539 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()
599 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()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()
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()
692 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()
271 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()