Searched refs:rx_priv (Results 1 – 1 of 1) sorted by relevance
1985 u32 rx_priv = 0; in hclge_get_rx_priv_buff_alloced() local1991 rx_priv += priv->buf_size; in hclge_get_rx_priv_buff_alloced()1993 return rx_priv; in hclge_get_rx_priv_buff_alloced()2013 u32 rx_priv; in hclge_is_rx_buf_ok() local2029 rx_priv = hclge_get_rx_priv_buff_alloced(buf_alloc); in hclge_is_rx_buf_ok()2030 if (rx_all < rx_priv + shared_std) in hclge_is_rx_buf_ok()2033 shared_buf = rounddown(rx_all - rx_priv, HCLGE_BUF_SIZE_UNIT); in hclge_is_rx_buf_ok()2201 u32 rx_priv = hdev->pkt_buf_size - hclge_get_tx_buff_alloced(buf_alloc); in hclge_only_alloc_priv_buff() local2208 rx_priv = rx_priv / tc_num; in hclge_only_alloc_priv_buff()2211 rx_priv = rx_priv * BUF_RESERVE_PERCENT / BUF_MAX_PERCENT; in hclge_only_alloc_priv_buff()[all …]