Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c2003 u32 shared_buf, aligned_mps; in hclge_is_rx_buf_ok() local
2007 aligned_mps = roundup(hdev->mps, HCLGE_BUF_SIZE_UNIT); in hclge_is_rx_buf_ok()
2010 shared_buf_min = HCLGE_BUF_MUL_BY * aligned_mps + in hclge_is_rx_buf_ok()
2016 shared_buf_tc = tc_num * aligned_mps + aligned_mps; in hclge_is_rx_buf_ok()
2029 - roundup(aligned_mps / HCLGE_BUF_DIV_BY, in hclge_is_rx_buf_ok()
2032 buf_alloc->s_buf.self.high = aligned_mps + in hclge_is_rx_buf_ok()
2034 buf_alloc->s_buf.self.low = aligned_mps; in hclge_is_rx_buf_ok()
2049 lo_thrd = hi_thrd - aligned_mps / HCLGE_BUF_DIV_BY; in hclge_is_rx_buf_ok()
2052 lo_thrd = aligned_mps; in hclge_is_rx_buf_ok()
2111 priv->wl.high = roundup(priv->wl.low + aligned_mps, in hclge_rx_buf_calc_all()
[all …]