Home
last modified time | relevance | path

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

/dpdk/drivers/net/hns3/
H A Dhns3_ethdev.c3152 uint32_t shared_buf, aligned_mps; in hns3_is_rx_buf_ok() local
3158 aligned_mps = roundup(pf->mps, HNS3_BUF_SIZE_UNIT); in hns3_is_rx_buf_ok()
3161 shared_buf_min = HNS3_BUF_MUL_BY * aligned_mps + in hns3_is_rx_buf_ok()
3167 shared_buf_tc = tc_num * aligned_mps + aligned_mps; in hns3_is_rx_buf_ok()
3180 - roundup(aligned_mps / HNS3_BUF_DIV_BY, in hns3_is_rx_buf_ok()
3184 aligned_mps + HNS3_NON_DCB_ADDITIONAL_BUF; in hns3_is_rx_buf_ok()
3185 buf_alloc->s_buf.self.low = aligned_mps; in hns3_is_rx_buf_ok()
3200 lo_thrd = hi_thrd - aligned_mps / HNS3_BUF_DIV_BY; in hns3_is_rx_buf_ok()
3203 lo_thrd = aligned_mps; in hns3_is_rx_buf_ok()
3221 uint32_t aligned_mps; in hns3_rx_buf_calc_all() local
[all …]