/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_stat.c | 40 ixgbe_t *ixgbe; local 48 ixgbe = (ixgbe_t *)ks->ks_private; 50 hw = &ixgbe->hw; 52 mutex_enter(&ixgbe->gen_lock); 57 ixgbe_ks->link_speed.value.ui64 = ixgbe->link_speed; 58 ixgbe_ks->reset_count.value.ui64 = ixgbe->reset_count; 59 ixgbe_ks->lroc.value.ui64 = ixgbe->lro_pkt_count; 65 for (i = 0; i < ixgbe->num_rx_rings; i++) { 67 ixgbe->rx_rings[i].stat_frame_error; 69 ixgbe 218 ixgbe_init_stats(ixgbe_t *ixgbe) argument 483 ixgbe_t *ixgbe = (ixgbe_t *)arg; local 825 ixgbe_t *ixgbe = rx_ring->ixgbe; local 855 ixgbe_t *ixgbe = tx_ring->ixgbe; local [all...] |
H A D | ixgbe_buf.c | 123 ixgbe_alloc_dma(ixgbe_t *ixgbe) argument 130 for (i = 0; i < ixgbe->num_rx_rings; i++) { 134 rx_ring = &ixgbe->rx_rings[i]; 144 for (i = 0; i < ixgbe->num_tx_rings; i++) { 148 tx_ring = &ixgbe->tx_rings[i]; 160 ixgbe_free_dma(ixgbe); 169 ixgbe_free_dma(ixgbe_t *ixgbe) argument 179 for (i = 0; i < ixgbe->num_rx_rings; i++) { 180 rx_ring = &ixgbe->rx_rings[i]; 190 for (i = 0; i < ixgbe 201 ixgbe_t *ixgbe = rx_ring->ixgbe; local 317 ixgbe_t *ixgbe = tx_ring->ixgbe; local 446 ixgbe_t *ixgbe = rx_data->rx_ring->ixgbe; local 557 ixgbe_alloc_dma_buffer(ixgbe_t *ixgbe, dma_buffer_t *buf, size_t size) argument 662 ixgbe_t *ixgbe = tx_ring->ixgbe; local 828 ixgbe_t *ixgbe = rx_data->rx_ring->ixgbe; local 890 ixgbe_t *ixgbe; local [all...] |
H A D | ixgbe_debug.c | 40 ixgbe_t *ixgbe = (ixgbe_t *)adapter; local 41 struct ixgbe_hw *hw = &ixgbe->hw; 49 ixgbe_log(ixgbe, "interrupt: %s\n", tag); 50 ixgbe_log(ixgbe, "..eims: 0x%x\n", IXGBE_READ_REG(hw, IXGBE_EIMS)); 51 ixgbe_log(ixgbe, "..eimc: 0x%x\n", IXGBE_READ_REG(hw, IXGBE_EIMC)); 52 ixgbe_log(ixgbe, "..eiac: 0x%x\n", IXGBE_READ_REG(hw, IXGBE_EIAC)); 53 ixgbe_log(ixgbe, "..eiam: 0x%x\n", IXGBE_READ_REG(hw, IXGBE_EIAM)); 54 ixgbe_log(ixgbe, "..gpie: 0x%x\n", IXGBE_READ_REG(hw, IXGBE_GPIE)); 55 ixgbe_log(ixgbe, "otherflag: 0x%x\n", ixgbe 152 ixgbe_t *ixgbe = (ixgbe_t *)adapter; local 165 ixgbe_t *ixgbe = (ixgbe_t *)arg; local 429 ixgbe_t *ixgbe = (ixgbe_t *)adapter; local [all...] |
H A D | ixgbe_rx.c | 57 ixgbe_t *ixgbe; local 67 ixgbe = rx_ring->ixgbe; 122 mutex_enter(&ixgbe->rx_pending_lock); 124 atomic_dec_32(&ixgbe->rcb_pending); 134 mutex_exit(&ixgbe->rx_pending_lock); 147 ixgbe_t *ixgbe; local 151 ixgbe = rx_data->rx_ring->ixgbe; 158 ddi_fm_service_impact(ixgbe 195 ixgbe_t *ixgbe = rx_data->rx_ring->ixgbe; local 282 ixgbe_t *ixgbe = rx_data->rx_ring->ixgbe; local 392 ixgbe_t *ixgbe; local 560 ixgbe_t *ixgbe = rx_ring->ixgbe; local [all...] |
H A D | ixgbe_gld.c | 41 ixgbe_t *ixgbe = (ixgbe_t *)arg; local 43 mutex_enter(&ixgbe->gen_lock); 45 if (ixgbe->ixgbe_state & IXGBE_SUSPENDED) { 46 mutex_exit(&ixgbe->gen_lock); 50 if (ixgbe_start(ixgbe, B_TRUE) != IXGBE_SUCCESS) { 51 mutex_exit(&ixgbe->gen_lock); 55 atomic_or_32(&ixgbe->ixgbe_state, IXGBE_STARTED); 57 mutex_exit(&ixgbe->gen_lock); 62 ixgbe_enable_watchdog_timer(ixgbe); 74 ixgbe_t *ixgbe local 101 ixgbe_t *ixgbe = (ixgbe_t *)arg; local 132 ixgbe_t *ixgbe = (ixgbe_t *)arg; local 157 ixgbe_t *ixgbe = (ixgbe_t *)arg; local 229 ixgbe_t *ixgbe = (ixgbe_t *)arg; local 293 ixgbe_t *ixgbe = (ixgbe_t *)arg; local 477 ixgbe_t *ixgbe = (ixgbe_t *)arg; local 602 ixgbe_t *ixgbe = (ixgbe_t *)arg; local 777 ixgbe_set_priv_prop(ixgbe_t *ixgbe, const char *pr_name, uint_t pr_valsize, const void *pr_val) argument 910 ixgbe_get_priv_prop(ixgbe_t *ixgbe, const char *pr_name, uint_t pr_valsize, void *pr_val) argument [all...] |
H A D | ixgbe_osdep.h | 153 struct ixgbe *ixgbe; member in struct:ixgbe_osdep
|
H A D | ixgbe_tx.c | 87 ixgbe_t *ixgbe = tx_ring->ixgbe; local 106 if ((ixgbe->ixgbe_state & IXGBE_SUSPENDED) || 107 (ixgbe->ixgbe_state & IXGBE_ERROR) || 108 (ixgbe->ixgbe_state & IXGBE_OVERTEMP) || 109 !(ixgbe->ixgbe_state & IXGBE_STARTED) || 110 ixgbe->link_state != LINK_STATE_UP) { 115 copy_thresh = ixgbe->tx_copy_thresh; 123 if (ixgbe->tx_hcksum_enable) { 136 * If the mblk size exceeds the max size ixgbe coul 1212 ixgbe_t *ixgbe = tx_ring->ixgbe; local 1374 ixgbe_t *ixgbe = tx_ring->ixgbe; local [all...] |
H A D | ixgbe_main.c | 73 static void ixgbe_setup_vmdq_rss_conf(ixgbe_t *ixgbe); 100 static uint32_t ixgbe_get_hw_rx_index(ixgbe_t *ixgbe, uint32_t sw_rx_index); 417 ixgbe_t *ixgbe; local 441 ixgbe = kmem_zalloc(sizeof (ixgbe_t), KM_SLEEP); 443 ixgbe->dip = devinfo; 444 ixgbe->instance = instance; 446 hw = &ixgbe->hw; 447 osdep = &ixgbe->osdep; 449 osdep->ixgbe = ixgbe; 678 ixgbe_t *ixgbe; local 744 ixgbe_t *ixgbe; local 778 ixgbe_unconfigure(dev_info_t *devinfo, ixgbe_t *ixgbe) argument 917 ixgbe_register_mac(ixgbe_t *ixgbe) argument 948 ixgbe_identify_hardware(ixgbe_t *ixgbe) argument 1043 ixgbe_regs_map(ixgbe_t *ixgbe) argument 1075 ixgbe_init_properties(ixgbe_t *ixgbe) argument 1092 ixgbe_init_driver_settings(ixgbe_t *ixgbe) argument 1184 ixgbe_init_locks(ixgbe_t *ixgbe) argument 1219 ixgbe_destroy_locks(ixgbe_t *ixgbe) argument 1245 ixgbe_t *ixgbe; local 1283 ixgbe_t *ixgbe; local 1312 ixgbe_init(ixgbe_t *ixgbe) argument 1451 ixgbe_chip_start(ixgbe_t *ixgbe) argument 1548 ixgbe_chip_stop(ixgbe_t *ixgbe) argument 1605 ixgbe_reset(ixgbe_t *ixgbe) argument 1656 ixgbe_tx_clean(ixgbe_t *ixgbe) argument 1726 ixgbe_tx_drain(ixgbe_t *ixgbe) argument 1764 ixgbe_rx_drain(ixgbe_t *ixgbe) argument 1795 ixgbe_start(ixgbe_t *ixgbe, boolean_t alloc_buffer) argument 1896 ixgbe_stop(ixgbe_t *ixgbe, boolean_t free_buffer) argument 1958 ixgbe_t *ixgbe = (ixgbe_t *)arg1; local 1990 ixgbe_intr_adjust(ixgbe_t *ixgbe, ddi_cb_action_t cbaction, int count) argument 2152 ixgbe_intr_cb_register(ixgbe_t *ixgbe) argument 2166 ixgbe_alloc_rings(ixgbe_t *ixgbe) argument 2217 ixgbe_free_rings(ixgbe_t *ixgbe) argument 2239 ixgbe_alloc_rx_data(ixgbe_t *ixgbe) argument 2257 ixgbe_free_rx_data(ixgbe_t *ixgbe) argument 2286 ixgbe_setup_rings(ixgbe_t *ixgbe) argument 2303 ixgbe_t *ixgbe = rx_ring->ixgbe; local 2384 ixgbe_setup_rx(ixgbe_t *ixgbe) argument 2563 ixgbe_t *ixgbe = tx_ring->ixgbe; local 2653 ixgbe_setup_tx(ixgbe_t *ixgbe) argument 2756 ixgbe_setup_rss(ixgbe_t *ixgbe) argument 2786 ixgbe_setup_vmdq(ixgbe_t *ixgbe) argument 2843 ixgbe_setup_vmdq_rss(ixgbe_t *ixgbe) argument 2944 ixgbe_setup_rss_table(ixgbe_t *ixgbe) argument 3037 ixgbe_init_unicst(ixgbe_t *ixgbe) argument 3086 ixgbe_unicst_find(ixgbe_t *ixgbe, const uint8_t *mac_addr) argument 3105 ixgbe_multicst_add(ixgbe_t *ixgbe, const uint8_t *multiaddr) argument 3138 ixgbe_multicst_remove(ixgbe_t *ixgbe, const uint8_t *multiaddr) argument 3176 ixgbe_setup_multicst(ixgbe_t *ixgbe) argument 3203 ixgbe_setup_vmdq_rss_conf(ixgbe_t *ixgbe) argument 3288 ixgbe_get_conf(ixgbe_t *ixgbe) argument 3475 ixgbe_init_params(ixgbe_t *ixgbe) argument 3584 ixgbe_get_prop(ixgbe_t *ixgbe, char *propname, int minval, int maxval, int defval) argument 3610 ixgbe_driver_setup_link(ixgbe_t *ixgbe, boolean_t setup_hw) argument 3664 ixgbe_driver_link_check(ixgbe_t *ixgbe) argument 3742 ixgbe_t *ixgbe = (ixgbe_t *)arg; local 3789 ixgbe_t *ixgbe = (ixgbe_t *)arg; local 3845 ixgbe_t *ixgbe = (ixgbe_t *)arg; local 3898 ixgbe_t *ixgbe = (ixgbe_t *)arg; local 3913 ixgbe_t *ixgbe = (ixgbe_t *)arg; local 3950 ixgbe_stall_check(ixgbe_t *ixgbe) argument 4007 ixgbe_find_mac_address(ixgbe_t *ixgbe) argument 4082 ixgbe_arm_watchdog_timer(ixgbe_t *ixgbe) argument 4097 ixgbe_enable_watchdog_timer(ixgbe_t *ixgbe) argument 4114 ixgbe_disable_watchdog_timer(ixgbe_t *ixgbe) argument 4135 ixgbe_start_watchdog_timer(ixgbe_t *ixgbe) argument 4153 ixgbe_restart_watchdog_timer(ixgbe_t *ixgbe) argument 4167 ixgbe_stop_watchdog_timer(ixgbe_t *ixgbe) argument 4187 ixgbe_disable_adapter_interrupts(ixgbe_t *ixgbe) argument 4210 ixgbe_enable_adapter_interrupts(ixgbe_t *ixgbe) argument 4289 ixgbe_loopback_ioctl(ixgbe_t *ixgbe, struct iocblk *iocp, mblk_t *mp) argument 4369 ixgbe_set_loopback_mode(ixgbe_t *ixgbe, uint32_t mode) argument 4408 ixgbe_set_internal_mac_loopback(ixgbe_t *ixgbe) argument 4501 ixgbe_t *ixgbe = tx_ring->ixgbe; local 4525 ixgbe_intr_other_work(ixgbe_t *ixgbe, uint32_t eicr) argument 4618 ixgbe_t *ixgbe = (ixgbe_t *)arg1; local 4749 ixgbe_t *ixgbe = (ixgbe_t *)arg1; local 4821 ixgbe_t *ixgbe = vect->ixgbe; local 4905 ixgbe_alloc_intrs(ixgbe_t *ixgbe) argument 5007 ixgbe_alloc_intr_handles(ixgbe_t *ixgbe, int intr_type) argument 5147 ixgbe_add_intr_handlers(ixgbe_t *ixgbe) argument 5223 ixgbe_map_rxring_to_vector(ixgbe_t *ixgbe, int r_idx, int v_idx) argument 5247 ixgbe_map_txring_to_vector(ixgbe_t *ixgbe, int t_idx, int v_idx) argument 5275 ixgbe_setup_ivar(ixgbe_t *ixgbe, uint16_t intr_alloc_entry, uint8_t msix_vector, int8_t cause) argument 5333 ixgbe_enable_ivar(ixgbe_t *ixgbe, uint16_t intr_alloc_entry, int8_t cause) argument 5385 ixgbe_disable_ivar(ixgbe_t *ixgbe, uint16_t intr_alloc_entry, int8_t cause) argument 5433 ixgbe_get_hw_rx_index(ixgbe_t *ixgbe, uint32_t sw_rx_index) argument 5498 ixgbe_map_intrs_to_vectors(ixgbe_t *ixgbe) argument 5555 ixgbe_setup_adapter_vector(ixgbe_t *ixgbe) argument 5637 ixgbe_rem_intr_handlers(ixgbe_t *ixgbe) argument 5655 ixgbe_rem_intrs(ixgbe_t *ixgbe) argument 5676 ixgbe_enable_intrs(ixgbe_t *ixgbe) argument 5715 ixgbe_disable_intrs(ixgbe_t *ixgbe) argument 5748 ixgbe_get_hw_state(ixgbe_t *ixgbe) argument 5918 ixgbe_fm_init(ixgbe_t *ixgbe) argument 5964 ixgbe_fm_fini(ixgbe_t *ixgbe) argument 5992 ixgbe_fm_ereport(ixgbe_t *ixgbe, char *detail) argument 6020 ixgbe_get_rx_ring_index(ixgbe_t *ixgbe, int gindex, int rindex) argument 6044 ixgbe_t *ixgbe = (ixgbe_t *)arg; local 6109 ixgbe_t *ixgbe = (ixgbe_t *)arg; local 6141 ixgbe_t *ixgbe = rx_ring->ixgbe; local 6184 ixgbe_t *ixgbe = rx_ring->ixgbe; local 6229 ixgbe_t *ixgbe = rx_group->ixgbe; local 6289 ixgbe_t *ixgbe = rx_group->ixgbe; local [all...] |
H A D | ixgbe_sw.h | 78 #define MODULE_NAME "ixgbe" /* module name */ 526 * Pointer to the ixgbe struct 528 struct ixgbe *ixgbe; member in struct:ixgbe_tx_ring 597 struct ixgbe *ixgbe; /* Pointer to ixgbe struct */ member in struct:ixgbe_rx_ring 605 struct ixgbe *ixgbe; /* Pointer to ixgbe struc member in struct:ixgbe_rx_group 612 struct ixgbe *ixgbe; /* point to my adapter */ member in struct:ixgbe_intr_vector 624 typedef struct ixgbe { struct [all...] |