Searched refs:p_cfgp (Results 1 – 10 of 10) sorted by relevance
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_virtual.c | 1901 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_use_default_dma_config_n2() local 1910 p_cfgp = (p_nxge_hw_pt_cfg_t)&p_dma_cfgp->hw_config; in nxge_use_default_dma_config_n2() 1913 p_cfgp->function_number = func; in nxge_use_default_dma_config_n2() 1927 p_cfgp->tdc.start = (func * NXGE_TDMA_PER_NIU_PORT); in nxge_use_default_dma_config_n2() 1930 p_cfgp->tdc.start = prop_val[0]; in nxge_use_default_dma_config_n2() 1933 "(#%d)", p_cfgp->tdc.start, prop_len)); in nxge_use_default_dma_config_n2() 1948 p_cfgp->tdc.count = ndmas; in nxge_use_default_dma_config_n2() 1949 p_cfgp->tdc.owned = p_cfgp->tdc.count; in nxge_use_default_dma_config_n2() 1953 p_cfgp, p_cfgp->tdc.count, p_cfgp->tdc.start)); in nxge_use_default_dma_config_n2() 1969 p_cfgp->start_rdc = (func * NXGE_RDMA_PER_NIU_PORT); in nxge_use_default_dma_config_n2() [all …]
|
H A D | nxge_classify.c | 220 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_set_hw_classify_config() local 227 p_cfgp = (p_nxge_hw_pt_cfg_t)&p_all_cfgp->hw_config; in nxge_set_hw_classify_config() 232 nxgep->class_config.mac_rdcgrp = p_cfgp->def_mac_rxdma_grpid; in nxge_set_hw_classify_config() 233 nxgep->class_config.mcast_rdcgrp = p_cfgp->def_mac_rxdma_grpid; in nxge_set_hw_classify_config()
|
H A D | nxge_ndd.c | 1016 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_param_get_rxdma_info() local 1038 p_cfgp = (p_nxge_hw_pt_cfg_t)&p_dma_cfgp->hw_config; in nxge_param_get_rxdma_info() 1046 "Total RDCs\t %d\n", p_cfgp->max_rdcs); in nxge_param_get_rxdma_info() 1087 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_param_get_rxdma_rdcgrp_info() local 1094 p_cfgp = (p_nxge_hw_pt_cfg_t)&p_dma_cfgp->hw_config; in nxge_param_get_rxdma_rdcgrp_info() 1099 rdc_grp = p_cfgp->def_mac_rxdma_grpid; in nxge_param_get_rxdma_rdcgrp_info() 1111 p_cfgp->max_rdc_grpids, in nxge_param_get_rxdma_rdcgrp_info() 1112 p_cfgp->def_mac_rxdma_grpid); in nxge_param_get_rxdma_rdcgrp_info() 1118 if (p_cfgp->grpids[i]) { in nxge_param_get_rxdma_rdcgrp_info() 1318 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_param_set_mac_rdcgrp() local [all …]
|
H A D | nxge_fflp.c | 883 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() 1697 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_fflp_config_hash_lookup_enable() local 1703 p_cfgp = (p_nxge_hw_pt_cfg_t)&p_dma_cfgp->hw_config; in nxge_fflp_config_hash_lookup_enable() 1706 if (p_cfgp->grpids[partition]) { in nxge_fflp_config_hash_lookup_enable() 1730 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_fflp_config_hash_lookup_disable() local 1736 p_cfgp = (p_nxge_hw_pt_cfg_t)&p_dma_cfgp->hw_config; in nxge_fflp_config_hash_lookup_disable() 1739 if (p_cfgp->grpids[partition]) { in nxge_fflp_config_hash_lookup_disable() 2006 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_fflp_update_hw() local [all …]
|
H A D | nxge_main.c | 2247 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_alloc_rx_mem_pool() local 2263 p_cfgp = (p_nxge_hw_pt_cfg_t)&p_all_cfgp->hw_config; in nxge_alloc_rx_mem_pool() 2388 dma_poolp->ndmas = p_cfgp->max_rdcs; in nxge_alloc_rx_mem_pool() 2394 dma_cntl_poolp->ndmas = p_cfgp->max_rdcs; in nxge_alloc_rx_mem_pool() 2414 p_cfgp->max_rdcs; in nxge_alloc_rx_mem_pool() 3005 nxge_hw_pt_cfg_t *p_cfgp; in nxge_alloc_tx_mem_pool() local 3015 p_cfgp = &nxgep->pt_config.hw_config; in nxge_alloc_tx_mem_pool() 3060 dma_poolp->ndmas = p_cfgp->tdc.owned; in nxge_alloc_tx_mem_pool() 3067 dma_cntl_poolp->ndmas = p_cfgp->tdc.owned; in nxge_alloc_tx_mem_pool() 3082 nxgep->tx_rings->ndmas = p_cfgp->tdc.owned; in nxge_alloc_tx_mem_pool() [all …]
|
H A D | nxge_fzc.c | 964 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_init_fzc_rxdma_port() local 972 p_cfgp = (p_nxge_hw_pt_cfg_t)&p_all_cfgp->hw_config; in nxge_init_fzc_rxdma_port() 992 p_cfgp->def_rdc); in nxge_init_fzc_rxdma_port() 1002 for (i = 0; i < p_cfgp->max_macs; i++) { in nxge_init_fzc_rxdma_port() 1003 hostinfo.bits.w0.rdc_tbl_num = p_cfgp->def_mac_rxdma_grpid; in nxge_init_fzc_rxdma_port() 1004 hostinfo.bits.w0.mac_pref = p_cfgp->mac_pref; in nxge_init_fzc_rxdma_port()
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_virtual.c | 228 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 D | hxge_ndd.c | 509 p_hxge_hw_pt_cfg_t p_cfgp; in hxge_param_get_rxdma_info() local 531 p_cfgp = (p_hxge_hw_pt_cfg_t)&p_dma_cfgp->hw_config; in hxge_param_get_rxdma_info() 539 "Total RDCs\t %d\n", p_cfgp->max_rdcs); in hxge_param_get_rxdma_info() 547 for (rdc = 0; rdc < p_cfgp->max_rdcs; rdc++) { in hxge_param_get_rxdma_info() 1153 p_hxge_hw_pt_cfg_t p_cfgp; in hxge_param_dump_ptrs() local 1174 p_cfgp = (p_hxge_hw_pt_cfg_t)&p_dma_cfgp->hw_config; in hxge_param_dump_ptrs() 1212 for (rdc = 0; rdc < p_cfgp->max_rdcs; rdc++) { in hxge_param_dump_ptrs() 1224 for (tdc = 0; tdc < p_cfgp->max_tdcs; tdc++) { in hxge_param_dump_ptrs()
|
H A D | hxge_main.c | 1433 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 D | hxge_kstats.c | 778 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()
|