Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/
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);
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) in dpni_add_vlan_id()
1292 cmd_params->tc_id = tc_id; in dpni_add_vlan_id()
1424 * @tc_id: Traffic class selection (0-7)
1435 u8 tc_id, in dpni_set_rx_tc_dist()
1447 cmd_params->tc_id in dpni_set_rx_tc_dist()
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) dpni_add_vlan_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) dpni_set_rx_tc_dist() 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) dpni_set_congestion_notification() 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) dpni_add_fs_entry() 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) dpni_remove_fs_entry() 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) dpni_add_qos_entry() argument
[all...]
H A Ddpni-cmd.h402 u8 tc_id; member
567 u8 tc_id; member
582 u8 tc_id; member
605 u8 tc_id; member
687 u8 tc_id; member
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
H A Ddpni.h686 u8 tc_id,
943 u8 tc_id,
1039 u8 tc_id,
1047 u8 tc_id,
1054 u8 tc_id,
H A Ddpni.c1325 * @tc_id: Traffic class selection (0-7)
1336 u8 tc_id, in dpni_set_rx_tc_dist()
1348 cmd_params->tc_id = tc_id; in dpni_set_rx_tc_dist()
1365 * @tc_id: Traffic class selection (0-7)
1375 u8 tc_id, in dpni_set_congestion_notification()
1388 cmd_params->tc = tc_id; in dpni_set_congestion_notification()
1765 * @tc_id: Traffic class selection (0-7)
1777 u8 tc_id, in dpni_add_fs_entry()
1790 cmd_params->tc_id in dpni_add_fs_entry()
1333 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) dpni_set_rx_tc_dist() argument
1370 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) dpni_set_congestion_notification() argument
1774 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) dpni_add_fs_entry() argument
1814 dpni_remove_fs_entry(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 tc_id, const struct dpni_rule_cfg *cfg) dpni_remove_fs_entry() argument
1887 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) dpni_add_qos_entry() argument
[all...]
H A Ddpni-cmd.h391 u8 tc_id; member
556 u8 tc_id; member
571 u8 tc_id; member
594 u8 tc_id; member
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_tm.h48 u8 tc_id; member
113 u8 tc_id; member
H A Dhclge_debugfs.c552 dev_info(&hdev->pdev->dev, "BP_TO_QSET tc_id: %u\n", in hclge_dbg_dump_tm_pg()
553 bp_to_qs_map_cmd->tc_id); in hclge_dbg_dump_tm_pg()
690 int tc_id, qset_id; in hclge_dbg_dump_tm_map() local
722 tc_id = tc->tc_id & 0x7; in hclge_dbg_dump_tm_map()
724 dev_info(&hdev->pdev->dev, "queue_id | qset_id | pri_id | tc_id\n"); in hclge_dbg_dump_tm_map()
726 queue_id, qset_id, pri_id, tc_id); in hclge_dbg_dump_tm_map()
738 bp_to_qs_map_cmd->tc_id = tc_id; in hclge_dbg_dump_tm_map()
H A Dhclge_tm.c507 bp_to_qs_map_cmd->tc_id = tc; in hclge_tm_qs_bp_cfg()
639 hdev->tm_info.tc_info[i].tc_id = i; in hclge_tm_tc_info_init()
H A Dhclge_main.h339 u8 tc_id; member
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_tm.h69 u8 tc_id; member
163 u8 tc_id; member
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; in hclge_dscp_to_tc_map() local
294 tc_id = hdev->tm_info.prio_tc[pri_id]; in hclge_dscp_to_tc_map()
298 req0[i >> 1] |= tc_id << HCLGE_DSCP_TC_SHIFT(i); in hclge_dscp_to_tc_map()
303 tc_id = hdev->tm_info.prio_tc[pri_id]; in hclge_dscp_to_tc_map()
304 req1[i >> 1] |= tc_id << HCLGE_DSCP_TC_SHIFT(i); in hclge_dscp_to_tc_map()
580 bp_to_qs_map_cmd->tc_id = tc; in hclge_tm_qs_bp_cfg()
774 hdev->tm_info.tc_info[i].tc_id = i; in hclge_tm_tc_info_init()
1977 int hclge_tm_get_q_to_tc(struct hclge_dev *hdev, u16 q_id, u8 *tc_id) in hclge_tm_get_q_to_tc() argument
1995 *tc_id = tc->tc_id in hclge_tm_get_q_to_tc()
[all...]
H A Dhclge_debugfs.c838 static int hclge_dbg_dump_tm_bp_qset_map(struct hclge_dev *hdev, u8 tc_id, in hclge_dbg_dump_tm_bp_qset_map() argument
857 map->tc_id = tc_id; in hclge_dbg_dump_tm_bp_qset_map()
892 u8 tc_id; in hclge_dbg_dump_tm_map() local
905 ret = hclge_tm_get_q_to_tc(hdev, queue_id, &tc_id); in hclge_dbg_dump_tm_map()
913 queue_id, qset_id, pri_id, tc_id); in hclge_dbg_dump_tm_map()
918 ret = hclge_dbg_dump_tm_bp_qset_map(hdev, tc_id, buf + pos, in hclge_dbg_dump_tm_map()
H A Dhclge_main.h339 u8 tc_id; member
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
H A Dqed_init_fw_funcs.c491 u8 tc_id = pq_params[i].tc_id; in qed_tx_pq_map_rt_init() local
497 tc_id, in qed_tx_pq_map_rt_init()
504 &vport_params[vport_id_in_pf].first_tx_pq_id[tc_id]; in qed_tx_pq_map_rt_init()
548 tc_id, in qed_tx_pq_map_rt_init()
641 pq_params[i].tc_id, in qed_pf_wfq_rt_init()
H A Dqed_dev.c1661 qm_info->qm_pq_params[pq_idx].tc_id = tc; in qed_init_qm_pq()
2038 pq->tc_id, pq->wrr_group, pq->rl_valid, pq->rl_id); in qed_dp_init_qm_params()
H A Dqed_hsi.h2635 u8 tc_id; member
2661 u8 tc_id; member
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/
H A Dqed_init_fw_funcs.c652 u8 tc_id = pq_params[i].tc_id; in qed_tx_pq_map_rt_init() local
658 tc_id, in qed_tx_pq_map_rt_init()
665 &vport_params[vport_id_in_pf].first_tx_pq_id[tc_id]; in qed_tx_pq_map_rt_init()
708 tc_id, in qed_tx_pq_map_rt_init()
802 pq_params[i].tc_id, in qed_pf_wfq_rt_init()
H A Dqed_sriov.c3605 u8 port_id, tc, tc_id = 0, voq = 0; in qed_iov_vf_flr_poll_pbf() local
3615 tc_id = (tc < max_phys_tcs_per_port) ? tc : PURE_LB_TC; in qed_iov_vf_flr_poll_pbf()
3616 voq = VOQ(port_id, tc_id, max_phys_tcs_per_port); in qed_iov_vf_flr_poll_pbf()
3632 tc_id = (tc < max_phys_tcs_per_port) ? in qed_iov_vf_flr_poll_pbf()
3635 tc_id, max_phys_tcs_per_port); in qed_iov_vf_flr_poll_pbf()
3658 DP_ERR(p_hwfn, "VOQ %d has port_id as %d and tc_id as %d]\n", in qed_iov_vf_flr_poll_pbf()
3659 (int)voq, (int)port_id, (int)tc_id); in qed_iov_vf_flr_poll_pbf()
H A Dqed_dev.c1674 qm_info->qm_pq_params[pq_idx].tc_id = tc; in qed_init_qm_pq()
2051 pq->tc_id, pq->wrr_group, pq->rl_valid, pq->rl_id); in qed_dp_init_qm_params()
H A Dqed_hsi.h1948 u8 tc_id; member
1979 u8 tc_id; member
/kernel/linux/linux-6.6/drivers/perf/hisilicon/
H A Dhns3_pmu.c989 u8 tc_id = hns3_pmu_get_tc(event); in hns3_pmu_is_enabled_port_mode() local
994 return tc_id == HNS3_PMU_FILTER_ALL_TC; in hns3_pmu_is_enabled_port_mode()
1001 u8 tc_id = hns3_pmu_get_tc(event); in hns3_pmu_is_enabled_port_tc_mode() local
1006 return tc_id != HNS3_PMU_FILTER_ALL_TC; in hns3_pmu_is_enabled_port_tc_mode()
1105 u8 tc_id = hns3_pmu_get_tc(event); in hns3_pmu_get_filter_condition() local
1113 return FILTER_CONDITION_PORT_TC(port_id, tc_id); in hns3_pmu_get_filter_condition()

Completed in 133 milliseconds