Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_ah.c64 u8 tc_mode = 0; in hns_roce_create_ah() local
81 ret = hr_dev->hw->get_dscp(hr_dev, tclass, &tc_mode, &priority); in hns_roce_create_ah()
88 if (tc_mode == HNAE3_TC_MAP_MODE_DSCP && in hns_roce_create_ah()
112 resp.tc_mode = tc_mode; in hns_roce_create_ah()
H A Dhns_roce_device.h657 u8 tc_mode; member
965 u8 *tc_mode, u8 *priority);
H A Dhns_roce_qp.c1439 resp.tc_mode = hr_qp->tc_mode; in hns_roce_modify_qp()
H A Dhns_roce_hw_v2.c4861 u8 *tc_mode, u8 *priority) in hns_roce_hw_v2_get_dscp() argument
4870 return ops->get_dscp_prio(handle, dscp, tc_mode, priority); in hns_roce_hw_v2_get_dscp()
4900 &hr_qp->tc_mode, &hr_qp->priority); in hns_roce_set_sl()
4908 if (hr_qp->tc_mode == HNAE3_TC_MAP_MODE_DSCP && in hns_roce_set_sl()
/linux/include/uapi/rdma/
H A Dhns-abi.h113 __u8 tc_mode; member
153 __u8 tc_mode; member
/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_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()
H A Daq_ethtool.c300 aq_ptp_ring_idx(nic->aq_nic_cfg.tc_mode); in aq_ethtool_get_strings()
/linux/arch/powerpc/include/asm/
H A Dvas.h152 int tc_mode; member
165 int tc_mode; member
/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
/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()
/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()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c12758 static int hclge_get_dscp_prio(struct hnae3_handle *h, u8 dscp, u8 *tc_mode, in hclge_get_dscp_prio() argument
12766 if (tc_mode) in hclge_get_dscp_prio()
12767 *tc_mode = vport->nic.kinfo.tc_map_mode; in hclge_get_dscp_prio()