Searched refs:HNS3_BUF_SIZE_UNIT (Results 1 – 2 of 2) sorted by relevance
2769 pf->tx_buf_size = roundup(pf->tx_buf_size, HNS3_BUF_SIZE_UNIT); in hns3_query_pf_resource()3403 aligned_mps = roundup(pf->mps, HNS3_BUF_SIZE_UNIT); in hns3_is_rx_buf_ok()3414 HNS3_BUF_SIZE_UNIT); in hns3_is_rx_buf_ok()3420 shared_buf = rounddown(rx_all - rx_priv, HNS3_BUF_SIZE_UNIT); in hns3_is_rx_buf_ok()3426 HNS3_BUF_SIZE_UNIT); in hns3_is_rx_buf_ok()3444 hi_thrd = rounddown(hi_thrd, HNS3_BUF_SIZE_UNIT); in hns3_is_rx_buf_ok()3471 aligned_mps = roundup(pf->mps, HNS3_BUF_SIZE_UNIT); in hns3_rx_buf_calc_all()3486 priv->wl.low = max ? aligned_mps : HNS3_BUF_SIZE_UNIT; in hns3_rx_buf_calc_all()3488 HNS3_BUF_SIZE_UNIT); in hns3_rx_buf_calc_all()3604 min_rx_priv = roundup(min_rx_priv, HNS3_BUF_SIZE_UNIT); in hns3_only_alloc_priv_buff()[all …]
250 #define HNS3_BUF_SIZE_UNIT 256 macro