Home
last modified time | relevance | path

Searched refs:roundup (Results 1 – 7 of 7) sorted by relevance

/dpdk/drivers/bus/dpaa/base/qbman/
H A Dbman_driver.c242 static u32 __generate_thresh(u32 val, int roundup) in __generate_thresh() argument
251 if (roundup && oddbit) in __generate_thresh()
/dpdk/drivers/bus/dpaa/include/
H A Dfsl_qman.h561 int roundup) in qm_fqd_taildrop_set() argument
572 if (roundup && oddbit) in qm_fqd_taildrop_set()
710 int roundup) in qm_cgr_cs_thres_set64() argument
719 if (roundup && oddbit) in qm_cgr_cs_thres_set64()
/dpdk/drivers/net/bnxt/tf_core/
H A Dtf_em_common.c306 return roundup(num_pages, MAX_PAGE_PTRS(page_size)) / in tf_em_page_tbl_pgcnt()
398 *num_data_pages = roundup(data_size, page_size) / page_size; in tf_em_size_page_tbl_lvl()
/dpdk/drivers/net/hns3/
H A Dhns3_ethdev.h954 #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) macro
H A Dhns3_ethdev.c2491 pf->tx_buf_size = roundup(pf->tx_buf_size, HNS3_BUF_SIZE_UNIT); in hns3_query_pf_resource()
2499 pf->dv_buf_size = roundup(pf->dv_buf_size, HNS3_BUF_SIZE_UNIT); in hns3_query_pf_resource()
3158 aligned_mps = roundup(pf->mps, HNS3_BUF_SIZE_UNIT); in hns3_is_rx_buf_ok()
3168 shared_std = roundup(RTE_MAX(shared_buf_min, shared_buf_tc), in hns3_is_rx_buf_ok()
3180 - roundup(aligned_mps / HNS3_BUF_DIV_BY, in hns3_is_rx_buf_ok()
3226 aligned_mps = roundup(pf->mps, HNS3_BUF_SIZE_UNIT); in hns3_rx_buf_calc_all()
3242 priv->wl.high = roundup(priv->wl.low + aligned_mps, in hns3_rx_buf_calc_all()
3358 min_rx_priv = roundup(min_rx_priv, HNS3_BUF_SIZE_UNIT); in hns3_only_alloc_priv_buff()
/dpdk/drivers/net/bnx2x/
H A Dbnx2x.h89 #ifndef roundup
90 #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) macro
H A Dbnx2x.c9566 return roundup(cid_count, QM_CID_ROUND); in bnx2x_set_qm_cid_count()