Home
last modified time | relevance | path

Searched refs:igb (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_main.c441 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 Digb_gld.c40 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 Digb_debug.c40 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 Digb_sensor.c77 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 Digb_buf.c125 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 Digb_rx.c50 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 Digb_stat.c39 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 Digb_tx.c57 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 Digb_sw.h318 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 De1000_osdep.h184 struct igb *igb; member
/illumos-gate/usr/src/test/util-tests/tests/pcieadm/
H A Dpcieadmtest.ksh113 pcieadm_validate_output igb.pci header0-basic.out 0 \
115 pcieadm_validate_output igb.pci header0-basic-L.out 0 \
117 pcieadm_validate_output igb.pci header0-basic-n.out 0 \
119 pcieadm_validate_output igb.pci header0-basic-LH.out 0 \
132 pcieadm_validate_output igb.pci igb-ltr.out 0 \
134 pcieadm_validate_output igb.pci igb-ltr-p.out 1 \
136 pcieadm_validate_output igb.pci header0-parse.out 0 \
H A DMakefile22 DATAFILES = bridge.pci igb.pci \
28 igb-ltr.out \
29 igb-ltr-p.out \
/illumos-gate/usr/src/pkg/manifests/
H A Ddriver-network-igb.p5m34 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 Dsystem-test-utiltest.p5m1785 file path=opt/util-tests/tests/pci/igb-ltr-p.out mode=0444
1786 file path=opt/util-tests/tests/pci/igb-ltr.out mode=0444
1787 file path=opt/util-tests/tests/pci/igb.pci mode=0444
/illumos-gate/usr/src/uts/intel/igb/
H A DMakefile35 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 DREADME.illumos16 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/usr/src/man/man4d/
H A DMakefile77 igb.4d \
/illumos-gate/usr/src/uts/intel/
H A DMakefile.intel396 DRV_KMODS += igb
/illumos-gate/usr/src/uts/common/
H A DMakefile.rules1419 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/igb/%.c