Searched refs:HCLGE_BUF_SIZE_UNIT (Results 1 – 1 of 1) sorted by relevance
32 #define HCLGE_BUF_SIZE_UNIT 256U macro1960 aligned_mps = roundup(hdev->mps, HCLGE_BUF_SIZE_UNIT); in hclge_is_rx_buf_ok()1971 HCLGE_BUF_SIZE_UNIT); in hclge_is_rx_buf_ok()1977 shared_buf = rounddown(rx_all - rx_priv, HCLGE_BUF_SIZE_UNIT); in hclge_is_rx_buf_ok()1983 HCLGE_BUF_SIZE_UNIT); in hclge_is_rx_buf_ok()2001 hi_thrd = rounddown(hi_thrd, HCLGE_BUF_SIZE_UNIT); in hclge_is_rx_buf_ok()2046 u32 aligned_mps = round_up(hdev->mps, HCLGE_BUF_SIZE_UNIT); in hclge_rx_buf_calc_all()2063 priv->wl.low = max ? aligned_mps : HCLGE_BUF_SIZE_UNIT; in hclge_rx_buf_calc_all()2065 HCLGE_BUF_SIZE_UNIT); in hclge_rx_buf_calc_all()2159 min_rx_priv = round_up(min_rx_priv, HCLGE_BUF_SIZE_UNIT); in hclge_only_alloc_priv_buff()[all …]