Lines Matching refs:prof
2150 struct nix_bandprof_s *prof) in print_band_prof_ctx() argument
2154 switch (prof->pc_mode) { in print_band_prof_ctx()
2169 str = (prof->icolor == 3) ? "Color blind" : in print_band_prof_ctx()
2170 (prof->icolor == 0) ? "Green" : in print_band_prof_ctx()
2171 (prof->icolor == 1) ? "Yellow" : "Red"; in print_band_prof_ctx()
2173 seq_printf(m, "W0: tnl_ena\t\t%d\n", prof->tnl_ena); in print_band_prof_ctx()
2174 seq_printf(m, "W0: peir_exponent\t%d\n", prof->peir_exponent); in print_band_prof_ctx()
2175 seq_printf(m, "W0: pebs_exponent\t%d\n", prof->pebs_exponent); in print_band_prof_ctx()
2176 seq_printf(m, "W0: cir_exponent\t%d\n", prof->cir_exponent); in print_band_prof_ctx()
2177 seq_printf(m, "W0: cbs_exponent\t%d\n", prof->cbs_exponent); in print_band_prof_ctx()
2178 seq_printf(m, "W0: peir_mantissa\t%d\n", prof->peir_mantissa); in print_band_prof_ctx()
2179 seq_printf(m, "W0: pebs_mantissa\t%d\n", prof->pebs_mantissa); in print_band_prof_ctx()
2180 seq_printf(m, "W0: cir_mantissa\t%d\n", prof->cir_mantissa); in print_band_prof_ctx()
2182 seq_printf(m, "W1: cbs_mantissa\t%d\n", prof->cbs_mantissa); in print_band_prof_ctx()
2183 str = (prof->lmode == 0) ? "byte" : "packet"; in print_band_prof_ctx()
2185 seq_printf(m, "W1: l_select\t\t%d\n", prof->l_sellect); in print_band_prof_ctx()
2186 seq_printf(m, "W1: rdiv\t\t%d\n", prof->rdiv); in print_band_prof_ctx()
2187 seq_printf(m, "W1: adjust_exponent\t%d\n", prof->adjust_exponent); in print_band_prof_ctx()
2188 seq_printf(m, "W1: adjust_mantissa\t%d\n", prof->adjust_mantissa); in print_band_prof_ctx()
2189 str = (prof->gc_action == 0) ? "PASS" : in print_band_prof_ctx()
2190 (prof->gc_action == 1) ? "DROP" : "RED"; in print_band_prof_ctx()
2192 str = (prof->yc_action == 0) ? "PASS" : in print_band_prof_ctx()
2193 (prof->yc_action == 1) ? "DROP" : "RED"; in print_band_prof_ctx()
2195 str = (prof->rc_action == 0) ? "PASS" : in print_band_prof_ctx()
2196 (prof->rc_action == 1) ? "DROP" : "RED"; in print_band_prof_ctx()
2198 seq_printf(m, "W1: meter_algo\t\t%d\n", prof->meter_algo); in print_band_prof_ctx()
2199 seq_printf(m, "W1: band_prof_id\t%d\n", prof->band_prof_id); in print_band_prof_ctx()
2200 seq_printf(m, "W1: hl_en\t\t%d\n", prof->hl_en); in print_band_prof_ctx()
2202 seq_printf(m, "W2: ts\t\t\t%lld\n", (u64)prof->ts); in print_band_prof_ctx()
2203 seq_printf(m, "W3: pe_accum\t\t%d\n", prof->pe_accum); in print_band_prof_ctx()
2204 seq_printf(m, "W3: c_accum\t\t%d\n", prof->c_accum); in print_band_prof_ctx()
2206 (u64)prof->green_pkt_pass); in print_band_prof_ctx()
2208 (u64)prof->yellow_pkt_pass); in print_band_prof_ctx()
2209 seq_printf(m, "W6: red_pkt_pass\t%lld\n", (u64)prof->red_pkt_pass); in print_band_prof_ctx()
2211 (u64)prof->green_octs_pass); in print_band_prof_ctx()
2213 (u64)prof->yellow_octs_pass); in print_band_prof_ctx()
2214 seq_printf(m, "W9: red_octs_pass\t%lld\n", (u64)prof->red_octs_pass); in print_band_prof_ctx()
2216 (u64)prof->green_pkt_drop); in print_band_prof_ctx()
2218 (u64)prof->yellow_pkt_drop); in print_band_prof_ctx()
2219 seq_printf(m, "W12: red_pkt_drop\t%lld\n", (u64)prof->red_pkt_drop); in print_band_prof_ctx()
2221 (u64)prof->green_octs_drop); in print_band_prof_ctx()
2223 (u64)prof->yellow_octs_drop); in print_band_prof_ctx()
2224 seq_printf(m, "W15: red_octs_drop\t%lld\n", (u64)prof->red_octs_drop); in print_band_prof_ctx()
2277 print_band_prof_ctx(m, &aq_rsp.prof); in rvu_dbg_nix_band_prof_ctx_display()