Searched refs:hi_thrd (Results 1 – 1 of 1) sorted by relevance
3394 uint32_t shared_buf_min, shared_buf_tc, shared_std, hi_thrd, lo_thrd; in hns3_is_rx_buf_ok() local3434 hi_thrd = shared_buf - pf->dv_buf_size; in hns3_is_rx_buf_ok()3437 hi_thrd = hi_thrd * BUF_RESERVE_PERCENT / in hns3_is_rx_buf_ok()3441 hi_thrd = hi_thrd / tc_num; in hns3_is_rx_buf_ok()3443 hi_thrd = RTE_MAX(hi_thrd, HNS3_BUF_MUL_BY * aligned_mps); in hns3_is_rx_buf_ok()3444 hi_thrd = rounddown(hi_thrd, HNS3_BUF_SIZE_UNIT); in hns3_is_rx_buf_ok()3445 lo_thrd = hi_thrd - aligned_mps / HNS3_BUF_DIV_BY; in hns3_is_rx_buf_ok()3447 hi_thrd = aligned_mps + HNS3_NON_DCB_ADDITIONAL_BUF; in hns3_is_rx_buf_ok()3453 buf_alloc->s_buf.tc_thrd[i].high = hi_thrd; in hns3_is_rx_buf_ok()