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()
552 self->aq_vecs * cfg->tcs); in aq_nic_start()
557 self->aq_vecs * cfg->tcs); in aq_nic_start()
561 for (i = 0; i < cfg->tcs; i++) { in aq_nic_start()
930 for (tc = 0U; tc < self->aq_nic_cfg.tcs; tc++) { in aq_nic_get_stats()
1462 int aq_nic_setup_tc_mqprio(struct aq_nic_s *self, u32 tcs, u8 *prio_tc_map) in aq_nic_setup_tc_mqprio() argument
1473 if (tcs == cfg->tcs || (tcs == 0 && !cfg->is_qos)) in aq_nic_setup_tc_mqprio()
1480 cfg->tcs = tcs; in aq_nic_setup_tc_mqprio()
1481 if (cfg->tcs == 0) in aq_nic_setup_tc_mqprio()
1482 cfg->tcs = 1; in aq_nic_setup_tc_mqprio()
1487 cfg->prio_tc_map[i] = cfg->tcs * i / 8; in aq_nic_setup_tc_mqprio()
1489 cfg->is_qos = !!tcs; in aq_nic_setup_tc_mqprio()
1490 cfg->is_ptp = (cfg->tcs <= AQ_HW_PTP_TC); in aq_nic_setup_tc_mqprio()
1495 netdev_set_num_tc(self->ndev, cfg->tcs); in aq_nic_setup_tc_mqprio()