tc_mode
int tc_mode;
int tc_mode;
winctx->tc_mode = rxattr->tc_mode;
rxattr->tc_mode = VAS_THRESH_DISABLED;
winctx->tc_mode = txattr->tc_mode;
if (attr->tc_mode != VAS_THRESH_DISABLED)
int tc_mode;
static enum tc_mode tc_probe_get_mode(struct device *dev)
enum tc_mode mode = 0;
static int tc_probe_bridge_endpoint(struct tc_data *tc, enum tc_mode mode)
resp.tc_mode = tc_mode;
u8 tc_mode = 0;
ret = hr_dev->hw->get_dscp(hr_dev, tclass, &tc_mode, &priority);
if (tc_mode == HNAE3_TC_MAP_MODE_DSCP)
u8 tc_mode;
u8 *tc_mode, u8 *priority);
u8 *tc_mode, u8 *priority)
return ops->get_dscp_prio(handle, dscp, tc_mode, priority);
&hr_qp->tc_mode, &hr_qp->priority);
if (hr_qp->tc_mode == HNAE3_TC_MAP_MODE_DSCP)
resp.tc_mode = hr_qp->tc_mode;
aq_ptp_ring_idx(nic->aq_nic_cfg.tc_mode);
switch (hw->aq_nic_cfg->tc_mode) {
switch (hw->aq_nic_cfg->tc_mode) {
cfg->tc_mode = AQ_TC_MODE_8TCS;
cfg->tc_mode = AQ_TC_MODE_4TCS;
enum aq_tc_mode tc_mode;
(((_NIC_CFG_)->tc_mode == AQ_TC_MODE_4TCS) ? 8 : 4)
tx_ring_idx = aq_ptp_ring_idx(aq_nic->aq_nic_cfg.tc_mode);
rx_ring_idx = aq_ptp_ring_idx(aq_nic->aq_nic_cfg.tc_mode);
static inline unsigned int aq_ptp_ring_idx(const enum aq_tc_mode tc_mode)
if (tc_mode == AQ_TC_MODE_8TCS)
hw_atl_tpb_tps_tx_tc_mode_set(self, nic_cfg->tc_mode);
rss_ctrl1 = (cfg->tc_mode == AQ_TC_MODE_8TCS) ?
hw_atl_rpb_rpf_rx_traf_class_mode_set(self, cfg->tc_mode);
switch (cfg->tc_mode) {
hw_atl_tpb_tps_tx_tc_mode_set(self, nic_cfg->tc_mode);
hw_atl_rpb_rpf_rx_traf_class_mode_set(self, cfg->tc_mode);
static int hclge_get_dscp_prio(struct hnae3_handle *h, u8 dscp, u8 *tc_mode,
if (tc_mode)
*tc_mode = vport->nic.kinfo.tc_map_mode;
__u8 tc_mode;
__u8 tc_mode;