/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_virtual.c | 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() 1994 p_cfgp->max_grpids = p_cfgp->max_rdcs + p_cfgp->tdc.owned; in nxge_use_default_dma_config_n2() 1995 p_cfgp->mif_ldvid = p_cfgp->mac_ldvid = p_cfgp->ser_ldvid = 0; in nxge_use_default_dma_config_n2() 2075 p_cfgp, p_cfgp->max_rdcs, p_cfgp->max_grpids, in nxge_use_default_dma_config_n2() 2076 p_cfgp->mac_ldvid, p_cfgp->mif_ldvid, p_cfgp->ser_ldvid)); in nxge_use_default_dma_config_n2() 2081 p_cfgp, p_cfgp->start_ldg, p_cfgp->max_ldgs)); in nxge_use_default_dma_config_n2() 2114 p_cfgp, p_cfgp->max_rdc_grpids, in nxge_use_default_dma_config_n2() 2380 p_cfgp, p_cfgp->max_rdcs, p_cfgp->max_grpids, in nxge_use_cfg_dma_config() 2386 p_cfgp, p_cfgp->start_ldg, p_cfgp->max_ldgs, in nxge_use_cfg_dma_config() [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 1087 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_param_get_rxdma_rdcgrp_info() local 1111 p_cfgp->max_rdc_grpids, 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 1382 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_param_set_vlan_rdcgrp() local 1498 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_param_get_vlan_rdcgrp() local 1562 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_param_get_mac_rdcgrp() local 1941 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_param_set_grp_rdc() local 2001 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_param_set_port_rdc() local [all …]
|
H A D | nxge_fflp.c | 883 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_get_rdc_group() local 1697 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_fflp_config_hash_lookup_enable() local 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 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 2049 num_macs = p_cfgp->max_macs; in nxge_fflp_update_hw() 2135 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_fflp_handle_sys_errors() local 2207 if (p_cfgp->grpids[rdc_grp]) { in nxge_fflp_handle_sys_errors() 2267 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_rxdma_channel_cnt() local [all …]
|
H A D | nxge_main.c | 2246 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_alloc_rx_mem_pool() local 2387 dma_poolp->ndmas = p_cfgp->max_rdcs; in nxge_alloc_rx_mem_pool() 2413 p_cfgp->max_rdcs; in nxge_alloc_rx_mem_pool() 3004 nxge_hw_pt_cfg_t *p_cfgp; in nxge_alloc_tx_mem_pool() local 3014 p_cfgp = &nxgep->pt_config.hw_config; in nxge_alloc_tx_mem_pool() 4427 p_cfgp->max_rdcs, p_cfgp->max_rdc_grpids)); in nxge_m_getcapab() 4465 p_cfgp->tdc.count)); in nxge_m_getcapab() 5664 ASSERT(p_cfgp != NULL); in nxge_fill_ring() 6767 p_nxge_hw_pt_cfg_t p_cfgp; in nxge_uninit_common_dev() local 6806 p_cfgp = in nxge_uninit_common_dev() [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 243 p_cfgp->start_tdc = 0; 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() 254 p_cfgp->start_ldg = 0; in hxge_use_cfg_dma_config() 259 p_cfgp, p_cfgp->max_rdcs, hxgep->max_rdcs)); in hxge_use_cfg_dma_config() 263 p_cfgp, p_cfgp->start_ldg, p_cfgp->max_ldgs)); in hxge_use_cfg_dma_config() 486 nldvs = p_cfgp->max_tdcs + p_cfgp->max_rdcs; in hxge_ldgv_init() 518 ldgvp->ndma_ldvs = p_cfgp->max_tdcs + p_cfgp->max_rdcs; in hxge_ldgv_init() 525 ldg = p_cfgp->start_ldg; in hxge_ldgv_init() [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()
|