/titanic_41/usr/src/uts/common/io/igb/ |
H A D | igb_main.c | 425 igb_t *igb; in igb_attach() local 448 igb = kmem_zalloc(sizeof (igb_t), KM_SLEEP); in igb_attach() 450 igb->dip = devinfo; in igb_attach() 451 igb->instance = instance; in igb_attach() 453 hw = &igb->hw; in igb_attach() 454 osdep = &igb->osdep; in igb_attach() 456 osdep->igb = igb; in igb_attach() 459 ddi_set_driver_private(devinfo, igb); in igb_attach() 463 igb->fm_capabilities = igb_get_prop(igb, "fm-capable", in igb_attach() 467 igb_fm_init(igb); in igb_attach() [all …]
|
H A D | igb_gld.c | 37 igb_t *igb = (igb_t *)arg; in igb_m_stat() local 38 struct e1000_hw *hw = &igb->hw; in igb_m_stat() 42 igb_ks = (igb_stat_t *)igb->igb_ks->ks_data; in igb_m_stat() 44 mutex_enter(&igb->gen_lock); in igb_m_stat() 46 if (igb->igb_state & IGB_SUSPENDED) { in igb_m_stat() 47 mutex_exit(&igb->gen_lock); in igb_m_stat() 53 *val = igb->link_speed * 1000000ull; in igb_m_stat() 57 igb->stat_mprc += E1000_READ_REG(hw, E1000_MPRC); in igb_m_stat() 58 *val = igb->stat_mprc; in igb_m_stat() 62 igb->stat_bprc += E1000_READ_REG(hw, E1000_BPRC); in igb_m_stat() [all …]
|
H A D | igb_debug.c | 38 igb_t *igb = (igb_t *)arg; in pci_dump() local 55 handle = igb->osdep.cfg_handle; in pci_dump() 57 igb_log(igb, "Begin dump PCI config space"); in pci_dump() 59 igb_log(igb, in pci_dump() 62 igb_log(igb, in pci_dump() 65 igb_log(igb, in pci_dump() 68 igb_log(igb, in pci_dump() 71 igb_log(igb, in pci_dump() 74 igb_log(igb, in pci_dump() 77 igb_log(igb, 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_rx_copy: allocate buffer failed"); in igb_rx_copy() 187 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 | 313 typedef void (*igb_nic_func_t)(struct igb *); 478 struct igb *igb; member 544 struct igb *igb; /* Pointer to igb struct */ member 556 struct igb *igb; /* Pointer to igb struct */ member 559 typedef struct igb { struct
|
H A D | e1000_osdep.h | 187 struct igb *igb; member
|
/titanic_41/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_41/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 $(i386_ONLY)file path=kernel/drv/igb group=sys 82 file path=kernel/drv/igb.conf group=sys \ 83 original_name=SUNWigb:kernel/drv/igb.conf preserve=renamenew 84 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_41/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_41/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 118 allow us to build one common misc module e1000api that both igb and e1000g 122 igb as small stubs which depend on that. Note however, that the latter is not 123 how our upstream is currently structuring their igb and em (FreeBSD's e1000g)
|
/titanic_41/usr/src/man/man7d/ |
H A D | Makefile | 70 igb.7d \
|
/titanic_41/usr/src/uts/sparc/ |
H A D | Makefile.sparc | 260 DRV_KMODS += igb
|
/titanic_41/usr/src/uts/intel/ |
H A D | Makefile.intel | 397 DRV_KMODS += igb
|
/titanic_41/usr/src/uts/common/ |
H A D | Makefile.rules | 1357 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/igb/%.c 2589 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/igb/%.c
|