Lines Matching refs:tc
229 int tc; in ixgbe_dcb_unpack_refill_cee() local
231 for (tc = 0; tc < IXGBE_DCB_MAX_TRAFFIC_CLASS; tc++) in ixgbe_dcb_unpack_refill_cee()
232 refill[tc] = tc_config[tc].path[direction].data_credits_refill; in ixgbe_dcb_unpack_refill_cee()
238 int tc; in ixgbe_dcb_unpack_max_cee() local
240 for (tc = 0; tc < IXGBE_DCB_MAX_TRAFFIC_CLASS; tc++) in ixgbe_dcb_unpack_max_cee()
241 max[tc] = tc_config[tc].desc_credits_max; in ixgbe_dcb_unpack_max_cee()
248 int tc; in ixgbe_dcb_unpack_bwgid_cee() local
250 for (tc = 0; tc < IXGBE_DCB_MAX_TRAFFIC_CLASS; tc++) in ixgbe_dcb_unpack_bwgid_cee()
251 bwgid[tc] = tc_config[tc].path[direction].bwg_id; in ixgbe_dcb_unpack_bwgid_cee()
258 int tc; in ixgbe_dcb_unpack_tsa_cee() local
260 for (tc = 0; tc < IXGBE_DCB_MAX_TRAFFIC_CLASS; tc++) in ixgbe_dcb_unpack_tsa_cee()
261 tsa[tc] = tc_config[tc].path[direction].tsa; in ixgbe_dcb_unpack_tsa_cee()
268 u8 tc = cfg->num_tcs.pg_tcs; in ixgbe_dcb_get_tc_from_up() local
271 if (!tc) in ixgbe_dcb_get_tc_from_up()
279 for (tc--; tc; tc--) { in ixgbe_dcb_get_tc_from_up()
280 if (prio_mask & tc_config[tc].path[direction].up_to_tc_bitmap) in ixgbe_dcb_get_tc_from_up()
284 return tc; in ixgbe_dcb_get_tc_from_up()