/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_tc.c | 953 struct bnxt_tc_info *tc_info = bp->tc_info; in bnxt_tc_put_l2_node() local 959 rc = rhashtable_remove_fast(&tc_info->l2_table, &l2_node->node, in bnxt_tc_put_l2_node() 960 tc_info->l2_ht_params); in bnxt_tc_put_l2_node() 1009 struct bnxt_tc_info *tc_info = bp->tc_info; in bnxt_tc_get_ref_flow_handle() local 1013 l2_node = bnxt_tc_get_l2_node(bp, &tc_info->l2_table, in bnxt_tc_get_ref_flow_handle() 1014 tc_info->l2_ht_params, in bnxt_tc_get_ref_flow_handle() 1159 struct bnxt_tc_info *tc_info = bp->tc_info; in bnxt_tc_get_ref_decap_handle() local 1163 decap_l2_node = bnxt_tc_get_l2_node(bp, &tc_info->decap_l2_table, in bnxt_tc_get_ref_decap_handle() 1164 tc_info->decap_l2_ht_params, in bnxt_tc_get_ref_decap_handle() 1197 struct bnxt_tc_info *tc_info = bp->tc_info; in bnxt_tc_put_decap_l2_node() local [all …]
|
D | bnxt_tc.h | 226 return bp->tc_info && bp->tc_info->enabled; in bnxt_tc_flower_enabled()
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_dcb.c | 19 hdev->tm_info.tc_info[i].tc_sch_mode = in hclge_ieee_ets_to_tm_info() 24 hdev->tm_info.tc_info[i].tc_sch_mode = in hclge_ieee_ets_to_tm_info() 60 if (hdev->tm_info.tc_info[i].tc_sch_mode == in hclge_tm_info_to_ieee_ets() 139 if (hdev->tm_info.tc_info[i].tc_sch_mode != in hclge_ets_sch_mode_validate() 160 if (hdev->tm_info.tc_info[i].tc_sch_mode != in hclge_ets_sch_mode_validate() 262 h->kinfo.tc_info.mqprio_active) in hclge_ieee_setets() 278 h->kinfo.tc_info.dcb_ets_active = num_tc > 1; in hclge_ieee_setets() 487 if (h->kinfo.tc_info.mqprio_active) in hclge_getdcbx() 568 static void hclge_sync_mqprio_qopt(struct hnae3_tc_info *tc_info, in hclge_sync_mqprio_qopt() argument 571 memset(tc_info, 0, sizeof(*tc_info)); in hclge_sync_mqprio_qopt() [all …]
|
D | hclge_tm.c | 543 if (hdev->tm_info.tc_info[pri_id].tc_sch_mode == HCLGE_SCH_MODE_DWRR) in hclge_tm_pri_schd_mode_cfg() 611 for (i = 0; i < kinfo->tc_info.num_tc; i++) { in hclge_tm_qs_shaper_cfg() 638 struct hnae3_tc_info *tc_info = &kinfo->tc_info; in hclge_vport_get_max_rss_size() local 643 if (!tc_info->mqprio_active) in hclge_vport_get_max_rss_size() 644 return vport->alloc_tqps / tc_info->num_tc; in hclge_vport_get_max_rss_size() 647 if (!(hdev->hw_tc_map & BIT(i)) || i >= tc_info->num_tc) in hclge_vport_get_max_rss_size() 649 if (max_rss_size < tc_info->tqp_count[i]) in hclge_vport_get_max_rss_size() 650 max_rss_size = tc_info->tqp_count[i]; in hclge_vport_get_max_rss_size() 659 struct hnae3_tc_info *tc_info = &kinfo->tc_info; in hclge_vport_get_tqp_num() local 664 if (!tc_info->mqprio_active) in hclge_vport_get_tqp_num() [all …]
|
D | hclge_main.h | 389 struct hclge_tc_info tc_info[HNAE3_MAX_TC]; member
|
D | hclge_mbx.c | 500 for (i = 0; i < kinfo->tc_info.num_tc; i++) in hclge_get_basic_info()
|
D | hclge_main.c | 4910 struct hnae3_tc_info *tc_info; in hclge_init_rss_tc_mode() local 4915 tc_info = &vport->nic.kinfo.tc_info; in hclge_init_rss_tc_mode() 4917 rss_size = tc_info->tqp_count[i]; in hclge_init_rss_tc_mode() 4940 tc_offset[i] = tc_info->tqp_offset[i]; in hclge_init_rss_tc_mode() 5882 kinfo->tc_info.tqp_offset[rule->cls_flower.tc]; in hclge_config_action() 5884 ilog2(kinfo->tc_info.tqp_count[rule->cls_flower.tc]); in hclge_config_action() 11187 handle->kinfo.tc_info.dcb_ets_active ? "enable" : "disable"); in hclge_info_show() 11189 handle->kinfo.tc_info.mqprio_active ? "enable" : "disable"); in hclge_info_show() 12435 cur_tqps, kinfo->rss_size * kinfo->tc_info.num_tc); in hclge_set_channels()
|
/linux-6.12.1/drivers/infiniband/hw/irdma/ |
D | main.c | 72 l2params->tc_info[i].egress_virt_up = in irdma_fill_qos_info() 73 qos_info->tc_info[i].egress_virt_up; in irdma_fill_qos_info() 74 l2params->tc_info[i].ingress_virt_up = in irdma_fill_qos_info() 75 qos_info->tc_info[i].ingress_virt_up; in irdma_fill_qos_info() 76 l2params->tc_info[i].prio_type = qos_info->tc_info[i].prio_type; in irdma_fill_qos_info() 77 l2params->tc_info[i].rel_bw = qos_info->tc_info[i].rel_bw; in irdma_fill_qos_info() 78 l2params->tc_info[i].tc_ctx = qos_info->tc_info[i].tc_ctx; in irdma_fill_qos_info()
|
D | type.h | 692 struct irdma_qos_tc_info tc_info[IRDMA_MAX_USER_PRIORITY]; member
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_lib.c | 1025 vsi->tc_cfg.tc_info[i].qoffset = 0; in ice_vsi_setup_q_map() 1026 vsi->tc_cfg.tc_info[i].qcount_rx = 1; in ice_vsi_setup_q_map() 1027 vsi->tc_cfg.tc_info[i].qcount_tx = 1; in ice_vsi_setup_q_map() 1028 vsi->tc_cfg.tc_info[i].netdev_tc = 0; in ice_vsi_setup_q_map() 1034 vsi->tc_cfg.tc_info[i].qoffset = offset; in ice_vsi_setup_q_map() 1035 vsi->tc_cfg.tc_info[i].qcount_rx = num_rxq_per_tc; in ice_vsi_setup_q_map() 1036 vsi->tc_cfg.tc_info[i].qcount_tx = num_txq_per_tc; in ice_vsi_setup_q_map() 1037 vsi->tc_cfg.tc_info[i].netdev_tc = netdev_tc++; in ice_vsi_setup_q_map() 3156 vsi->tc_cfg.tc_info[i].netdev_tc, in ice_vsi_cfg_netdev_tc() 3157 vsi->tc_cfg.tc_info[i].qcount_tx, in ice_vsi_cfg_netdev_tc() [all …]
|
D | ice_dcb_lib.c | 48 if (ice_find_q_in_range(vsi->tc_cfg.tc_info[tc].qoffset, in ice_is_pfc_causing_hung_q() 49 vsi->tc_cfg.tc_info[tc + 1].qoffset, in ice_is_pfc_causing_hung_q() 240 qoffset = vsi->tc_cfg.tc_info[n].qoffset; in ice_vsi_cfg_dcb_rings() 241 qcount = vsi->tc_cfg.tc_info[n].qcount_tx; in ice_vsi_cfg_dcb_rings() 245 qcount = vsi->tc_cfg.tc_info[n].qcount_rx; in ice_vsi_cfg_dcb_rings()
|
D | ice_idc.c | 222 qos->tc_info[i].rel_bw = dcbx_cfg->etscfg.tcbwtable[i]; in ice_get_qos_params()
|
D | ice.h | 249 struct ice_tc_info tc_info[ICE_MAX_TRAFFIC_CLASS]; member
|
D | ice_base.c | 259 return ring->q_index - vsi->tc_cfg.tc_info[tc].qoffset; in ice_calc_txq_handle()
|
/linux-6.12.1/tools/testing/selftests/net/mptcp/ |
D | mptcp_connect.sh | 892 tc_info="loss of $tc_loss " 893 test "$tc_delay" -gt 0 && tc_info+="delay $tc_delay ms " 904 tc_info+="$tc_reorder with delay ${reorder_delay}ms " 911 tc_info+="$tc_reorder with delay ${reorder_delay}ms " 914 mptcp_lib_pr_info "Using ${tc_info}on ns3eth4"
|
/linux-6.12.1/include/linux/net/intel/ |
D | iidc.h | 60 struct iidc_qos_info tc_info[IEEE_8021QAZ_MAX_TCS]; member
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.c | 612 struct hnae3_tc_info *tc_info = &kinfo->tc_info; in hns3_nic_set_real_num_queue() local 616 if (tc_info->num_tc <= 1 && !tc_info->mqprio_active) { in hns3_nic_set_real_num_queue() 619 ret = netdev_set_num_tc(netdev, tc_info->num_tc); in hns3_nic_set_real_num_queue() 626 for (i = 0; i < tc_info->num_tc; i++) in hns3_nic_set_real_num_queue() 627 netdev_set_tc_queue(netdev, i, tc_info->tqp_count[i], in hns3_nic_set_real_num_queue() 628 tc_info->tqp_offset[i]); in hns3_nic_set_real_num_queue() 653 rss_size = alloc_tqps / h->kinfo.tc_info.num_tc; in hns3_get_max_available_channels() 797 netdev_set_prio_tc_map(netdev, i, kinfo->tc_info.prio_tc[i]); in hns3_nic_net_open() 5082 struct hnae3_tc_info *tc_info = &kinfo->tc_info; in hns3_init_tx_ring_tc() local 5085 for (i = 0; i < tc_info->num_tc; i++) { in hns3_init_tx_ring_tc() [all …]
|
D | hnae3.h | 851 struct hnae3_tc_info tc_info; member
|
D | hns3_debugfs.c | 1082 kinfo->tc_info.num_tc); in hns3_dbg_dev_specs()
|
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_dcb.c | 946 uint32_t tc_info; in cxgb4_ieee_read_ets() local 969 tc_info = be32_to_cpu(pcmd.u.dcb.pgid.pgid); in cxgb4_ieee_read_ets() 985 bwg = (tc_info >> ((7 - i) * 4)) & 0xF; in cxgb4_ieee_read_ets()
|
/linux-6.12.1/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 1969 vsi->tc_config.tc_info[i].qoffset = offset; in i40e_vsi_setup_queue_map_mqprio() 1970 vsi->tc_config.tc_info[i].qcount = qcount; in i40e_vsi_setup_queue_map_mqprio() 1971 vsi->tc_config.tc_info[i].netdev_tc = netdev_tc++; in i40e_vsi_setup_queue_map_mqprio() 1977 vsi->tc_config.tc_info[i].qoffset = 0; in i40e_vsi_setup_queue_map_mqprio() 1978 vsi->tc_config.tc_info[i].qcount = 1; in i40e_vsi_setup_queue_map_mqprio() 1979 vsi->tc_config.tc_info[i].netdev_tc = 0; in i40e_vsi_setup_queue_map_mqprio() 2119 vsi->tc_config.tc_info[i].qoffset = offset; in i40e_vsi_setup_queue_map() 2120 vsi->tc_config.tc_info[i].qcount = qcount; in i40e_vsi_setup_queue_map() 2130 vsi->tc_config.tc_info[i].netdev_tc = netdev_tc++; in i40e_vsi_setup_queue_map() 2141 vsi->tc_config.tc_info[i].qoffset = 0; in i40e_vsi_setup_queue_map() [all …]
|
D | i40e_debugfs.c | 457 i, vsi->tc_config.tc_info[i].qoffset, in i40e_dbg_dump_vsi_seid() 458 vsi->tc_config.tc_info[i].qcount, in i40e_dbg_dump_vsi_seid() 459 vsi->tc_config.tc_info[i].netdev_tc); in i40e_dbg_dump_vsi_seid()
|
D | i40e.h | 341 struct i40e_tc_info tc_info[I40E_MAX_TRAFFIC_CLASS]; member
|
D | i40e_txrx.c | 3766 qcount = vsi->tc_config.tc_info[tclass].qcount; in i40e_lan_select_queue() 3769 qoffset = vsi->tc_config.tc_info[tclass].qoffset; in i40e_lan_select_queue()
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.c | 368 kinfo->tc_info.num_tc = num_tc; in hclgevf_knic_setup() 3063 hdev->num_tqps / kinfo->tc_info.num_tc); in hclgevf_get_max_channels() 3106 hdev->num_tqps / kinfo->tc_info.num_tc); in hclgevf_update_rss_size() 3118 kinfo->num_tqps = kinfo->tc_info.num_tc * kinfo->rss_size; in hclgevf_update_rss_size() 3171 cur_tqps, kinfo->rss_size * kinfo->tc_info.num_tc); in hclgevf_set_channels()
|