Searched defs:i40e (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/intel/modules/i40e/
H A Di40e.c44 * i40e mdb dcmds
51 i40e_t i40e; local
59 if (mdb_vread(&i40e, sizeof (i40e_t), addr) != sizeof (i40e_t)) {
67 for (i = 0; i < i40e.i40e_switch_rsrc_actual; i++) {
69 uintptr_t raddr = (uintptr_t)i40e.i40e_switch_rsrcs +
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_osdep.c48 i40e_t *i40e = OS_DEP(hw)->ios_i40e; local
49 dev_info_t *dip = i40e->i40e_dip;
60 bcopy(&i40e->i40e_static_dma_attr, &attr, sizeof (ddi_dma_attr_t));
63 rc = ddi_dma_alloc_handle(dip, &i40e->i40e_static_dma_attr,
67 i40e_error(i40e, "failed to allocate DMA handle for common "
80 &i40e->i40e_buf_acc_attr, DDI_DMA_STREAMING, DDI_DMA_DONTWAIT,
89 i40e_error(i40e, "failed to allocate %" PRIu64 " bytes of DMA "
109 i40e_error(i40e, "failed to bind %ld byte sized dma region: %d",
H A Di40e_intr.c184 i40e_intr_set_itr(i40e_t *i40e, i40e_itr_index_t itr, uint_t val) argument
187 i40e_hw_t *hw = &i40e->i40e_hw_space;
197 i40e->i40e_intr_type != DDI_INTR_TYPE_MSIX) {
202 for (i = 1; i < i40e->i40e_intr_count; i++) {
214 i40e_intr_adminq_enable(i40e_t *i40e) argument
216 i40e_hw_t *hw = &i40e->i40e_hw_space;
227 i40e_intr_adminq_disable(i40e_t *i40e) argument
229 i40e_hw_t *hw = &i40e->i40e_hw_space;
237 i40e_intr_io_enable(i40e_t *i40e, int vector) argument
240 i40e_hw_t *hw = &i40e
249 i40e_intr_io_disable(i40e_t *i40e, int vector) argument
264 i40e_intr_io_enable_all(i40e_t *i40e) argument
292 i40e_intr_io_disable_all(i40e_t *i40e) argument
322 i40e_intr_io_clear_cause(i40e_t *i40e) argument
355 i40e_intr_chip_fini(i40e_t *i40e) argument
387 i40e_intr_init_queue_msix(i40e_t *i40e) argument
427 i40e_intr_init_queue_shared(i40e_t *i40e) argument
462 i40e_intr_rx_queue_enable(i40e_t *i40e, uint_t queue) argument
482 i40e_intr_rx_queue_disable(i40e_t *i40e, uint_t queue) argument
503 i40e_intr_chip_init(i40e_t *i40e) argument
561 i40e_intr_adminq_work(i40e_t *i40e) argument
602 i40e_intr_rx_work(i40e_t *i40e, int queue) argument
621 i40e_intr_tx_work(i40e_t *i40e, int queue) argument
635 i40e_intr_other_work(i40e_t *i40e) argument
665 i40e_t *i40e = (i40e_t *)arg1; local
697 i40e_intr_notx(i40e_t *i40e, boolean_t shared) argument
745 i40e_t *i40e = (i40e_t *)arg1; local
754 i40e_t *i40e = (i40e_t *)arg1; local
[all...]
H A Di40e_stats.c55 * would be: i40e:0:pfstats:.
59 * the full kstat would be i40e:0:vsi_0:.
110 i40e_stat_get_uint48(i40e_t *i40e, uintptr_t reg, kstat_named_t *kstat, argument
113 i40e_hw_t *hw = &i40e->i40e_hw_space;
116 ASSERT(MUTEX_HELD(&i40e->i40e_stat_lock));
118 raw = ddi_get64(i40e->i40e_osdep_space.ios_reg_handle,
141 i40e_stat_get_uint32(i40e_t *i40e, uintptr_t reg, kstat_named_t *kstat, argument
144 i40e_hw_t *hw = &i40e->i40e_hw_space;
147 ASSERT(MUTEX_HELD(&i40e->i40e_stat_lock));
149 raw = ddi_get32(i40e
172 i40e_stat_vsi_update(i40e_t *i40e, boolean_t init) argument
228 i40e_t *i40e; local
239 i40e_stat_vsi_fini(i40e_t *i40e) argument
248 i40e_stat_vsi_init(i40e_t *i40e) argument
302 i40e_stat_pf_update(i40e_t *i40e, boolean_t init) argument
446 i40e_t *i40e; local
458 i40e_stat_pf_init(i40e_t *i40e) argument
671 i40e_stats_fini(i40e_t *i40e) argument
683 i40e_stats_init(i40e_t *i40e) argument
700 i40e_t *i40e = (i40e_t *)arg; local
1111 i40e_t *i40e = itrq->itrq_i40e; local
1136 i40e_t *i40e = itrq->itrq_i40e; local
1181 i40e_t *i40e = itrq->itrq_i40e; local
[all...]
H A Di40e_gld.c41 i40e_t *i40e = arg; local
43 struct i40e_hw *hw = &i40e->i40e_hw_space;
50 mutex_enter(&i40e->i40e_general_lock);
52 if (i40e->i40e_state & I40E_SUSPENDED) {
57 for (i = 0; i < i40e->i40e_resources.ifr_nmacfilt_used; i++) {
58 if (bcmp(mac_addr, i40e->i40e_uaddrs[i].iua_mac,
63 if (i == i40e->i40e_resources.ifr_nmacfilt_used) {
68 iua = &i40e->i40e_uaddrs[i];
69 ASSERT(i40e->i40e_resources.ifr_nmacfilt_used > 0);
78 i40e_error(i40e, "faile
109 i40e_t *i40e = arg; local
172 i40e_t *i40e = arg; local
196 i40e_t *i40e = arg; local
218 i40e_t *i40e = arg; local
282 i40e_multicast_add(i40e_t *i40e, const uint8_t *multicast_address) argument
334 i40e_multicast_remove(i40e_t *i40e, const uint8_t *multicast_address) argument
402 i40e_t *i40e = arg; local
454 i40e_t *i40e = itrq->itrq_i40e; local
470 i40e_t *i40e = itrq->itrq_i40e; local
485 i40e_t *i40e = arg; local
518 i40e_t *i40e = arg; local
555 i40e_t *i40e = arg; local
579 i40e_t *i40e = arg; local
632 i40e_m_setprop_private(i40e_t *i40e, const char *pr_name, uint_t pr_valsize, const void *pr_val) argument
699 i40e_m_getprop_private(i40e_t *i40e, const char *pr_name, uint_t pr_valsize, void *pr_val) argument
733 i40e_m_propinfo_private(i40e_t *i40e, const char *pr_name, mac_prop_info_handle_t prh) argument
776 i40e_t *i40e = arg; local
850 i40e_t *i40e = arg; local
966 i40e_t *i40e = arg; local
1071 i40e_register_mac(i40e_t *i40e) argument
[all...]
H A Di40e_main.c18 * i40e - Intel 10/40 Gb Ethernet driver
20 * The i40e driver is the main software device driver for the Intel 40 Gb family
109 * classification resources, that is a VSI in i40e.
398 i40e_dev_err(i40e_t *i40e, int level, boolean_t console, const char *fmt, argument
405 if (i40e == NULL) {
409 dev_err(i40e->i40e_dip, level, (console) ? "%s" : "!%s",
421 i40e_error(i40e_t *i40e, const char *fmt, ...) argument
426 i40e_dev_err(i40e, CE_WARN, B_FALSE, fmt, ap);
432 i40e_log(i40e_t *i40e, const char *fmt, ...) argument
437 i40e_dev_err(i40e, CE_NOT
443 i40e_notice(i40e_t *i40e, const char *fmt, ...) argument
453 i40e_device_rele(i40e_t *i40e) argument
476 i40e_device_find(i40e_t *i40e, dev_info_t *parent, uint_t bus, uint_t device) argument
528 i40e_link_state_set(i40e_t *i40e, link_state_t state) argument
543 i40e_link_check(i40e_t *i40e) argument
606 i40e_rem_intrs(i40e_t *i40e) argument
623 i40e_rem_intr_handlers(i40e_t *i40e) argument
671 i40e_fm_init(i40e_t *i40e) argument
719 i40e_fm_fini(i40e_t *i40e) argument
735 i40e_fm_ereport(i40e_t *i40e, char *detail) argument
757 i40e_get_vsi_id(i40e_t *i40e) argument
792 i40e_get_hw_capabilities(i40e_t *i40e, i40e_hw_t *hw) argument
835 i40e_get_switch_resources(i40e_t *i40e) argument
876 i40e_cleanup_resources(i40e_t *i40e) argument
903 i40e_get_available_resources(i40e_t *i40e) argument
1022 i40e_enable_interrupts(i40e_t *i40e) argument
1053 i40e_disable_interrupts(i40e_t *i40e) argument
1084 i40e_free_trqpairs(i40e_t *i40e) argument
1119 i40e_alloc_trqpairs(i40e_t *i40e) argument
1158 i40e_hw_to_instance(i40e_t *i40e, i40e_hw_t *hw) argument
1173 i40e_common_code_fini(i40e_t *i40e) argument
1193 i40e_common_code_init(i40e_t *i40e, i40e_hw_t *hw) argument
1310 i40e_unconfigure(dev_info_t *devinfo, i40e_t *i40e) argument
1374 i40e_final_init(i40e_t *i40e) argument
1423 i40e_identify_hardware(i40e_t *i40e) argument
1452 i40e_regs_map(i40e_t *i40e) argument
1483 i40e_update_mtu(i40e_t *i40e) argument
1500 i40e_get_prop(i40e_t *i40e, char *prop, int min, int max, int def) argument
1514 i40e_init_properties(i40e_t *i40e) argument
1595 i40e_alloc_intr_handles(i40e_t *i40e, dev_info_t *devinfo, int intr_type) argument
1692 i40e_alloc_intrs(i40e_t *i40e, dev_info_t *devinfo) argument
1737 i40e_map_intrs_to_vectors(i40e_t *i40e) argument
1761 i40e_add_intr_handlers(i40e_t *i40e) argument
1822 i40e_t *i40e = arg; local
1833 i40e_get_hw_state(i40e_t *i40e, i40e_hw_t *hw) argument
1888 i40e_init_macaddrs(i40e_t *i40e, i40e_hw_t *hw) argument
1898 i40e_config_vsi(i40e_t *i40e, i40e_hw_t *hw) argument
1944 i40e_chip_start(i40e_t *i40e) argument
1994 i40e_shutdown_rx_rings(i40e_t *i40e) argument
2044 i40e_shutdown_tx_rings(i40e_t *i40e) argument
2105 i40e_shutdown_rings_wait(i40e_t *i40e) argument
2144 i40e_shutdown_rings(i40e_t *i40e) argument
2174 i40e_t *i40e = itrq->itrq_i40e; local
2231 i40e_setup_rx_rings(i40e_t *i40e) argument
2302 i40e_t *i40e = itrq->itrq_i40e; local
2371 i40e_setup_tx_rings(i40e_t *i40e) argument
2442 i40e_stop(i40e_t *i40e, boolean_t free_allocations) argument
2521 i40e_start(i40e_t *i40e, boolean_t alloc) argument
2620 i40e_drain_rx(i40e_t *i40e) argument
2639 i40e_t *i40e; local
2770 i40e_t *i40e; local
[all...]
H A Di40e_transceiver.c365 #error "unknown architecture for i40e"
551 i40e_alloc_dma_buffer(i40e_t *i40e, i40e_dma_buffer_t *dmap, argument
569 ret = ddi_dma_alloc_handle(i40e->i40e_dip, attrsp, DDI_DMA_DONTWAIT,
572 i40e_error(i40e, "failed to allocate dma handle for I/O "
585 i40e_error(i40e, "failed to allocate %ld bytes of DMA for I/O "
606 i40e_error(i40e, "failed to allocate %ld bytes of DMA for I/O "
653 i40e_alloc_rx_data(i40e_t *i40e, i40e_trqpair_t *itrq) argument
661 rxd->rxd_i40e = i40e;
663 rxd->rxd_ring_size = i40e->i40e_rx_ring_size;
664 rxd->rxd_free_list_size = i40e
717 i40e_t *i40e = rxd->rxd_i40e; local
765 i40e_t *i40e = rxd->rxd_i40e; local
877 i40e_t *i40e = itrq->itrq_i40e; local
984 i40e_free_ring_mem(i40e_t *i40e, boolean_t failed_init) argument
1021 i40e_alloc_ring_mem(i40e_t *i40e) argument
1052 i40e_init_dma_attrs(i40e_t *i40e, boolean_t fma) argument
1113 i40e_t *i40e; local
1170 i40e_t *i40e = rxd->rxd_i40e; local
1227 i40e_t *i40e = rxd->rxd_i40e; local
1368 i40e_t *i40e; local
1776 i40e_tx_context(i40e_t *i40e, i40e_trqpair_t *itrq, mblk_t *mp, i40e_tx_context_t *tctx) argument
1997 i40e_t *i40e = itrq->itrq_i40e; local
2107 i40e_t *i40e = itrq->itrq_i40e; local
[all...]
H A Di40e_sw.h77 #define I40E_MODULE_NAME "i40e"
402 struct i40e *rxd_i40e;
455 * The i40e hardware does not maintain statistics on a per-ring basis,
520 struct i40e *itrq_i40e;
740 * Main i40e per-instance state.
742 typedef struct i40e { struct

Completed in 90 milliseconds