Searched refs:aligned_mps (Results 1 – 1 of 1) sorted by relevance
2012 u32 shared_buf, aligned_mps; in hclge_is_rx_buf_ok() local2016 aligned_mps = roundup(hdev->mps, HCLGE_BUF_SIZE_UNIT); in hclge_is_rx_buf_ok()2019 shared_buf_min = HCLGE_BUF_MUL_BY * aligned_mps + in hclge_is_rx_buf_ok()2022 shared_buf_min = aligned_mps + HCLGE_NON_DCB_ADDITIONAL_BUF in hclge_is_rx_buf_ok()2025 shared_buf_tc = tc_num * aligned_mps + aligned_mps; in hclge_is_rx_buf_ok()2038 - roundup(aligned_mps / HCLGE_BUF_DIV_BY, in hclge_is_rx_buf_ok()2041 buf_alloc->s_buf.self.high = aligned_mps + in hclge_is_rx_buf_ok()2043 buf_alloc->s_buf.self.low = aligned_mps; in hclge_is_rx_buf_ok()2056 hi_thrd = max_t(u32, hi_thrd, HCLGE_BUF_MUL_BY * aligned_mps); in hclge_is_rx_buf_ok()2058 lo_thrd = hi_thrd - aligned_mps / HCLGE_BUF_DIV_BY; in hclge_is_rx_buf_ok()[all …]