Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_ethdev.c3397 uint32_t shared_buf, aligned_mps; in hns3_is_rx_buf_ok() local
3403 aligned_mps = roundup(pf->mps, HNS3_BUF_SIZE_UNIT); in hns3_is_rx_buf_ok()
3406 shared_buf_min = HNS3_BUF_MUL_BY * aligned_mps + in hns3_is_rx_buf_ok()
3412 shared_buf_tc = tc_num * aligned_mps + aligned_mps; in hns3_is_rx_buf_ok()
3425 - roundup(aligned_mps / HNS3_BUF_DIV_BY, in hns3_is_rx_buf_ok()
3429 aligned_mps + HNS3_NON_DCB_ADDITIONAL_BUF; in hns3_is_rx_buf_ok()
3430 buf_alloc->s_buf.self.low = aligned_mps; in hns3_is_rx_buf_ok()
3445 lo_thrd = hi_thrd - aligned_mps / HNS3_BUF_DIV_BY; in hns3_is_rx_buf_ok()
3448 lo_thrd = aligned_mps; in hns3_is_rx_buf_ok()
3466 uint32_t aligned_mps; in hns3_rx_buf_calc_all() local
[all …]