Searched refs:tc_id (Results 1 - 12 of 12) sorted by relevance

/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_tm.h69 u8 tc_id; member in struct:hclge_tqp_tx_queue_tc_cmd
163 u8 tc_id; member in struct:hclge_bp_to_qs_map_cmd
267 int hclge_tm_get_q_to_tc(struct hclge_dev *hdev, u16 q_id, u8 *tc_id);
H A Dhclge_tm.c284 u8 pri_id, tc_id, i, j; local
294 tc_id = hdev->tm_info.prio_tc[pri_id];
298 req0[i >> 1] |= tc_id << HCLGE_DSCP_TC_SHIFT(i);
303 tc_id = hdev->tm_info.prio_tc[pri_id];
304 req1[i >> 1] |= tc_id << HCLGE_DSCP_TC_SHIFT(i);
580 bp_to_qs_map_cmd->tc_id = tc;
774 hdev->tm_info.tc_info[i].tc_id = i;
1977 int hclge_tm_get_q_to_tc(struct hclge_dev *hdev, u16 q_id, u8 *tc_id) argument
1995 *tc_id = tc->tc_id
[all...]
H A Dhclge_debugfs.c838 static int hclge_dbg_dump_tm_bp_qset_map(struct hclge_dev *hdev, u8 tc_id, argument
857 map->tc_id = tc_id;
892 u8 tc_id; local
905 ret = hclge_tm_get_q_to_tc(hdev, queue_id, &tc_id);
913 queue_id, qset_id, pri_id, tc_id);
918 ret = hclge_dbg_dump_tm_bp_qset_map(hdev, tc_id, buf + pos,
H A Dhclge_main.h355 u8 tc_id; member in struct:hclge_tc_info
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpni-cmd.h402 u8 tc_id; member in struct:dpni_cmd_set_rx_tc_dist
567 u8 tc_id; member in struct:dpni_cmd_add_fs_entry
582 u8 tc_id; member in struct:dpni_cmd_remove_fs_entry
605 u8 tc_id; member in struct:dpni_cmd_add_qos_entry
687 u8 tc_id; member in struct:dpni_cmd_vlan_id
H A Ddpni.c1267 * @flags: 0 - tc_id and flow_id will be ignored.
1272 * queue defined by the tc_id and flow_id
1274 * @tc_id: Traffic class selection (0-7)
1276 * same as tc_id. Value must be in range 0 to NUM_QUEUES - 1
1281 u16 vlan_id, u8 flags, u8 tc_id, u8 flow_id)
1292 cmd_params->tc_id = tc_id;
1424 * @tc_id: Traffic class selection (0-7)
1435 u8 tc_id,
1447 cmd_params->tc_id
1280 dpni_add_vlan_id(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 vlan_id, u8 flags, u8 tc_id, u8 flow_id) argument
1432 dpni_set_rx_tc_dist(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 tc_id, const struct dpni_rx_tc_dist_cfg *cfg) argument
1469 dpni_set_congestion_notification( struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, enum dpni_queue_type qtype, u8 tc_id, const struct dpni_congestion_notification_cfg *cfg) argument
1877 dpni_add_fs_entry(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 tc_id, u16 index, const struct dpni_rule_cfg *cfg, const struct dpni_fs_action_cfg *action) argument
1917 dpni_remove_fs_entry(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 tc_id, const struct dpni_rule_cfg *cfg) argument
1990 dpni_add_qos_entry(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpni_rule_cfg *cfg, u8 tc_id, u16 index) argument
[all...]
H A Ddpni.h674 u8 tc_id,
929 u8 tc_id,
1026 u8 tc_id,
1034 u8 tc_id,
1041 u8 tc_id,
1114 u16 vlan_id, u8 flags, u8 tc_id, u8 flow_id);
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_init_fw_funcs.c652 u8 tc_id = pq_params[i].tc_id; local
658 tc_id,
665 &vport_params[vport_id_in_pf].first_tx_pq_id[tc_id];
708 tc_id,
802 pq_params[i].tc_id,
H A Dqed_sriov.c3605 u8 port_id, tc, tc_id = 0, voq = 0; local
3615 tc_id = (tc < max_phys_tcs_per_port) ? tc : PURE_LB_TC;
3616 voq = VOQ(port_id, tc_id, max_phys_tcs_per_port);
3632 tc_id = (tc < max_phys_tcs_per_port) ?
3635 tc_id, max_phys_tcs_per_port);
3658 DP_ERR(p_hwfn, "VOQ %d has port_id as %d and tc_id as %d]\n",
3659 (int)voq, (int)port_id, (int)tc_id);
H A Dqed_dev.c1674 qm_info->qm_pq_params[pq_idx].tc_id = tc;
2051 pq->tc_id, pq->wrr_group, pq->rl_valid, pq->rl_id);
H A Dqed_hsi.h1948 u8 tc_id; member in struct:init_nig_pri_tc_map_entry
1979 u8 tc_id; member in struct:init_qm_pq_params
/linux-master/drivers/perf/hisilicon/
H A Dhns3_pmu.c989 u8 tc_id = hns3_pmu_get_tc(event); local
994 return tc_id == HNS3_PMU_FILTER_ALL_TC;
1001 u8 tc_id = hns3_pmu_get_tc(event); local
1006 return tc_id != HNS3_PMU_FILTER_ALL_TC;
1105 u8 tc_id = hns3_pmu_get_tc(event); local
1113 return FILTER_CONDITION_PORT_TC(port_id, tc_id);

Completed in 492 milliseconds