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()
555 self->aq_vecs * cfg->tcs); in aq_nic_start()
560 self->aq_vecs * cfg->tcs); in aq_nic_start()
564 for (i = 0; i < cfg->tcs; i++) { in aq_nic_start()
1068 for (tc = 0U; tc < self->aq_nic_cfg.tcs; tc++) { in aq_nic_get_stats()
1600 int aq_nic_setup_tc_mqprio(struct aq_nic_s *self, u32 tcs, u8 *prio_tc_map) in aq_nic_setup_tc_mqprio() argument
1611 if (tcs == cfg->tcs || (tcs == 0 && !cfg->is_qos)) in aq_nic_setup_tc_mqprio()
1618 cfg->tcs = tcs; in aq_nic_setup_tc_mqprio()
1619 if (cfg->tcs == 0) in aq_nic_setup_tc_mqprio()
1620 cfg->tcs = 1; in aq_nic_setup_tc_mqprio()
1625 cfg->prio_tc_map[i] = cfg->tcs * i / 8; in aq_nic_setup_tc_mqprio()
1627 cfg->is_qos = !!tcs; in aq_nic_setup_tc_mqprio()
1628 cfg->is_ptp = (cfg->tcs <= AQ_HW_PTP_TC); in aq_nic_setup_tc_mqprio()
1633 netdev_set_num_tc(self->ndev, cfg->tcs); in aq_nic_setup_tc_mqprio()