/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_tc.c | 949 struct bnxt_tc_info *tc_info = bp->tc_info; in bnxt_tc_put_l2_node() local 955 rc = rhashtable_remove_fast(&tc_info->l2_table, &l2_node->node, in bnxt_tc_put_l2_node() 956 tc_info->l2_ht_params); in bnxt_tc_put_l2_node() 1005 struct bnxt_tc_info *tc_info = bp->tc_info; in bnxt_tc_get_ref_flow_handle() local 1009 l2_node = bnxt_tc_get_l2_node(bp, &tc_info->l2_table, in bnxt_tc_get_ref_flow_handle() 1010 tc_info->l2_ht_params, in bnxt_tc_get_ref_flow_handle() 1155 struct bnxt_tc_info *tc_info = bp->tc_info; in bnxt_tc_get_ref_decap_handle() local 1159 decap_l2_node = bnxt_tc_get_l2_node(bp, &tc_info->decap_l2_table, in bnxt_tc_get_ref_decap_handle() 1160 tc_info->decap_l2_ht_params, in bnxt_tc_get_ref_decap_handle() 1193 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.6.21/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 | 368 struct hclge_tc_info tc_info[HNAE3_MAX_TC]; member
|
D | hclge_main.c | 4828 struct hnae3_tc_info *tc_info; in hclge_init_rss_tc_mode() local 4833 tc_info = &vport->nic.kinfo.tc_info; in hclge_init_rss_tc_mode() 4835 rss_size = tc_info->tqp_count[i]; in hclge_init_rss_tc_mode() 4858 tc_offset[i] = tc_info->tqp_offset[i]; in hclge_init_rss_tc_mode() 5800 kinfo->tc_info.tqp_offset[rule->cls_flower.tc]; in hclge_config_action() 5802 ilog2(kinfo->tc_info.tqp_count[rule->cls_flower.tc]); in hclge_config_action() 11073 handle->kinfo.tc_info.dcb_ets_active ? "enable" : "disable"); in hclge_info_show() 11075 handle->kinfo.tc_info.mqprio_active ? "enable" : "disable"); in hclge_info_show() 12313 cur_tqps, kinfo->rss_size * kinfo->tc_info.num_tc); in hclge_set_channels()
|
D | hclge_mbx.c | 500 for (i = 0; i < kinfo->tc_info.num_tc; i++) in hclge_get_basic_info()
|
/linux-6.6.21/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.6.21/arch/ia64/kernel/ |
D | palinfo.c | 296 pal_tc_info_u_t tc_info; in vm_info() local 383 if ((status=ia64_pal_vm_info(i,j, &tc_info, &tc_pages)) != 0) in vm_info() 392 cache_types[j+tc_info.tc_unified], i+1, in vm_info() 393 tc_info.tc_num_sets, in vm_info() 394 tc_info.tc_associativity, in vm_info() 395 tc_info.tc_num_entries); in vm_info() 397 if (tc_info.tc_pf) in vm_info() 399 if (tc_info.tc_unified) in vm_info() 401 if (tc_info.tc_reduce_tr) in vm_info() 409 if (tc_info.tc_unified) in vm_info()
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_lib.c | 1056 vsi->tc_cfg.tc_info[i].qoffset = 0; in ice_vsi_setup_q_map() 1057 vsi->tc_cfg.tc_info[i].qcount_rx = 1; in ice_vsi_setup_q_map() 1058 vsi->tc_cfg.tc_info[i].qcount_tx = 1; in ice_vsi_setup_q_map() 1059 vsi->tc_cfg.tc_info[i].netdev_tc = 0; in ice_vsi_setup_q_map() 1065 vsi->tc_cfg.tc_info[i].qoffset = offset; in ice_vsi_setup_q_map() 1066 vsi->tc_cfg.tc_info[i].qcount_rx = num_rxq_per_tc; in ice_vsi_setup_q_map() 1067 vsi->tc_cfg.tc_info[i].qcount_tx = num_txq_per_tc; in ice_vsi_setup_q_map() 1068 vsi->tc_cfg.tc_info[i].netdev_tc = netdev_tc++; in ice_vsi_setup_q_map() 3284 vsi->tc_cfg.tc_info[i].netdev_tc, in ice_vsi_cfg_netdev_tc() 3285 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() 239 qoffset = vsi->tc_cfg.tc_info[n].qoffset; in ice_vsi_cfg_dcb_rings() 240 qcount = vsi->tc_cfg.tc_info[n].qcount_tx; in ice_vsi_cfg_dcb_rings() 244 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 | 244 struct ice_tc_info tc_info[ICE_MAX_TRAFFIC_CLASS]; member
|
D | ice_base.c | 265 return ring->q_index - vsi->tc_cfg.tc_info[tc].qoffset; in ice_calc_txq_handle()
|
/linux-6.6.21/include/linux/net/intel/ |
D | iidc.h | 60 struct iidc_qos_info tc_info[IEEE_8021QAZ_MAX_TCS]; member
|
/linux-6.6.21/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() 5084 struct hnae3_tc_info *tc_info = &kinfo->tc_info; in hns3_init_tx_ring_tc() local 5087 for (i = 0; i < tc_info->num_tc; i++) { in hns3_init_tx_ring_tc() [all …]
|
D | hnae3.h | 831 struct hnae3_tc_info tc_info; member
|
/linux-6.6.21/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.6.21/arch/ia64/include/asm/ |
D | pal.h | 1598 ia64_pal_vm_info (u64 tc_level, u64 tc_type, pal_tc_info_u_t *tc_info, u64 *tc_pages) in ia64_pal_vm_info() argument 1602 if (tc_info) in ia64_pal_vm_info() 1603 tc_info->pti_val = iprv.v0; in ia64_pal_vm_info()
|
/linux-6.6.21/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 1956 vsi->tc_config.tc_info[i].qoffset = offset; in i40e_vsi_setup_queue_map_mqprio() 1957 vsi->tc_config.tc_info[i].qcount = qcount; in i40e_vsi_setup_queue_map_mqprio() 1958 vsi->tc_config.tc_info[i].netdev_tc = netdev_tc++; in i40e_vsi_setup_queue_map_mqprio() 1964 vsi->tc_config.tc_info[i].qoffset = 0; in i40e_vsi_setup_queue_map_mqprio() 1965 vsi->tc_config.tc_info[i].qcount = 1; in i40e_vsi_setup_queue_map_mqprio() 1966 vsi->tc_config.tc_info[i].netdev_tc = 0; in i40e_vsi_setup_queue_map_mqprio() 2104 vsi->tc_config.tc_info[i].qoffset = offset; in i40e_vsi_setup_queue_map() 2105 vsi->tc_config.tc_info[i].qcount = qcount; in i40e_vsi_setup_queue_map() 2115 vsi->tc_config.tc_info[i].netdev_tc = netdev_tc++; in i40e_vsi_setup_queue_map() 2126 vsi->tc_config.tc_info[i].qoffset = 0; in i40e_vsi_setup_queue_map() [all …]
|
D | i40e_debugfs.c | 473 i, vsi->tc_config.tc_info[i].qoffset, in i40e_dbg_dump_vsi_seid() 474 vsi->tc_config.tc_info[i].qcount, in i40e_dbg_dump_vsi_seid() 475 vsi->tc_config.tc_info[i].netdev_tc); in i40e_dbg_dump_vsi_seid()
|
D | i40e.h | 315 struct i40e_tc_info tc_info[I40E_MAX_TRAFFIC_CLASS]; member
|
D | i40e_txrx.c | 3781 qcount = vsi->tc_config.tc_info[tclass].qcount; in i40e_lan_select_queue() 3784 qoffset = vsi->tc_config.tc_info[tclass].qoffset; in i40e_lan_select_queue()
|
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.c | 331 kinfo->tc_info.num_tc = num_tc; in hclgevf_knic_setup() 3025 hdev->num_tqps / kinfo->tc_info.num_tc); in hclgevf_get_max_channels() 3068 hdev->num_tqps / kinfo->tc_info.num_tc); in hclgevf_update_rss_size() 3080 kinfo->num_tqps = kinfo->tc_info.num_tc * kinfo->rss_size; in hclgevf_update_rss_size() 3133 cur_tqps, kinfo->rss_size * kinfo->tc_info.num_tc); in hclgevf_set_channels()
|