| /illumos-gate/usr/src/uts/common/io/igb/ |
| H A D | igb_main.c | 441 igb_t *igb; in igb_attach() local 464 igb = kmem_zalloc(sizeof (igb_t), KM_SLEEP); in igb_attach() 466 igb->dip = devinfo; in igb_attach() 467 igb->instance = instance; in igb_attach() 469 hw = &igb->hw; in igb_attach() 470 osdep = &igb->osdep; in igb_attach() 472 osdep->igb = igb; in igb_attach() 475 ddi_set_driver_private(devinfo, igb); in igb_attach() 479 igb->fm_capabilities = igb_get_prop(igb, "fm-capable", in igb_attach() 483 igb_fm_init(igb); in igb_attach() [all …]
|
| H A D | igb_gld.c | 40 igb_t *igb = (igb_t *)arg; in igb_m_stat() local 41 struct e1000_hw *hw = &igb->hw; in igb_m_stat() 45 igb_ks = (igb_stat_t *)igb->igb_ks->ks_data; in igb_m_stat() 47 mutex_enter(&igb->gen_lock); in igb_m_stat() 49 if (igb->igb_state & IGB_SUSPENDED) { in igb_m_stat() 50 mutex_exit(&igb->gen_lock); in igb_m_stat() 56 *val = igb->link_speed * 1000000ull; in igb_m_stat() 60 igb->stat_mprc += E1000_READ_REG(hw, E1000_MPRC); in igb_m_stat() 61 *val = igb->stat_mprc; in igb_m_stat() 65 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_sensor.c | 77 igb_t *igb = arg; in igb_sensor_reg_temperature() local 80 if (igb->hw.mac.ops.acquire_swfw_sync(&igb->hw, E1000_SWFW_PWRTS_SM) != in igb_sensor_reg_temperature() 84 reg = E1000_READ_REG(&igb->hw, E1000_THMJT); in igb_sensor_reg_temperature() 85 igb->hw.mac.ops.release_swfw_sync(&igb->hw, E1000_SWFW_PWRTS_SM); in igb_sensor_reg_temperature() 104 igb_sensors_create_minors(igb_t *igb) in igb_sensors_create_minors() argument 107 igb_sensors_t *sp = &igb->igb_sensors; in igb_sensors_create_minors() 109 if ((ret = ksensor_create_scalar_pcidev(igb->dip, in igb_sensors_create_minors() 110 SENSOR_KIND_TEMPERATURE, &igb_sensor_reg_ops, igb, "builtin", in igb_sensors_create_minors() 112 igb_log(igb, IGB_LOG_ERROR, "failed to create main sensor: %d", in igb_sensors_create_minors() 121 igb_sensors_init_ets(igb_t *igb, uint_t ets_off, uint_t index) in igb_sensors_init_ets() argument [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 | 45 igb_t *igb; in igb_rx_recycle() local 55 igb = rx_ring->igb; in igb_rx_recycle() 110 mutex_enter(&igb->rx_pending_lock); in igb_rx_recycle() 112 atomic_dec_32(&igb->rcb_pending); in igb_rx_recycle() 122 mutex_exit(&igb->rx_pending_lock); in igb_rx_recycle() 137 igb_t *igb = rx_data->rx_ring->igb; in igb_rx_copy() local 145 ddi_fm_service_impact(igb->dip, DDI_SERVICE_DEGRADED); in igb_rx_copy() 146 atomic_or_32(&igb->igb_state, IGB_ERROR); in igb_rx_copy() 155 igb_log(igb, IGB_LOG_INFO, in igb_rx_copy() 183 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 | 50 igb_t *igb; in igb_tx_ring_send() local 54 igb = tx_ring->igb; in igb_tx_ring_send() 56 if ((igb->igb_state & IGB_SUSPENDED) || in igb_tx_ring_send() 57 (igb->igb_state & IGB_ERROR) || in igb_tx_ring_send() 58 !(igb->igb_state & IGB_STARTED) || in igb_tx_ring_send() 59 igb->link_state != LINK_STATE_UP) { in igb_tx_ring_send() 99 igb_t *igb = tx_ring->igb; in igb_tx() local 117 copy_thresh = igb->tx_copy_thresh; in igb_tx() 125 if (igb->tx_hcksum_enable) { in igb_tx() 140 (mbsize > (igb->max_frame_size - ETHERFCSL)))) { in igb_tx() [all …]
|
| H A D | igb_sw.h | 318 typedef void (*igb_nic_func_t)(struct igb *); 484 struct igb *igb; member 550 struct igb *igb; /* Pointer to igb struct */ member 562 struct igb *igb; /* Pointer to igb struct */ member 603 typedef struct igb { struct
|
| H A D | e1000_osdep.h | 182 struct igb *igb; member
|
| /illumos-gate/usr/src/test/util-tests/tests/pcieadm/ |
| H A D | pcieadmtest.ksh | 122 pcieadm_validate_output igb.pci header0-basic.out 0 \ 124 pcieadm_validate_output igb.pci header0-basic-L.out 0 \ 126 pcieadm_validate_output igb.pci header0-basic-n.out 0 \ 128 pcieadm_validate_output igb.pci header0-basic-LH.out 0 \ 141 pcieadm_validate_output igb.pci igb-ltr.out 0 \ 143 pcieadm_validate_output igb.pci igb-ltr-p.out 1 \ 145 pcieadm_validate_output igb.pci header0-parse.out 0 \
|
| H A D | Makefile | 22 DATAFILES = bridge.pci igb.pci \ 28 igb-ltr.out \ 29 igb-ltr-p.out \
|
| /illumos-gate/usr/src/pkg/manifests/ |
| H A D | driver-network-igb.p5m | 34 set name=pkg.fmri value=pkg:/driver/network/igb@$(PKGVERS) 43 file path=kernel/drv/$(ARCH64)/igb group=sys 44 file path=kernel/drv/igb.conf group=sys \ 45 original_name=SUNWigb:kernel/drv/igb.conf preserve=renamenew 48 file path=usr/share/man/man4d/igb.4d 49 driver name=igb perms="* 0666 root sys" clone_perms="igb 0666 root sys" \
|
| H A D | system-test-utiltest.p5m | 1797 file path=opt/util-tests/tests/pci/igb-ltr-p.out mode=0444 1798 file path=opt/util-tests/tests/pci/igb-ltr.out mode=0444 1799 file path=opt/util-tests/tests/pci/igb.pci mode=0444
|
| /illumos-gate/usr/src/uts/intel/igb/ |
| H A D | Makefile | 35 MODULE = igb 39 CONF_SRCDIR = $(UTSBASE)/common/io/igb 58 CFLAGS += -I$(UTSBASE)/common/io/igb
|
| /illumos-gate/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 103 allow us to build one common misc module e1000api that both igb and e1000g 107 igb as small stubs which depend on that. Note however, that the latter is not 108 how our upstream is currently structuring their igb and em (FreeBSD's e1000g)
|
| /illumos-gate/exception_lists/ |
| H A D | utf8check | 42 usr/src/test/util-tests/tests/pcieadm/igb.pci
|
| /illumos-gate/usr/src/man/man4d/ |
| H A D | Makefile | 79 igb.4d \
|
| /illumos-gate/usr/src/uts/intel/ |
| H A D | Makefile.intel | 397 DRV_KMODS += igb
|
| /illumos-gate/usr/src/uts/common/ |
| H A D | Makefile.rules | 1477 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/igb/%.c
|