Searched refs:tc_mode (Results 1 – 12 of 12) sorted by relevance
103 switch (hw->aq_nic_cfg->tc_mode) { in aq_hw_num_tcs()117 switch (hw->aq_nic_cfg->tc_mode) { in aq_hw_q_per_tc()
24 static inline unsigned int aq_ptp_ring_idx(const enum aq_tc_mode tc_mode) in aq_ptp_ring_idx() argument26 if (tc_mode == AQ_TC_MODE_8TCS) in aq_ptp_ring_idx()
71 enum aq_tc_mode tc_mode; member97 (((_NIC_CFG_)->tc_mode == AQ_TC_MODE_4TCS) ? 8 : 4)
961 tx_ring_idx = aq_ptp_ring_idx(aq_nic->aq_nic_cfg.tc_mode); in aq_ptp_ring_alloc()968 rx_ring_idx = aq_ptp_ring_idx(aq_nic->aq_nic_cfg.tc_mode); in aq_ptp_ring_alloc()
86 cfg->tc_mode = AQ_TC_MODE_8TCS; in aq_nic_cfg_update_num_vecs()88 cfg->tc_mode = AQ_TC_MODE_4TCS; in aq_nic_cfg_update_num_vecs()
301 aq_ptp_ring_idx(nic->aq_nic_cfg.tc_mode); in aq_ethtool_get_strings()
152 int tc_mode; member165 int tc_mode; member
750 winctx->tc_mode = rxattr->tc_mode; in init_winctx_for_rxwin()838 rxattr->tc_mode = VAS_THRESH_DISABLED; in vas_init_rx_win_attr()960 winctx->tc_mode = txattr->tc_mode; in init_winctx_for_txwin()974 if (attr->tc_mode != VAS_THRESH_DISABLED) in tx_win_args_valid()
410 int tc_mode; member
122 switch (cfg->tc_mode) { in hw_atl2_hw_queue_to_tc_map_set()359 hw_atl_tpb_tps_tx_tc_mode_set(self, nic_cfg->tc_mode); in hw_atl2_hw_init_tx_path()490 hw_atl_rpb_rpf_rx_traf_class_mode_set(self, cfg->tc_mode); in hw_atl2_hw_init_rx_path()
454 hw_atl_tpb_tps_tx_tc_mode_set(self, nic_cfg->tc_mode); in hw_atl_b0_hw_init_tx_path()480 rss_ctrl1 = (cfg->tc_mode == AQ_TC_MODE_8TCS) ? in hw_atl_b0_hw_init_rx_rss_ctrl1()493 hw_atl_rpb_rpf_rx_traf_class_mode_set(self, cfg->tc_mode); in hw_atl_b0_hw_init_rx_path()
12670 static int hclge_get_dscp_prio(struct hnae3_handle *h, u8 dscp, u8 *tc_mode, in hclge_get_dscp_prio() argument12678 if (tc_mode) in hclge_get_dscp_prio()12679 *tc_mode = vport->nic.kinfo.tc_map_mode; in hclge_get_dscp_prio()