Searched refs:ib_mtu_enum_to_int (Results 1 – 8 of 8) sorted by relevance
288 if (mtu >= ib_mtu_enum_to_int(IB_MTU_4096)) in iboe_get_mtu()290 else if (mtu >= ib_mtu_enum_to_int(IB_MTU_2048)) in iboe_get_mtu()292 else if (mtu >= ib_mtu_enum_to_int(IB_MTU_1024)) in iboe_get_mtu()294 else if (mtu >= ib_mtu_enum_to_int(IB_MTU_512)) in iboe_get_mtu()296 else if (mtu >= ib_mtu_enum_to_int(IB_MTU_256)) in iboe_get_mtu()
404 static inline int ib_mtu_enum_to_int(enum ib_mtu mtu) in ib_mtu_enum_to_int() function
532 ifmtu_int = ib_mtu_enum_to_int(ifmtu); in bnxt_re_init_qpmtu()537 qpmtu_int = ib_mtu_enum_to_int(qpmtu); in bnxt_re_init_qpmtu()
2121 qplqp->mtu = ib_mtu_enum_to_int(iboe_get_mtu(if_getmtu(rdev->netdev))); in bnxt_re_init_qp_attr()
644 comp_mask ? ib_mtu_enum_to_int(p_rec.mtu) : 0); in path_rec_start()980 priv->max_ib_mtu = ib_mtu_enum_to_int(attr.max_mtu); in ipoib_add_port()
563 priv->mcast_mtu = IPOIB_UD_MTU(ib_mtu_enum_to_int(priv->broadcast->mcmember.mtu)); in ipoib_mcast_join_task()
3448 qp->mtu = min(ib_mtu_enum_to_int(attr->path_mtu), in qlnxr_modify_qp()3449 ib_mtu_enum_to_int( in qlnxr_modify_qp()3454 qp->mtu = ib_mtu_enum_to_int( in qlnxr_modify_qp()3502 qp_params.mtu = ib_mtu_enum_to_int( in qlnxr_modify_qp()
577 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()834 udp_info->snd_mss = ib_mtu_enum_to_int(attr->path_mtu); in irdma_modify_qp_roce()