Home
last modified time | relevance | path

Searched refs:ixgbe (Results 1 – 21 of 21) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_main.c75 static void ixgbe_setup_vmdq_rss_conf(ixgbe_t *ixgbe);
102 static uint32_t ixgbe_get_hw_rx_index(ixgbe_t *ixgbe, uint32_t sw_rx_index);
436 ixgbe_t *ixgbe; in ixgbe_attach() local
460 ixgbe = kmem_zalloc(sizeof (ixgbe_t), KM_SLEEP); in ixgbe_attach()
462 ixgbe->dip = devinfo; in ixgbe_attach()
463 ixgbe->instance = instance; in ixgbe_attach()
465 hw = &ixgbe->hw; in ixgbe_attach()
466 osdep = &ixgbe->osdep; in ixgbe_attach()
468 osdep->ixgbe = ixgbe; in ixgbe_attach()
471 ddi_set_driver_private(devinfo, ixgbe); in ixgbe_attach()
[all …]
H A Dixgbe_debug.c40 ixgbe_t *ixgbe = (ixgbe_t *)adapter; in ixgbe_dump_interrupt() local
41 struct ixgbe_hw *hw = &ixgbe->hw; in ixgbe_dump_interrupt()
49 ixgbe_log(ixgbe, "interrupt: %s\n", tag); in ixgbe_dump_interrupt()
50 ixgbe_log(ixgbe, "..eims: 0x%x\n", IXGBE_READ_REG(hw, IXGBE_EIMS)); in ixgbe_dump_interrupt()
51 ixgbe_log(ixgbe, "..eimc: 0x%x\n", IXGBE_READ_REG(hw, IXGBE_EIMC)); in ixgbe_dump_interrupt()
52 ixgbe_log(ixgbe, "..eiac: 0x%x\n", IXGBE_READ_REG(hw, IXGBE_EIAC)); in ixgbe_dump_interrupt()
53 ixgbe_log(ixgbe, "..eiam: 0x%x\n", IXGBE_READ_REG(hw, IXGBE_EIAM)); in ixgbe_dump_interrupt()
54 ixgbe_log(ixgbe, "..gpie: 0x%x\n", IXGBE_READ_REG(hw, IXGBE_GPIE)); in ixgbe_dump_interrupt()
55 ixgbe_log(ixgbe, "otherflag: 0x%x\n", ixgbe->capab->other_intr); in ixgbe_dump_interrupt()
56 ixgbe_log(ixgbe, "eims_mask: 0x%x\n", ixgbe->eims); in ixgbe_dump_interrupt()
[all …]
H A Dixgbe_gld.c42 ixgbe_t *ixgbe = (ixgbe_t *)arg; in ixgbe_m_start() local
44 mutex_enter(&ixgbe->gen_lock); in ixgbe_m_start()
46 if (ixgbe->ixgbe_state & IXGBE_SUSPENDED) { in ixgbe_m_start()
47 mutex_exit(&ixgbe->gen_lock); in ixgbe_m_start()
51 if (ixgbe_start(ixgbe, B_TRUE) != IXGBE_SUCCESS) { in ixgbe_m_start()
52 mutex_exit(&ixgbe->gen_lock); in ixgbe_m_start()
56 atomic_or_32(&ixgbe->ixgbe_state, IXGBE_STARTED); in ixgbe_m_start()
58 mutex_exit(&ixgbe->gen_lock); in ixgbe_m_start()
63 ixgbe_enable_watchdog_timer(ixgbe); in ixgbe_m_start()
75 ixgbe_t *ixgbe = (ixgbe_t *)arg; in ixgbe_m_stop() local
[all …]
H A Dixgbe_stat.c171 ixgbe_t *ixgbe; in ixgbe_update_stats() local
179 ixgbe = (ixgbe_t *)ks->ks_private; in ixgbe_update_stats()
181 hw = &ixgbe->hw; in ixgbe_update_stats()
183 mutex_enter(&ixgbe->gen_lock); in ixgbe_update_stats()
188 ixgbe_ks->link_speed.value.ui64 = ixgbe->link_speed; in ixgbe_update_stats()
189 ixgbe_ks->reset_count.value.ui64 = ixgbe->reset_count; in ixgbe_update_stats()
190 ixgbe_ks->lroc.value.ui64 = ixgbe->lro_pkt_count; in ixgbe_update_stats()
195 for (i = 0; i < ixgbe->num_rx_rings; i++) { in ixgbe_update_stats()
197 ixgbe->rx_rings[i].stat_frame_error; in ixgbe_update_stats()
199 ixgbe->rx_rings[i].stat_cksum_error; in ixgbe_update_stats()
[all …]
H A Dixgbe_transceiver.c103 ixgbe_phy_to_media(ixgbe_t *ixgbe) in ixgbe_phy_to_media() argument
105 struct ixgbe_hw *hw = &ixgbe->hw; in ixgbe_phy_to_media()
107 ASSERT(MUTEX_HELD(&ixgbe->gen_lock)); in ixgbe_phy_to_media()
117 if ((ixgbe->phys_supported & map->ipm_phys) != 0 && in ixgbe_phy_to_media()
118 ixgbe->link_speed == map->ipm_speed) { in ixgbe_phy_to_media()
123 if (ixgbe->link_state != LINK_STATE_DOWN) { in ixgbe_phy_to_media()
140 ixgbe_transceiver_is_8472(ixgbe_t *ixgbe, boolean_t *valp) in ixgbe_transceiver_is_8472() argument
144 struct ixgbe_hw *hw = &ixgbe->hw; in ixgbe_transceiver_is_8472()
146 ASSERT(MUTEX_HELD(&ixgbe->gen_lock)); in ixgbe_transceiver_is_8472()
159 ixgbe_log(ixgbe, "transceiver requires unsupported address " in ixgbe_transceiver_is_8472()
[all …]
H A Dixgbe_buf.c123 ixgbe_alloc_dma(ixgbe_t *ixgbe) in ixgbe_alloc_dma() argument
130 for (i = 0; i < ixgbe->num_rx_rings; i++) { in ixgbe_alloc_dma()
134 rx_ring = &ixgbe->rx_rings[i]; in ixgbe_alloc_dma()
144 for (i = 0; i < ixgbe->num_tx_rings; i++) { in ixgbe_alloc_dma()
148 tx_ring = &ixgbe->tx_rings[i]; in ixgbe_alloc_dma()
160 ixgbe_free_dma(ixgbe); in ixgbe_alloc_dma()
169 ixgbe_free_dma(ixgbe_t *ixgbe) in ixgbe_free_dma() argument
179 for (i = 0; i < ixgbe->num_rx_rings; i++) { in ixgbe_free_dma()
180 rx_ring = &ixgbe->rx_rings[i]; in ixgbe_free_dma()
190 for (i = 0; i < ixgbe->num_tx_rings; i++) { in ixgbe_free_dma()
[all …]
H A Dixgbe_rx.c58 ixgbe_t *ixgbe; in ixgbe_rx_recycle() local
68 ixgbe = rx_ring->ixgbe; in ixgbe_rx_recycle()
123 mutex_enter(&ixgbe->rx_pending_lock); in ixgbe_rx_recycle()
125 atomic_dec_32(&ixgbe->rcb_pending); in ixgbe_rx_recycle()
135 mutex_exit(&ixgbe->rx_pending_lock); in ixgbe_rx_recycle()
148 ixgbe_t *ixgbe; in ixgbe_rx_copy() local
152 ixgbe = rx_data->rx_ring->ixgbe; in ixgbe_rx_copy()
159 ddi_fm_service_impact(ixgbe->dip, DDI_SERVICE_DEGRADED); in ixgbe_rx_copy()
160 atomic_or_32(&ixgbe->ixgbe_state, IXGBE_ERROR); in ixgbe_rx_copy()
169 ixgbe_log(ixgbe, "ixgbe_rx_copy: allocate buffer failed"); in ixgbe_rx_copy()
[all …]
H A Dixgbe_osdep.c58 ixgbe_t *ixgbe = OS_DEP(hw)->ixgbe; in ixgbe_removed() local
60 ixgbe_error(ixgbe, "failed to read status register: device " in ixgbe_removed()
62 if (ixgbe->ixgbe_ks != NULL) { in ixgbe_removed()
63 ixgbe_stat_t *s = ixgbe->ixgbe_ks->ks_data; in ixgbe_removed()
H A Dixgbe_tx.c124 ixgbe_t *ixgbe = tx_ring->ixgbe; in ixgbe_ring_tx() local
138 if ((ixgbe->ixgbe_state & IXGBE_SUSPENDED) || in ixgbe_ring_tx()
139 (ixgbe->ixgbe_state & IXGBE_ERROR) || in ixgbe_ring_tx()
140 (ixgbe->ixgbe_state & IXGBE_OVERTEMP) || in ixgbe_ring_tx()
141 !(ixgbe->ixgbe_state & IXGBE_STARTED) || in ixgbe_ring_tx()
142 ixgbe->link_state != LINK_STATE_UP) { in ixgbe_ring_tx()
147 copy_thresh = ixgbe->tx_copy_thresh; in ixgbe_ring_tx()
151 if (ixgbe->tx_hcksum_enable) { in ixgbe_ring_tx()
170 (mbsize > (ixgbe->max_frame_size - ETHERFCSL)))) { in ixgbe_ring_tx()
172 IXGBE_DEBUGLOG_0(ixgbe, "ixgbe_tx: packet oversize"); in ixgbe_ring_tx()
[all …]
H A Dixgbe_sw.h540 struct ixgbe *ixgbe; member
605 struct ixgbe *ixgbe; /* Pointer to ixgbe struct */ member
614 struct ixgbe *ixgbe; /* Pointer to ixgbe struct */ member
623 struct ixgbe *ixgbe; /* point to my adapter */ member
635 typedef struct ixgbe { struct
H A Dixgbe_osdep.h160 struct ixgbe *ixgbe; member
/illumos-gate/usr/src/pkg/manifests/
H A Ddriver-network-ixgbe.p5m35 set name=pkg.fmri value=pkg:/driver/network/ixgbe@$(PKGVERS)
44 file path=kernel/drv/$(ARCH64)/ixgbe group=sys
45 file path=kernel/drv/ixgbe.conf group=sys \
46 original_name=SUNWixgbe:kernel/drv/ixgbe.conf preserve=renamenew
49 file path=usr/share/man/man4d/ixgbe.4d
50 driver name=ixgbe perms="* 0666 root sys" clone_perms="ixgbe 0666 root sys" \
100 license usr/src/uts/common/io/ixgbe/core/THIRDPARTYLICENSE \
101 license=usr/src/uts/common/io/ixgbe/core/THIRDPARTYLICENSE
/illumos-gate/usr/src/uts/intel/ixgbe/
H A DMakefile43 MODULE = ixgbe
47 CONF_SRCDIR = $(UTSBASE)/common/io/ixgbe
54 INC_PATH += -I$(UTSBASE)/common/io/ixgbe
55 INC_PATH += -I$(UTSBASE)/common/io/ixgbe/core
/illumos-gate/exception_lists/
H A Dcopyright449 usr/src/uts/common/io/ixgbe/core/ixgbe_82598.c
450 usr/src/uts/common/io/ixgbe/core/ixgbe_82598.h
451 usr/src/uts/common/io/ixgbe/core/ixgbe_82599.c
452 usr/src/uts/common/io/ixgbe/core/ixgbe_82599.h
453 usr/src/uts/common/io/ixgbe/core/ixgbe_api.c
454 usr/src/uts/common/io/ixgbe/core/ixgbe_api.h
455 usr/src/uts/common/io/ixgbe/core/ixgbe_common.c
456 usr/src/uts/common/io/ixgbe/core/ixgbe_common.h
457 usr/src/uts/common/io/ixgbe/core/ixgbe_dcb.c
458 usr/src/uts/common/io/ixgbe/core/ixgbe_dcb.h
[all …]
H A Dcstyle909 usr/src/uts/common/io/ixgbe/ixgbe_osdep.h
910 usr/src/uts/common/io/ixgbe/core/ixgbe_82598.c
911 usr/src/uts/common/io/ixgbe/core/ixgbe_82598.h
912 usr/src/uts/common/io/ixgbe/core/ixgbe_82599.c
913 usr/src/uts/common/io/ixgbe/core/ixgbe_82599.h
914 usr/src/uts/common/io/ixgbe/core/ixgbe_api.c
915 usr/src/uts/common/io/ixgbe/core/ixgbe_api.h
916 usr/src/uts/common/io/ixgbe/core/ixgbe_common.c
917 usr/src/uts/common/io/ixgbe/core/ixgbe_common.h
918 usr/src/uts/common/io/ixgbe/core/ixgbe_dcb.c
[all …]
H A Dwscheck37 usr/src/uts/common/io/ixgbe/core/*
H A Dhdrchk366 usr/src/uts/common/io/ixgbe/core/*
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A DREADME.illumos1 This directory contains the 'common code' to the ixgbe driver. This code
/illumos-gate/usr/src/man/man4d/
H A DMakefile82 ixgbe.4d \
/illumos-gate/usr/src/uts/intel/
H A DMakefile.intel400 DRV_KMODS += ixgbe
/illumos-gate/usr/src/uts/common/
H A DMakefile.rules1432 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/ixgbe/%.c
1436 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/ixgbe/core/%.c