Home
last modified time | relevance | path

Searched refs:p_cfgp (Results 1 – 10 of 10) sorted by relevance

/titanic_50/usr/src/uts/common/io/nxge/
H A Dnxge_virtual.c1900 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_use_default_dma_config_n2() local
1909 p_cfgp = (p_nxge_hw_pt_cfg_t)&p_dma_cfgp->hw_config; in nxge_use_default_dma_config_n2()
1912 p_cfgp->function_number = func; in nxge_use_default_dma_config_n2()
1926 p_cfgp->tdc.start = (func * NXGE_TDMA_PER_NIU_PORT); in nxge_use_default_dma_config_n2()
1929 p_cfgp->tdc.start = prop_val[0]; in nxge_use_default_dma_config_n2()
1932 "(#%d)", p_cfgp->tdc.start, prop_len)); in nxge_use_default_dma_config_n2()
1947 p_cfgp->tdc.count = ndmas; in nxge_use_default_dma_config_n2()
1948 p_cfgp->tdc.owned = p_cfgp->tdc.count; in nxge_use_default_dma_config_n2()
1952 p_cfgp, p_cfgp->tdc.count, p_cfgp->tdc.start)); in nxge_use_default_dma_config_n2()
1968 p_cfgp->start_rdc = (func * NXGE_RDMA_PER_NIU_PORT); in nxge_use_default_dma_config_n2()
[all …]
H A Dnxge_classify.c222 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_set_hw_classify_config() local
229 p_cfgp = (p_nxge_hw_pt_cfg_t)&p_all_cfgp->hw_config; in nxge_set_hw_classify_config()
234 nxgep->class_config.mac_rdcgrp = p_cfgp->def_mac_rxdma_grpid; in nxge_set_hw_classify_config()
235 nxgep->class_config.mcast_rdcgrp = p_cfgp->def_mac_rxdma_grpid; in nxge_set_hw_classify_config()
H A Dnxge_ndd.c1041 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_param_get_rxdma_info() local
1063 p_cfgp = (p_nxge_hw_pt_cfg_t)&p_dma_cfgp->hw_config; in nxge_param_get_rxdma_info()
1071 "Total RDCs\t %d\n", p_cfgp->max_rdcs); in nxge_param_get_rxdma_info()
1112 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_param_get_rxdma_rdcgrp_info() local
1119 p_cfgp = (p_nxge_hw_pt_cfg_t)&p_dma_cfgp->hw_config; in nxge_param_get_rxdma_rdcgrp_info()
1124 rdc_grp = p_cfgp->def_mac_rxdma_grpid; in nxge_param_get_rxdma_rdcgrp_info()
1136 p_cfgp->max_rdc_grpids, in nxge_param_get_rxdma_rdcgrp_info()
1137 p_cfgp->def_mac_rxdma_grpid); in nxge_param_get_rxdma_rdcgrp_info()
1143 if (p_cfgp->grpids[i]) { in nxge_param_get_rxdma_rdcgrp_info()
1343 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_param_set_mac_rdcgrp() local
[all …]
H A Dnxge_fflp.c883 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_get_rdc_group() local
887 p_cfgp = (p_nxge_hw_pt_cfg_t)&p_dma_cfgp->hw_config; in nxge_get_rdc_group()
889 rdc_grp = p_cfgp->def_mac_rxdma_grpid; in nxge_get_rdc_group()
1700 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_fflp_config_hash_lookup_enable() local
1706 p_cfgp = (p_nxge_hw_pt_cfg_t)&p_dma_cfgp->hw_config; in nxge_fflp_config_hash_lookup_enable()
1709 if (p_cfgp->grpids[partition]) { in nxge_fflp_config_hash_lookup_enable()
1733 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_fflp_config_hash_lookup_disable() local
1739 p_cfgp = (p_nxge_hw_pt_cfg_t)&p_dma_cfgp->hw_config; in nxge_fflp_config_hash_lookup_disable()
1742 if (p_cfgp->grpids[partition]) { in nxge_fflp_config_hash_lookup_disable()
2009 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_fflp_update_hw() local
[all …]
H A Dnxge_main.c2253 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_alloc_rx_mem_pool() local
2269 p_cfgp = (p_nxge_hw_pt_cfg_t)&p_all_cfgp->hw_config; in nxge_alloc_rx_mem_pool()
2394 dma_poolp->ndmas = p_cfgp->max_rdcs; in nxge_alloc_rx_mem_pool()
2400 dma_cntl_poolp->ndmas = p_cfgp->max_rdcs; in nxge_alloc_rx_mem_pool()
2420 p_cfgp->max_rdcs; in nxge_alloc_rx_mem_pool()
3011 nxge_hw_pt_cfg_t *p_cfgp; in nxge_alloc_tx_mem_pool() local
3021 p_cfgp = &nxgep->pt_config.hw_config; in nxge_alloc_tx_mem_pool()
3066 dma_poolp->ndmas = p_cfgp->tdc.owned; in nxge_alloc_tx_mem_pool()
3073 dma_cntl_poolp->ndmas = p_cfgp->tdc.owned; in nxge_alloc_tx_mem_pool()
3088 nxgep->tx_rings->ndmas = p_cfgp->tdc.owned; in nxge_alloc_tx_mem_pool()
[all …]
H A Dnxge_fzc.c972 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_init_fzc_rxdma_port() local
980 p_cfgp = (p_nxge_hw_pt_cfg_t)&p_all_cfgp->hw_config; in nxge_init_fzc_rxdma_port()
1000 p_cfgp->def_rdc); in nxge_init_fzc_rxdma_port()
1010 for (i = 0; i < p_cfgp->max_macs; i++) { in nxge_init_fzc_rxdma_port()
1011 hostinfo.bits.w0.rdc_tbl_num = p_cfgp->def_mac_rxdma_grpid; in nxge_init_fzc_rxdma_port()
1012 hostinfo.bits.w0.mac_pref = p_cfgp->mac_pref; in nxge_init_fzc_rxdma_port()
/titanic_50/usr/src/uts/common/io/hxge/
H A Dhxge_virtual.c228 p_hxge_hw_pt_cfg_t p_cfgp; in hxge_use_cfg_dma_config() local
239 p_cfgp = (p_hxge_hw_pt_cfg_t)&p_dma_cfgp->hw_config; in hxge_use_cfg_dma_config()
243 p_cfgp->start_tdc = 0; in hxge_use_cfg_dma_config()
244 p_cfgp->max_tdcs = hxgep->max_tdcs = tx_ndmas; in hxge_use_cfg_dma_config()
248 p_cfgp, p_cfgp->max_tdcs, hxgep->max_tdcs)); in hxge_use_cfg_dma_config()
251 p_cfgp->start_rdc = 0; in hxge_use_cfg_dma_config()
252 p_cfgp->max_rdcs = hxgep->max_rdcs = rx_ndmas; in hxge_use_cfg_dma_config()
254 p_cfgp->start_ldg = 0; in hxge_use_cfg_dma_config()
255 p_cfgp->max_ldgs = HXGE_INT_MAX_LDG; in hxge_use_cfg_dma_config()
259 p_cfgp, p_cfgp->max_rdcs, hxgep->max_rdcs)); in hxge_use_cfg_dma_config()
[all …]
H A Dhxge_ndd.c530 p_hxge_hw_pt_cfg_t p_cfgp; in hxge_param_get_rxdma_info() local
552 p_cfgp = (p_hxge_hw_pt_cfg_t)&p_dma_cfgp->hw_config; in hxge_param_get_rxdma_info()
560 "Total RDCs\t %d\n", p_cfgp->max_rdcs); in hxge_param_get_rxdma_info()
568 for (rdc = 0; rdc < p_cfgp->max_rdcs; rdc++) { in hxge_param_get_rxdma_info()
1183 p_hxge_hw_pt_cfg_t p_cfgp; in hxge_param_dump_ptrs() local
1204 p_cfgp = (p_hxge_hw_pt_cfg_t)&p_dma_cfgp->hw_config; in hxge_param_dump_ptrs()
1246 for (rdc = 0; rdc < p_cfgp->max_rdcs; rdc++) { in hxge_param_dump_ptrs()
1258 for (tdc = 0; tdc < p_cfgp->max_tdcs; tdc++) { in hxge_param_dump_ptrs()
H A Dhxge_main.c1433 p_hxge_hw_pt_cfg_t p_cfgp; in hxge_alloc_rx_mem_pool() local
1456 p_cfgp = (p_hxge_hw_pt_cfg_t)&p_all_cfgp->hw_config; in hxge_alloc_rx_mem_pool()
1457 st_rdc = p_cfgp->start_rdc; in hxge_alloc_rx_mem_pool()
1458 ndmas = p_cfgp->max_rdcs; in hxge_alloc_rx_mem_pool()
1569 st_rdc = p_cfgp->start_rdc; in hxge_alloc_rx_mem_pool()
1928 p_hxge_hw_pt_cfg_t p_cfgp; in hxge_alloc_tx_mem_pool() local
1940 p_cfgp = (p_hxge_hw_pt_cfg_t)&p_all_cfgp->hw_config; in hxge_alloc_tx_mem_pool()
1941 st_tdc = p_cfgp->start_tdc; in hxge_alloc_tx_mem_pool()
1942 ndmas = p_cfgp->max_tdcs; in hxge_alloc_tx_mem_pool()
1946 p_cfgp, p_cfgp->start_tdc, p_cfgp->max_tdcs, hxgep->max_tdcs)); in hxge_alloc_tx_mem_pool()
[all …]
H A Dhxge_kstats.c778 p_hxge_hw_pt_cfg_t p_cfgp; in hxge_destroy_kstats() local
788 p_cfgp = (p_hxge_hw_pt_cfg_t)&p_dma_cfgp->hw_config; in hxge_destroy_kstats()
790 for (channel = 0; channel < p_cfgp->max_rdcs; channel++) { in hxge_destroy_kstats()
796 for (channel = 0; channel < p_cfgp->max_tdcs; channel++) { in hxge_destroy_kstats()