Searched refs:HNS3_BUF_SIZE_UNIT (Results 1 – 2 of 2) sorted by relevance
2491 pf->tx_buf_size = roundup(pf->tx_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()3169 HNS3_BUF_SIZE_UNIT); in hns3_is_rx_buf_ok()3175 shared_buf = rounddown(rx_all - rx_priv, HNS3_BUF_SIZE_UNIT); in hns3_is_rx_buf_ok()3181 HNS3_BUF_SIZE_UNIT); in hns3_is_rx_buf_ok()3199 hi_thrd = rounddown(hi_thrd, HNS3_BUF_SIZE_UNIT); in hns3_is_rx_buf_ok()3226 aligned_mps = roundup(pf->mps, HNS3_BUF_SIZE_UNIT); in hns3_rx_buf_calc_all()3241 priv->wl.low = max ? aligned_mps : HNS3_BUF_SIZE_UNIT; in hns3_rx_buf_calc_all()3243 HNS3_BUF_SIZE_UNIT); in hns3_rx_buf_calc_all()3358 min_rx_priv = roundup(min_rx_priv, HNS3_BUF_SIZE_UNIT); in hns3_only_alloc_priv_buff()[all …]
280 #define HNS3_BUF_SIZE_UNIT 256 macro