Searched refs:HCLGE_BUF_SIZE_UNIT (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 30 #define HCLGE_BUF_SIZE_UNIT 256U macro 901 hdev->tx_buf_size = roundup(hdev->tx_buf_size, HCLGE_BUF_SIZE_UNIT); in hclge_query_pf_resource() 909 hdev->dv_buf_size = roundup(hdev->dv_buf_size, HCLGE_BUF_SIZE_UNIT); in hclge_query_pf_resource() 1933 aligned_mps = roundup(hdev->mps, HCLGE_BUF_SIZE_UNIT); in hclge_is_rx_buf_ok() 1944 HCLGE_BUF_SIZE_UNIT); in hclge_is_rx_buf_ok() 1950 shared_buf = rounddown(rx_all - rx_priv, HCLGE_BUF_SIZE_UNIT); in hclge_is_rx_buf_ok() 1956 HCLGE_BUF_SIZE_UNIT); in hclge_is_rx_buf_ok() 1974 hi_thrd = rounddown(hi_thrd, HCLGE_BUF_SIZE_UNIT); in hclge_is_rx_buf_ok() 2019 u32 aligned_mps = round_up(hdev->mps, HCLGE_BUF_SIZE_UNIT); in hclge_rx_buf_calc_all() 2036 priv->wl.low = max ? aligned_mps : HCLGE_BUF_SIZE_UNIT; in hclge_rx_buf_calc_all() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 32 #define HCLGE_BUF_SIZE_UNIT 256U macro 808 hdev->tx_buf_size = roundup(hdev->tx_buf_size, HCLGE_BUF_SIZE_UNIT); in hclge_query_pf_resource() 816 hdev->dv_buf_size = roundup(hdev->dv_buf_size, HCLGE_BUF_SIZE_UNIT); in hclge_query_pf_resource() 1956 aligned_mps = roundup(hdev->mps, HCLGE_BUF_SIZE_UNIT); in hclge_is_rx_buf_ok() 1967 HCLGE_BUF_SIZE_UNIT); in hclge_is_rx_buf_ok() 1973 shared_buf = rounddown(rx_all - rx_priv, HCLGE_BUF_SIZE_UNIT); in hclge_is_rx_buf_ok() 1979 HCLGE_BUF_SIZE_UNIT); in hclge_is_rx_buf_ok() 1997 hi_thrd = rounddown(hi_thrd, HCLGE_BUF_SIZE_UNIT); in hclge_is_rx_buf_ok() 2042 u32 aligned_mps = round_up(hdev->mps, HCLGE_BUF_SIZE_UNIT); in hclge_rx_buf_calc_all() 2059 priv->wl.low = max ? aligned_mps : HCLGE_BUF_SIZE_UNIT; in hclge_rx_buf_calc_all() [all...] |
Completed in 17 milliseconds