Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c1954 u32 shared_buf_min, shared_buf_tc, shared_std, hi_thrd, lo_thrd; in hclge_is_rx_buf_ok() local
1991 hi_thrd = shared_buf - hdev->dv_buf_size; in hclge_is_rx_buf_ok()
1994 hi_thrd = hi_thrd * BUF_RESERVE_PERCENT in hclge_is_rx_buf_ok()
1998 hi_thrd = hi_thrd / tc_num; in hclge_is_rx_buf_ok()
2000 hi_thrd = max_t(u32, hi_thrd, HCLGE_BUF_MUL_BY * aligned_mps); in hclge_is_rx_buf_ok()
2001 hi_thrd = rounddown(hi_thrd, HCLGE_BUF_SIZE_UNIT); in hclge_is_rx_buf_ok()
2002 lo_thrd = hi_thrd - aligned_mps / HCLGE_BUF_DIV_BY; in hclge_is_rx_buf_ok()
2004 hi_thrd = aligned_mps + HCLGE_NON_DCB_ADDITIONAL_BUF; in hclge_is_rx_buf_ok()
2010 buf_alloc->s_buf.tc_thrd[i].high = hi_thrd; in hclge_is_rx_buf_ok()