Home
last modified time | relevance | path

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

/freebsd/sys/ofed/include/rdma/
H A Dib_addr.h288 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()
H A Dib_verbs.h404 static inline int ib_mtu_enum_to_int(enum ib_mtu mtu) in ib_mtu_enum_to_int() function
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dib_verbs.h532 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()
H A Dib_verbs.c2121 qplqp->mtu = ib_mtu_enum_to_int(iboe_get_mtu(if_getmtu(rdev->netdev))); in bnxt_re_init_qp_attr()
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c644 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()
H A Dipoib_multicast.c563 priv->mcast_mtu = IPOIB_UD_MTU(ib_mtu_enum_to_int(priv->broadcast->mcmember.mtu)); in ipoib_mcast_join_task()
/freebsd/sys/dev/qlnx/qlnxr/
H A Dqlnxr_verbs.c3448 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()
/freebsd/sys/dev/irdma/
H A Dirdma_verbs.c577 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()