Home
last modified time | relevance | path

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

/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c1929 u32 shared_buf, aligned_mps; in hclge_is_rx_buf_ok() local
1933 aligned_mps = roundup(hdev->mps, HCLGE_BUF_SIZE_UNIT); in hclge_is_rx_buf_ok()
1936 shared_buf_min = HCLGE_BUF_MUL_BY * aligned_mps + in hclge_is_rx_buf_ok()
1939 shared_buf_min = aligned_mps + HCLGE_NON_DCB_ADDITIONAL_BUF in hclge_is_rx_buf_ok()
1942 shared_buf_tc = tc_num * aligned_mps + aligned_mps; in hclge_is_rx_buf_ok()
1955 - roundup(aligned_mps / HCLGE_BUF_DIV_BY, in hclge_is_rx_buf_ok()
1958 buf_alloc->s_buf.self.high = aligned_mps + in hclge_is_rx_buf_ok()
1960 buf_alloc->s_buf.self.low = aligned_mps; in hclge_is_rx_buf_ok()
1973 hi_thrd = max_t(u32, hi_thrd, HCLGE_BUF_MUL_BY * aligned_mps); in hclge_is_rx_buf_ok()
1975 lo_thrd = hi_thrd - aligned_mps / HCLGE_BUF_DIV_BY; in hclge_is_rx_buf_ok()
[all …]