/titanic_44/usr/src/uts/common/io/igb/ |
H A D | igb_main.c | 426 igb_t *igb; in igb_attach() local 449 igb = kmem_zalloc(sizeof (igb_t), KM_SLEEP); in igb_attach() 451 igb->dip = devinfo; in igb_attach() 452 igb->instance = instance; in igb_attach() 454 hw = &igb->hw; in igb_attach() 455 osdep = &igb->osdep; in igb_attach() 457 osdep->igb = igb; in igb_attach() 460 ddi_set_driver_private(devinfo, igb); in igb_attach() 464 igb->fm_capabilities = igb_get_prop(igb, "fm-capable", in igb_attach() 468 igb_fm_init(igb); in igb_attach() [all …]
|
H A D | igb_gld.c | 39 igb_t *igb = (igb_t *)arg; in igb_m_stat() local 40 struct e1000_hw *hw = &igb->hw; in igb_m_stat() 44 igb_ks = (igb_stat_t *)igb->igb_ks->ks_data; in igb_m_stat() 46 mutex_enter(&igb->gen_lock); in igb_m_stat() 48 if (igb->igb_state & IGB_SUSPENDED) { in igb_m_stat() 49 mutex_exit(&igb->gen_lock); in igb_m_stat() 55 *val = igb->link_speed * 1000000ull; in igb_m_stat() 59 igb->stat_mprc += E1000_READ_REG(hw, E1000_MPRC); in igb_m_stat() 60 *val = igb->stat_mprc; in igb_m_stat() 64 igb->stat_bprc += E1000_READ_REG(hw, E1000_BPRC); in igb_m_stat() [all …]
|
H A D | igb_debug.c | 40 igb_t *igb = (igb_t *)arg; in pci_dump() local 57 handle = igb->osdep.cfg_handle; in pci_dump() 59 igb_log(igb, IGB_LOG_INFO, "Begin dump PCI config space"); in pci_dump() 61 igb_log(igb, IGB_LOG_INFO, in pci_dump() 64 igb_log(igb, IGB_LOG_INFO, in pci_dump() 67 igb_log(igb, IGB_LOG_INFO, in pci_dump() 70 igb_log(igb, IGB_LOG_INFO, in pci_dump() 73 igb_log(igb, IGB_LOG_INFO, in pci_dump() 76 igb_log(igb, IGB_LOG_INFO, in pci_dump() 79 igb_log(igb, IGB_LOG_INFO, in pci_dump() [all …]
|
H A D | igb_buf.c | 125 igb_alloc_dma(igb_t *igb) in igb_alloc_dma() argument 132 for (i = 0; i < igb->num_rx_rings; i++) { in igb_alloc_dma() 136 rx_ring = &igb->rx_rings[i]; in igb_alloc_dma() 146 for (i = 0; i < igb->num_tx_rings; i++) { in igb_alloc_dma() 150 tx_ring = &igb->tx_rings[i]; in igb_alloc_dma() 162 igb_free_dma(igb); in igb_alloc_dma() 172 igb_free_dma(igb_t *igb) in igb_free_dma() argument 182 for (i = 0; i < igb->num_rx_rings; i++) { in igb_free_dma() 183 rx_ring = &igb->rx_rings[i]; in igb_free_dma() 193 for (i = 0; i < igb->num_tx_rings; i++) { in igb_free_dma() [all …]
|
H A D | igb_rx.c | 50 igb_t *igb; in igb_rx_recycle() local 60 igb = rx_ring->igb; in igb_rx_recycle() 115 mutex_enter(&igb->rx_pending_lock); in igb_rx_recycle() 117 atomic_dec_32(&igb->rcb_pending); in igb_rx_recycle() 127 mutex_exit(&igb->rx_pending_lock); in igb_rx_recycle() 142 igb_t *igb = rx_data->rx_ring->igb; in igb_rx_copy() local 150 ddi_fm_service_impact(igb->dip, DDI_SERVICE_DEGRADED); in igb_rx_copy() 151 atomic_or_32(&igb->igb_state, IGB_ERROR); in igb_rx_copy() 160 igb_log(igb, IGB_LOG_INFO, in igb_rx_copy() 188 igb_t *igb = rx_data->rx_ring->igb; in igb_rx_bind() local [all …]
|
H A D | igb_stat.c | 39 igb_t *igb; in igb_update_stats() local 50 igb = (igb_t *)ks->ks_private; in igb_update_stats() 52 hw = &igb->hw; in igb_update_stats() 54 mutex_enter(&igb->gen_lock); in igb_update_stats() 59 igb_ks->reset_count.value.ui64 = igb->reset_count; in igb_update_stats() 60 igb_ks->dout_sync.value.ui64 = igb->dout_sync; in igb_update_stats() 66 for (i = 0; i < igb->num_rx_rings; i++) { in igb_update_stats() 68 igb->rx_rings[i].stat_frame_error; in igb_update_stats() 70 igb->rx_rings[i].stat_cksum_error; in igb_update_stats() 72 igb->rx_rings[i].stat_exceed_pkt; in igb_update_stats() [all …]
|
H A D | igb_tx.c | 57 igb_t *igb; in igb_tx_ring_send() local 61 igb = tx_ring->igb; in igb_tx_ring_send() 63 if ((igb->igb_state & IGB_SUSPENDED) || in igb_tx_ring_send() 64 (igb->igb_state & IGB_ERROR) || in igb_tx_ring_send() 65 !(igb->igb_state & IGB_STARTED) || in igb_tx_ring_send() 66 igb->link_state != LINK_STATE_UP) { in igb_tx_ring_send() 106 igb_t *igb = tx_ring->igb; in igb_tx() local 124 copy_thresh = igb->tx_copy_thresh; in igb_tx() 132 if (igb->tx_hcksum_enable) { in igb_tx() 147 (mbsize > (igb->max_frame_size - ETHERFCSL)))) { in igb_tx() [all …]
|
H A D | igb_sw.h | 314 typedef void (*igb_nic_func_t)(struct igb *); 479 struct igb *igb; member 545 struct igb *igb; /* Pointer to igb struct */ member 557 struct igb *igb; /* Pointer to igb struct */ member 560 typedef struct igb { struct
|
H A D | e1000_osdep.h | 184 struct igb *igb; member
|
/titanic_44/usr/src/uts/intel/igb/ |
H A D | Makefile | 41 MODULE = igb 46 CONF_SRCDIR = $(UTSBASE)/common/io/igb 54 -I$(UTSBASE)/common/io/igb \ 62 CFLAGS += -I$(UTSBASE)/common/io/igb
|
/titanic_44/usr/src/pkg/manifests/ |
H A D | driver-network-igb.mf | 34 set name=pkg.fmri value=pkg:/driver/network/igb@$(PKGVERS) 45 driver name=igb clone_perms="igb 0666 root sys" perms="* 0666 root sys" \ 80 file path=kernel/drv/$(ARCH64)/igb group=sys 81 file path=kernel/drv/igb.conf group=sys \ 82 original_name=SUNWigb:kernel/drv/igb.conf preserve=renamenew 83 file path=usr/share/man/man7d/igb.7d
|
H A D | SUNWigb.mf | 29 depend fmri=pkg:/driver/network/igb@0.5.11,5.11-0.133 type=require
|
/titanic_44/usr/src/uts/sparc/igb/ |
H A D | Makefile | 41 MODULE = igb 46 CONF_SRCDIR = $(UTSBASE)/common/io/igb 54 -I$(UTSBASE)/common/io/igb \
|
/titanic_44/usr/src/uts/common/io/e1000api/ |
H A D | README.illumos | 16 Historically e1000g and igb were maintained by two different teams at Sun and 20 through and made it so that igb and e1000g rely on the same set of common code; 39 introduced with the I350 family of parts in the igb driver. However, there have 96 allow us to build one common misc module e1000api that both igb and e1000g 100 igb as small stubs which depend on that. Note however, that the latter is not 101 how our upstream is currently structuring their igb and em (FreeBSD's e1000g)
|
/titanic_44/usr/src/man/man7d/ |
H A D | Makefile | 70 igb.7d \
|
/titanic_44/usr/src/uts/sparc/ |
H A D | Makefile.sparc | 262 DRV_KMODS += igb
|
/titanic_44/usr/src/uts/intel/ |
H A D | Makefile.intel | 395 DRV_KMODS += igb
|
/titanic_44/usr/src/uts/common/ |
H A D | Makefile.rules | 1321 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/igb/%.c 2526 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/igb/%.c
|