Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper-util.c98 union cvmx_ipd_qosx_red_marks red_marks; in cvmx_helper_setup_red_queue() local
104 red_marks.u64 = 0; in cvmx_helper_setup_red_queue()
105 red_marks.s.drop = drop_thresh; in cvmx_helper_setup_red_queue()
106 red_marks.s.pass = pass_thresh; in cvmx_helper_setup_red_queue()
107 cvmx_write_csr(CVMX_IPD_QOSX_RED_MARKS(queue), red_marks.u64); in cvmx_helper_setup_red_queue()
112 (255ul << 24) / (red_marks.s.pass - red_marks.s.drop); in cvmx_helper_setup_red_queue()