Lines Matching refs:tcs
81 if (cfg->tcs > 2) in aq_nic_cfg_update_num_vecs()
101 cfg->tcs = AQ_CFG_TCS_DEF; in aq_nic_cfg_start()
153 cfg->prio_tc_map[i] = cfg->tcs * i / 8; in aq_nic_cfg_start()
550 self->aq_vecs * cfg->tcs); in aq_nic_start()
555 self->aq_vecs * cfg->tcs); in aq_nic_start()
559 for (i = 0; i < cfg->tcs; i++) { in aq_nic_start()
1063 for (tc = 0U; tc < self->aq_nic_cfg.tcs; tc++) { in aq_nic_get_stats()
1593 int aq_nic_setup_tc_mqprio(struct aq_nic_s *self, u32 tcs, u8 *prio_tc_map) in aq_nic_setup_tc_mqprio() argument
1604 if (tcs == cfg->tcs || (tcs == 0 && !cfg->is_qos)) in aq_nic_setup_tc_mqprio()
1611 cfg->tcs = tcs; in aq_nic_setup_tc_mqprio()
1612 if (cfg->tcs == 0) in aq_nic_setup_tc_mqprio()
1613 cfg->tcs = 1; in aq_nic_setup_tc_mqprio()
1618 cfg->prio_tc_map[i] = cfg->tcs * i / 8; in aq_nic_setup_tc_mqprio()
1620 cfg->is_qos = !!tcs; in aq_nic_setup_tc_mqprio()
1621 cfg->is_ptp = (cfg->tcs <= AQ_HW_PTP_TC); in aq_nic_setup_tc_mqprio()
1626 netdev_set_num_tc(self->ndev, cfg->tcs); in aq_nic_setup_tc_mqprio()