Home
last modified time | relevance | path

Searched refs:tc_mode (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_hw_utils.c103 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()
H A Daq_ptp.h24 static inline unsigned int aq_ptp_ring_idx(const enum aq_tc_mode tc_mode) in aq_ptp_ring_idx() argument
26 if (tc_mode == AQ_TC_MODE_8TCS) in aq_ptp_ring_idx()
H A Daq_nic.h71 enum aq_tc_mode tc_mode; member
97 (((_NIC_CFG_)->tc_mode == AQ_TC_MODE_4TCS) ? 8 : 4)
H A Daq_ptp.c961 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()
H A Daq_ethtool.c301 aq_ptp_ring_idx(nic->aq_nic_cfg.tc_mode); in aq_ethtool_get_strings()
H A Daq_nic.c86 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()
/openbmc/linux/arch/powerpc/include/asm/
H A Dvas.h152 int tc_mode; member
165 int tc_mode; member
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dvas-window.c750 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()
H A Dvas.h410 int tc_mode; member
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2.c122 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()
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_b0.c454 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()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c12658 static int hclge_get_dscp_prio(struct hnae3_handle *h, u8 dscp, u8 *tc_mode, in hclge_get_dscp_prio() argument
12666 if (tc_mode) in hclge_get_dscp_prio()
12667 *tc_mode = vport->nic.kinfo.tc_map_mode; in hclge_get_dscp_prio()