FreeBSD kernel IXGBE device code
|
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_rss.h"
#include "ixgbe.h"
#include "ixgbe_sriov.h"
#include "ifdi_if.h"
#include <net/netmap.h>
#include <dev/netmap/netmap_kern.h>
Go to the source code of this file.
Macros | |
#define | BSIZEPKT_ROUNDUP ((1<<IXGBE_SRRCTL_BSIZEPKT_SHIFT)-1) |
#define | QUEUE_NAME_LEN 32 |
Functions | |
static void * | ixgbe_register (device_t) |
static int | ixgbe_if_attach_pre (if_ctx_t) |
static int | ixgbe_if_attach_post (if_ctx_t) |
static int | ixgbe_if_detach (if_ctx_t) |
static int | ixgbe_if_shutdown (if_ctx_t) |
static int | ixgbe_if_suspend (if_ctx_t) |
static int | ixgbe_if_resume (if_ctx_t) |
static void | ixgbe_if_stop (if_ctx_t) |
void | ixgbe_if_enable_intr (if_ctx_t) |
static void | ixgbe_if_disable_intr (if_ctx_t) |
static void | ixgbe_link_intr_enable (if_ctx_t) |
static int | ixgbe_if_rx_queue_intr_enable (if_ctx_t, uint16_t) |
static void | ixgbe_if_media_status (if_ctx_t, struct ifmediareq *) |
static int | ixgbe_if_media_change (if_ctx_t) |
static int | ixgbe_if_msix_intr_assign (if_ctx_t, int) |
static int | ixgbe_if_mtu_set (if_ctx_t, uint32_t) |
static void | ixgbe_if_crcstrip_set (if_ctx_t, int, int) |
static void | ixgbe_if_multi_set (if_ctx_t) |
static int | ixgbe_if_promisc_set (if_ctx_t, int) |
static int | ixgbe_if_tx_queues_alloc (if_ctx_t, caddr_t *, uint64_t *, int, int) |
static int | ixgbe_if_rx_queues_alloc (if_ctx_t, caddr_t *, uint64_t *, int, int) |
static void | ixgbe_if_queues_free (if_ctx_t) |
static void | ixgbe_if_timer (if_ctx_t, uint16_t) |
static void | ixgbe_if_update_admin_status (if_ctx_t) |
static void | ixgbe_if_vlan_register (if_ctx_t, u16) |
static void | ixgbe_if_vlan_unregister (if_ctx_t, u16) |
static int | ixgbe_if_i2c_req (if_ctx_t, struct ifi2creq *) |
static bool | ixgbe_if_needs_restart (if_ctx_t, enum iflib_restart_event) |
int | ixgbe_intr (void *) |
static uint64_t | ixgbe_if_get_counter (if_ctx_t, ift_counter) |
static void | ixgbe_enable_queue (struct ixgbe_softc *, u32) |
static void | ixgbe_disable_queue (struct ixgbe_softc *, u32) |
static void | ixgbe_add_device_sysctls (if_ctx_t) |
static int | ixgbe_allocate_pci_resources (if_ctx_t) |
static int | ixgbe_setup_low_power_mode (if_ctx_t) |
static void | ixgbe_config_dmac (struct ixgbe_softc *) |
static void | ixgbe_configure_ivars (struct ixgbe_softc *) |
static void | ixgbe_set_ivar (struct ixgbe_softc *, u8, u8, s8) |
static u8 * | ixgbe_mc_array_itr (struct ixgbe_hw *, u8 **, u32 *) |
static bool | ixgbe_sfp_probe (if_ctx_t) |
static void | ixgbe_free_pci_resources (if_ctx_t) |
static int | ixgbe_msix_link (void *) |
static int | ixgbe_msix_que (void *) |
static void | ixgbe_initialize_rss_mapping (struct ixgbe_softc *) |
static void | ixgbe_initialize_receive_units (if_ctx_t) |
static void | ixgbe_initialize_transmit_units (if_ctx_t) |
static int | ixgbe_setup_interface (if_ctx_t) |
static void | ixgbe_init_device_features (struct ixgbe_softc *) |
static void | ixgbe_check_fan_failure (struct ixgbe_softc *, u32, bool) |
static void | ixgbe_sbuf_fw_version (struct ixgbe_hw *, struct sbuf *) |
static void | ixgbe_print_fw_version (if_ctx_t) |
static void | ixgbe_add_media_types (if_ctx_t) |
static void | ixgbe_update_stats_counters (struct ixgbe_softc *) |
static void | ixgbe_config_link (if_ctx_t) |
static void | ixgbe_get_slot_info (struct ixgbe_softc *) |
static void | ixgbe_check_wol_support (struct ixgbe_softc *) |
static void | ixgbe_enable_rx_drop (struct ixgbe_softc *) |
static void | ixgbe_disable_rx_drop (struct ixgbe_softc *) |
static void | ixgbe_add_hw_stats (struct ixgbe_softc *) |
static int | ixgbe_set_flowcntl (struct ixgbe_softc *, int) |
static int | ixgbe_set_advertise (struct ixgbe_softc *, int) |
static int | ixgbe_get_default_advertise (struct ixgbe_softc *) |
static void | ixgbe_setup_vlan_hw_support (if_ctx_t) |
static void | ixgbe_config_gpie (struct ixgbe_softc *) |
static void | ixgbe_config_delay_values (struct ixgbe_softc *) |
static int | ixgbe_sysctl_flowcntl (SYSCTL_HANDLER_ARGS) |
static int | ixgbe_sysctl_advertise (SYSCTL_HANDLER_ARGS) |
static int | ixgbe_sysctl_interrupt_rate_handler (SYSCTL_HANDLER_ARGS) |
static int | ixgbe_sysctl_dmac (SYSCTL_HANDLER_ARGS) |
static int | ixgbe_sysctl_phy_temp (SYSCTL_HANDLER_ARGS) |
static int | ixgbe_sysctl_phy_overtemp_occurred (SYSCTL_HANDLER_ARGS) |
static int | ixgbe_sysctl_print_fw_version (SYSCTL_HANDLER_ARGS) |
static int | ixgbe_sysctl_rdh_handler (SYSCTL_HANDLER_ARGS) |
static int | ixgbe_sysctl_rdt_handler (SYSCTL_HANDLER_ARGS) |
static int | ixgbe_sysctl_tdt_handler (SYSCTL_HANDLER_ARGS) |
static int | ixgbe_sysctl_tdh_handler (SYSCTL_HANDLER_ARGS) |
static int | ixgbe_sysctl_eee_state (SYSCTL_HANDLER_ARGS) |
static int | ixgbe_sysctl_wol_enable (SYSCTL_HANDLER_ARGS) |
static int | ixgbe_sysctl_wufc (SYSCTL_HANDLER_ARGS) |
static void | ixgbe_handle_msf (void *) |
static void | ixgbe_handle_mod (void *) |
static void | ixgbe_handle_phy (void *) |
DRIVER_MODULE (ix, pci, ix_driver, ix_devclass, 0, 0) | |
IFLIB_PNP_INFO (pci, ix_driver, ixgbe_vendor_info_array) | |
MODULE_DEPEND (ix, pci, 1, 1, 1) | |
MODULE_DEPEND (ix, ether, 1, 1, 1) | |
MODULE_DEPEND (ix, iflib, 1, 1, 1) | |
static | SYSCTL_NODE (_hw, OID_AUTO, ix, CTLFLAG_RD|CTLFLAG_MPSAFE, 0, "IXGBE driver parameters") |
SYSCTL_INT (_hw_ix, OID_AUTO, max_interrupt_rate, CTLFLAG_RDTUN, &ixgbe_max_interrupt_rate, 0, "Maximum interrupts per second") | |
SYSCTL_INT (_hw_ix, OID_AUTO, flow_control, CTLFLAG_RDTUN, &ixgbe_flow_control, 0, "Default flow control used for all adapters") | |
SYSCTL_INT (_hw_ix, OID_AUTO, advertise_speed, CTLFLAG_RDTUN, &ixgbe_advertise_speed, 0, "Default advertised speed for all adapters") | |
SYSCTL_INT (_hw_ix, OID_AUTO, enable_msix, CTLFLAG_RDTUN, &ixgbe_enable_msix, 0, "Enable MSI-X interrupts") | |
SYSCTL_INT (_hw_ix, OID_AUTO, unsupported_sfp, CTLFLAG_RDTUN, &allow_unsupported_sfp, 0, "Allow unsupported SFP modules...use at your own risk") | |
SYSCTL_INT (_hw_ix, OID_AUTO, enable_fdir, CTLFLAG_RDTUN, &ixgbe_enable_fdir, 0, "Enable Flow Director") | |
SYSCTL_INT (_hw_ix, OID_AUTO, enable_rss, CTLFLAG_RDTUN, &ixgbe_enable_rss, 0, "Enable Receive-Side Scaling (RSS)") | |
SYSCTL_INT (_hw_ix, OID_AUTO, enable_aim, CTLFLAG_RWTUN, &ixgbe_enable_aim, 0, "Enable adaptive interrupt moderation") | |
MALLOC_DEFINE (M_IXGBE, "ix", "ix driver allocations") | |
static bool | ixgbe_if_needs_restart (if_ctx_t ctx __unused, enum iflib_restart_event event) |
static bool | ixgbe_is_sfp (struct ixgbe_hw *hw) |
static void | ixgbe_perform_aim (struct ixgbe_softc *sc, struct ix_rx_queue *que) |
void | ixgbe_if_init (if_ctx_t ctx) |
static u_int | ixgbe_mc_filter_apply (void *arg, struct sockaddr_dl *sdl, u_int idx) |
Variables | |
char | ixgbe_driver_version [] = "4.0.1-k" |
static pci_vendor_info_t | ixgbe_vendor_info_array [] |
static device_method_t | ix_methods [] |
static driver_t | ix_driver |
devclass_t | ix_devclass |
static device_method_t | ixgbe_if_methods [] |
static driver_t | ixgbe_if_driver |
static int | ixgbe_max_interrupt_rate = (4000000 / IXGBE_LOW_LATENCY) |
static int | ixgbe_flow_control = ixgbe_fc_full |
static int | ixgbe_advertise_speed = 0 |
static int | ixgbe_smart_speed = ixgbe_smart_speed_on |
static int | ixgbe_enable_msix = 1 |
static int | allow_unsupported_sfp = false |
static int | ixgbe_enable_fdir = 0 |
static int | ixgbe_enable_rss = 1 |
static int | ixgbe_enable_aim = false |
static int | atr_sample_rate = 20 |
struct if_txrx | ixgbe_txrx |
static struct if_shared_ctx | ixgbe_sctx_init |
#define BSIZEPKT_ROUNDUP ((1<<IXGBE_SRRCTL_BSIZEPKT_SHIFT)-1) |
#define QUEUE_NAME_LEN 32 |
DRIVER_MODULE | ( | ix | , |
pci | , | ||
ix_driver | , | ||
ix_devclass | , | ||
0 | , | ||
0 | |||
) |
IFLIB_PNP_INFO | ( | pci | , |
ix_driver | , | ||
ixgbe_vendor_info_array | |||
) |
|
static |
Definition at line 2676 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::dev, ixgbe_hw::device_id, ixgbe_softc::enable_aim, ixgbe_softc::feat_cap, ixgbe_softc::hw, IXGBE_DEV_ID_X550EM_X_10G_T, ixgbe_enable_aim, IXGBE_FEATURE_EEE, ixgbe_mac_X550, ixgbe_sysctl_advertise(), IXGBE_SYSCTL_DESC_ADV_SPEED, IXGBE_SYSCTL_DESC_SET_FC, ixgbe_sysctl_dmac(), ixgbe_sysctl_eee_state(), ixgbe_sysctl_flowcntl(), ixgbe_sysctl_phy_overtemp_occurred(), ixgbe_sysctl_phy_temp(), ixgbe_sysctl_print_fw_version(), ixgbe_sysctl_wol_enable(), ixgbe_sysctl_wufc(), ixgbe_hw::mac, and ixgbe_mac_info::type.
Referenced by ixgbe_if_attach_post().
|
static |
Definition at line 1600 of file if_ix.c.
References ixgbe_hw_stats::bprc, ixgbe_hw_stats::bptc, ixgbe_hw_stats::crcerrs, ixgbe_softc::ctx, ixgbe_softc::dropped_pkts, ixgbe_hw_stats::errbc, ixgbe_hw_stats::gorc, ixgbe_hw_stats::gotc, ixgbe_hw_stats::gprc, ixgbe_hw_stats::gptc, ixgbe_softc::ierrors, ixgbe_hw_stats::illerrc, ix_rx_queue::irqs, IXGBE_SYSCTL_DESC_RX_ERRS, ixgbe_sysctl_interrupt_rate_handler(), ixgbe_sysctl_rdh_handler(), ixgbe_sysctl_rdt_handler(), ixgbe_sysctl_tdh_handler(), ixgbe_sysctl_tdt_handler(), ixgbe_softc::link_irq, ixgbe_hw_stats::lxoffrxc, ixgbe_hw_stats::lxofftxc, ixgbe_hw_stats::lxonrxc, ixgbe_hw_stats::lxontxc, ixgbe_hw_stats::mlfc, ixgbe_hw_stats::mngprc, ixgbe_hw_stats::mngptc, ixgbe_hw_stats::mpc, ixgbe_hw_stats::mprc, ixgbe_hw_stats::mptc, ixgbe_hw_stats::mrfc, ixgbe_hw_stats::mspdc, num_rx_queues, num_tx_queues, ixgbe_softc::pf, ixgbe_hw_stats::prc1023, ixgbe_hw_stats::prc127, ixgbe_hw_stats::prc1522, ixgbe_hw_stats::prc255, ixgbe_hw_stats::prc511, ixgbe_hw_stats::prc64, ixgbe_hw_stats::ptc1023, ixgbe_hw_stats::ptc127, ixgbe_hw_stats::ptc1522, ixgbe_hw_stats::ptc255, ixgbe_hw_stats::ptc511, ixgbe_hw_stats::ptc64, QUEUE_NAME_LEN, ixgbe_hw_stats::rfc, ixgbe_hw_stats::rjc, ixgbe_hw_stats::rlec, ixgbe_hw_stats::roc, ixgbe_hw_stats::ruc, rx_ring::rx_bytes, rx_ring::rx_copies, rx_ring::rx_discarded, rx_ring::rx_packets, ixgbe_softc::rx_queues, ix_rx_queue::rxr, tx_ring::sc, rx_ring::sc, ixgbe_softc::stats, ixgbe_hw_stats::tor, tx_ring::total_packets, ixgbe_hw_stats::tpr, ixgbe_hw_stats::tpt, tx_ring::tso_tx, ixgbe_softc::tx_queues, ix_tx_queue::txr, ixgbe_softc::watchdog_events, and ixgbe_hw_stats::xec.
Referenced by ixgbe_if_attach_post().
|
static |
Definition at line 1270 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_hw::device_id, ixgbe_softc::hw, IXGBE_DEV_ID_82598AT, ixgbe_get_supported_physical_layer(), ixgbe_mac_X550, IXGBE_PHYSICAL_LAYER_1000BASE_BX, IXGBE_PHYSICAL_LAYER_1000BASE_KX, IXGBE_PHYSICAL_LAYER_1000BASE_SX, IXGBE_PHYSICAL_LAYER_1000BASE_T, IXGBE_PHYSICAL_LAYER_100BASE_TX, IXGBE_PHYSICAL_LAYER_10BASE_T, IXGBE_PHYSICAL_LAYER_10GBASE_CX4, IXGBE_PHYSICAL_LAYER_10GBASE_KR, IXGBE_PHYSICAL_LAYER_10GBASE_KX4, IXGBE_PHYSICAL_LAYER_10GBASE_LR, IXGBE_PHYSICAL_LAYER_10GBASE_SR, IXGBE_PHYSICAL_LAYER_10GBASE_T, IXGBE_PHYSICAL_LAYER_2500BASE_KX, IXGBE_PHYSICAL_LAYER_SFP_ACTIVE_DA, IXGBE_PHYSICAL_LAYER_SFP_PLUS_CU, ixgbe_hw::mac, ixgbe_softc::media, ixgbe_phy_info::multispeed_fiber, ixgbe_hw::phy, ixgbe_softc::phy_layer, and ixgbe_mac_info::type.
Referenced by ixgbe_handle_msf(), and ixgbe_setup_interface().
|
static |
Definition at line 2768 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::dev, ixgbe_softc::hw, ixgbe_hw::hw_addr, ixgbe_osdep::mem_bus_space_handle, ixgbe_osdep::mem_bus_space_tag, ixgbe_softc::osdep, and ixgbe_softc::pci_mem.
Referenced by ixgbe_if_attach_pre().
|
static |
Definition at line 4751 of file if_ix.c.
References ixgbe_softc::dev, ixgbe_softc::hw, IXGBE_EICR_GPI_SDP1_BY_MAC, and IXGBE_ESDP_SDP1.
Referenced by ixgbe_if_attach_pre(), and ixgbe_msix_link().
|
static |
Definition at line 1147 of file if_ix.c.
References ixgbe_hw::bus, ixgbe_bus_info::func, ixgbe_softc::hw, IXGBE_DEVICE_CAPS_WOL_PORT0, IXGBE_DEVICE_CAPS_WOL_PORT0_1, ixgbe_get_device_caps(), IXGBE_READ_REG, IXGBE_WUFC, ixgbe_hw::wol_enabled, ixgbe_softc::wol_support, and ixgbe_softc::wufc.
Referenced by ixgbe_if_attach_pre().
|
static |
Definition at line 3346 of file if_ix.c.
References ixgbe_hw::fc, ixgbe_fc_info::high_water, ixgbe_softc::hw, IXGBE_BT2KB, IXGBE_DV, IXGBE_DV_X540, IXGBE_FC_PAUSE, IXGBE_LOW_DV, IXGBE_LOW_DV_X540, ixgbe_mac_X540, ixgbe_mac_X550, ixgbe_mac_X550EM_a, ixgbe_mac_X550EM_x, IXGBE_READ_REG, IXGBE_RXPBSIZE, ixgbe_fc_info::low_water, ixgbe_hw::mac, ixgbe_fc_info::pause_time, ixgbe_fc_info::send_xon, and ixgbe_mac_info::type.
Referenced by ixgbe_if_init().
|
static |
Definition at line 3720 of file if_ix.c.
References ixgbe_softc::dmac, ixgbe_mac_operations::dmac_config, ixgbe_mac_info::dmac_config, ixgbe_dmac_config::fcoe_en, ixgbe_softc::hw, INIT_DEBUGOUT2, ixgbe_mac_X550, ixgbe_softc::link_speed, ixgbe_dmac_config::link_speed, ixgbe_hw::mac, ixgbe_dmac_config::num_tcs, ixgbe_mac_info::ops, ixgbe_mac_info::type, and ixgbe_dmac_config::watchdog_timer.
Referenced by ixgbe_if_init(), and ixgbe_if_update_admin_status().
|
static |
Definition at line 3300 of file if_ix.c.
References ixgbe_softc::feat_en, ixgbe_softc::hw, IXGBE_FEATURE_FAN_FAIL, IXGBE_FEATURE_TEMP_SENSOR, IXGBE_GPIE, IXGBE_GPIE_EIAME, IXGBE_GPIE_MSIX_MODE, IXGBE_GPIE_OCD, IXGBE_GPIE_PBA_SUPPORT, ixgbe_mac_82599EB, ixgbe_mac_X550EM_a, ixgbe_mac_X550EM_x, IXGBE_READ_REG, IXGBE_SDP0_GPIEN_X540, IXGBE_SDP1_GPIEN, IXGBE_SDP2_GPIEN, IXGBE_WRITE_REG, ixgbe_hw::mac, and ixgbe_mac_info::type.
Referenced by ixgbe_if_init().
|
static |
Definition at line 1391 of file if_ix.c.
References ixgbe_phy_info::autoneg_advertised, ixgbe_mac_operations::check_link, ixgbe_softc::ctx, ixgbe_mac_operations::get_link_capabilities, ixgbe_softc::hw, ixgbe_check_link(), ixgbe_is_sfp(), IXGBE_LINK_SPEED_2_5GB_FULL, IXGBE_LINK_SPEED_5GB_FULL, ixgbe_mac_X550, IXGBE_REQUEST_TASK_MOD, ixgbe_softc::link_speed, ixgbe_softc::link_up, ixgbe_hw::mac, ixgbe_mac_info::ops, ixgbe_hw::phy, ixgbe_mac_operations::setup_link, ixgbe_softc::task_requests, and ixgbe_mac_info::type.
Referenced by ixgbe_if_init().
|
static |
Definition at line 3260 of file if_ix.c.
References ixgbe_softc::dmac, ixgbe_softc::hw, IXGBE_EITR, ixgbe_max_interrupt_rate, ixgbe_set_ivar(), IXGBE_WRITE_REG, tx_ring::me, rx_ring::me, ix_rx_queue::msix, ix_tx_queue::msix, ixgbe_softc::rx_queues, ix_rx_queue::rxr, tx_ring::sc, rx_ring::sc, ix_rx_queue::sc, ix_tx_queue::sc, ixgbe_softc::tx_queues, ix_tx_queue::txr, and ixgbe_softc::vector.
Referenced by ixgbe_if_init().
|
static |
Definition at line 3901 of file if_ix.c.
References ixgbe_softc::hw, IXGBE_EIMC, IXGBE_EIMC_EX, IXGBE_EIMS_RTX_QUEUE, ixgbe_mac_82598EB, IXGBE_WRITE_REG, ixgbe_hw::mac, and ixgbe_mac_info::type.
Referenced by ixgbe_msix_que().
|
static |
Definition at line 4103 of file if_ix.c.
References ixgbe_softc::hw, IXGBE_QDE, IXGBE_QDE_IDX_SHIFT, IXGBE_QDE_WRITE, IXGBE_READ_REG, IXGBE_SRRCTL, IXGBE_WRITE_REG, rx_ring::me, ixgbe_softc::num_vfs, ixgbe_softc::rx_queues, ix_rx_queue::rxr, and rx_ring::sc.
Referenced by ixgbe_set_flowcntl().
|
static |
Definition at line 3878 of file if_ix.c.
References ixgbe_softc::hw, IXGBE_EIMS, IXGBE_EIMS_EX, IXGBE_EIMS_RTX_QUEUE, ixgbe_mac_82598EB, IXGBE_WRITE_REG, ixgbe_hw::mac, and ixgbe_mac_info::type.
Referenced by ixgbe_if_enable_intr(), and ixgbe_if_rx_queue_intr_enable().
|
static |
Definition at line 4078 of file if_ix.c.
References ixgbe_softc::hw, IXGBE_QDE, IXGBE_QDE_ENABLE, IXGBE_QDE_IDX_SHIFT, IXGBE_QDE_WRITE, IXGBE_READ_REG, IXGBE_SRRCTL, IXGBE_SRRCTL_DROP_EN, IXGBE_WRITE_REG, rx_ring::me, ixgbe_softc::num_vfs, ixgbe_softc::rx_queues, ix_rx_queue::rxr, and rx_ring::sc.
Referenced by ixgbe_set_flowcntl().
|
static |
Definition at line 3986 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::irq, ixgbe_softc::pci_mem, ix_rx_queue::que_irq, ixgbe_softc::rx_queues, and ix_rx_queue::sc.
Referenced by ixgbe_if_attach_pre(), and ixgbe_if_detach().
|
static |
Definition at line 4260 of file if_ix.c.
References ixgbe_mac_operations::get_link_capabilities, ixgbe_softc::hw, IXGBE_LINK_SPEED_100_FULL, IXGBE_LINK_SPEED_10_FULL, IXGBE_LINK_SPEED_10GB_FULL, IXGBE_LINK_SPEED_1GB_FULL, IXGBE_LINK_SPEED_2_5GB_FULL, IXGBE_LINK_SPEED_5GB_FULL, ixgbe_mac_X550, ixgbe_media_type_copper, IXGBE_SUCCESS, ixgbe_hw::mac, ixgbe_phy_info::media_type, ixgbe_phy_info::multispeed_fiber, ixgbe_mac_info::ops, ixgbe_hw::phy, and ixgbe_mac_info::type.
Referenced by ixgbe_if_attach_post().
|
static |
Definition at line 1975 of file if_ix.c.
References ixgbe_hw::bus, ixgbe_softc::ctx, ixgbe_hw::device_id, ixgbe_softc::hw, ixgbe_bus_speed_2500, ixgbe_bus_speed_5000, ixgbe_bus_speed_8000, ixgbe_bus_width_pcie_x1, ixgbe_bus_width_pcie_x4, ixgbe_bus_width_pcie_x8, IXGBE_DEV_ID_82599_QSFP_SF_QP, IXGBE_DEV_ID_82599_SFP_SF_QP, ixgbe_get_bus_info(), ixgbe_mac_X550EM_a, ixgbe_mac_X550EM_x, ixgbe_set_pci_config_data_generic(), ixgbe_hw::link, ixgbe_hw::mac, rx_ring::sc, ixgbe_bus_info::speed, ixgbe_mac_info::type, and ixgbe_bus_info::width.
Referenced by ixgbe_if_attach_post().
|
static |
Definition at line 3529 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::hw, ixgbe_phy_operations::identify_sfp, IXGBE_ERR_SFP_NOT_SUPPORTED, IXGBE_ESDP, IXGBE_ESDP_SDP0, IXGBE_ESDP_SDP2, ixgbe_mac_82598EB, ixgbe_mac_82599EB, ixgbe_mac_X550EM_a, ixgbe_mac_X550EM_x, IXGBE_READ_REG, IXGBE_REQUEST_TASK_MSF, ixgbe_hw::mac, ixgbe_hw::need_crosstalk_fix, ixgbe_mac_info::ops, ixgbe_phy_info::ops, ixgbe_hw::phy, ixgbe_phy_operations::reset, ixgbe_mac_operations::setup_sfp, ixgbe_softc::task_requests, and ixgbe_mac_info::type.
Referenced by ixgbe_if_update_admin_status().
|
static |
Definition at line 3585 of file if_ix.c.
References ixgbe_phy_info::autoneg_advertised, ixgbe_softc::ctx, ixgbe_mac_operations::get_link_capabilities, ixgbe_softc::hw, ixgbe_add_media_types(), ixgbe_get_supported_physical_layer(), ixgbe_hw::mac, ixgbe_softc::media, ixgbe_mac_info::ops, ixgbe_hw::phy, ixgbe_softc::phy_layer, and ixgbe_mac_operations::setup_link.
Referenced by ixgbe_if_update_admin_status().
|
static |
Definition at line 3612 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::dev, ixgbe_phy_operations::handle_lasi, ixgbe_softc::hw, IXGBE_ERR_OVERTEMP, ixgbe_phy_info::ops, and ixgbe_hw::phy.
Referenced by ixgbe_if_update_admin_status().
|
static |
Definition at line 1058 of file if_ix.c.
References ixgbe_softc::advertise, ixgbe_softc::dmac, ixgbe_softc::feat_cap, ixgbe_softc::hw, ixgbe_add_device_sysctls(), ixgbe_add_hw_stats(), ixgbe_advertise_speed, ixgbe_bypass_init(), ixgbe_define_iov_schemas, ixgbe_enable_tx_laser(), IXGBE_FEATURE_LEGACY_IRQ, IXGBE_FEATURE_SRIOV, ixgbe_get_default_advertise(), ixgbe_get_slot_info(), ixgbe_if_update_admin_status(), ixgbe_initialize_iov, ixgbe_print_fw_version(), ixgbe_set_advertise(), ixgbe_set_phy_power(), ixgbe_setup_interface(), ixgbe_update_stats_counters(), MAX_NUM_MULTICAST_ADDRESSES, and ixgbe_softc::mta.
|
static |
Definition at line 875 of file if_ix.c.
References ixgbe_mac_info::addr, allow_unsupported_sfp, ixgbe_hw::allow_unsupported_sfp, ixgbe_hw::back, ixgbe_softc::ctx, DBA_ALIGN, ixgbe_softc::dev, ixgbe_hw::device_id, ixgbe_hw::fc, ixgbe_softc::feat_en, ixgbe_softc::hw, INIT_DEBUGOUT, ixgbe_mbx_operations::init_params, IXGBE_82598_SCATTER, IXGBE_82599_SCATTER, ixgbe_allocate_pci_resources(), IXGBE_CAPS, ixgbe_check_fan_failure(), ixgbe_check_wol_support(), IXGBE_CTRL_EXT, IXGBE_CTRL_EXT_DRV_LOAD, IXGBE_ERR_EEPROM_VERSION, IXGBE_ERR_SFP_NOT_PRESENT, IXGBE_ERR_SFP_NOT_SUPPORTED, IXGBE_ESDP, IXGBE_FEATURE_FAN_FAIL, ixgbe_flow_control, ixgbe_free_pci_resources(), ixgbe_init_device_features(), ixgbe_init_shared_code(), ixgbe_init_swfw_semaphore(), ixgbe_intr(), ixgbe_mac_82598EB, ixgbe_mac_X550, ixgbe_mac_X550EM_a, ixgbe_mac_X550EM_x, IXGBE_READ_REG, ixgbe_reset_hw(), ixgbe_smart_speed, ixgbe_start_hw(), IXGBE_TSO_SIZE, ixgbe_txrx, ixgbe_validate_eeprom_checksum(), IXGBE_WRITE_REG, ixgbe_hw::mac, ixgbe_hw::mbx, ixgbe_softc::media, ixgbe_mbx_info::ops, ixgbe_hw::phy, ixgbe_fc_info::requested_mode, ixgbe_phy_info::reset_if_overtemp, ixgbe_hw::revision_id, ixgbe_softc::sfp_probe, ixgbe_softc::shared, ixgbe_phy_info::smart_speed, ixgbe_hw::subsystem_device_id, ixgbe_hw::subsystem_vendor_id, ixgbe_mac_info::type, and ixgbe_hw::vendor_id.
|
static |
Definition at line 2976 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::hw, IXGBE_HLREG0, IXGBE_HLREG0_RXCRCSTRP, IXGBE_RDRXCTL, IXGBE_RDRXCTL_CRCSTRIP, IXGBE_RDRXCTL_RSCACKC, IXGBE_READ_REG, and IXGBE_WRITE_REG.
|
static |
Definition at line 2803 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::dev, ixgbe_softc::hw, INIT_DEBUGOUT, IXGBE_CTRL_EXT, ixgbe_free_pci_resources(), ixgbe_pci_iov_detach, IXGBE_READ_REG, ixgbe_setup_low_power_mode(), IXGBE_WRITE_REG, and ixgbe_softc::mta.
|
static |
Definition at line 3831 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::hw, IXGBE_EIAC, IXGBE_EIMC, IXGBE_EIMC_EX, ixgbe_mac_82598EB, IXGBE_WRITE_FLUSH, IXGBE_WRITE_REG, ixgbe_hw::mac, and ixgbe_mac_info::type.
void ixgbe_if_enable_intr | ( | if_ctx_t | ctx | ) |
Definition at line 3746 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_hw::device_id, ixgbe_softc::feat_cap, ixgbe_softc::feat_en, ixgbe_softc::hw, IXGBE_DEV_ID_X550EM_A_SFP, IXGBE_DEV_ID_X550EM_A_SFP_N, IXGBE_DEV_ID_X550EM_X_10G_T, IXGBE_DEV_ID_X550EM_X_SFP, IXGBE_EIAC, IXGBE_EICR_GPI_SDP0_X540, IXGBE_EIMS, IXGBE_EIMS_ECC, IXGBE_EIMS_ENABLE_MASK, IXGBE_EIMS_FLOW_DIR, IXGBE_EIMS_GPI_SDP0, IXGBE_EIMS_GPI_SDP0_BY_MAC, IXGBE_EIMS_GPI_SDP1, IXGBE_EIMS_GPI_SDP2, IXGBE_EIMS_MAILBOX, IXGBE_EIMS_TS, ixgbe_enable_queue(), IXGBE_FEATURE_FAN_FAIL, IXGBE_FEATURE_FDIR, IXGBE_FEATURE_SRIOV, IXGBE_FWSM, IXGBE_FWSM_TS_ENABLED, ixgbe_mac_82599EB, ixgbe_mac_X540, ixgbe_mac_X550, ixgbe_mac_X550EM_a, ixgbe_mac_X550EM_x, ixgbe_phy_x550em_ext_t, IXGBE_READ_REG, IXGBE_WRITE_FLUSH, IXGBE_WRITE_REG, ixgbe_hw::mac, ix_rx_queue::msix, ixgbe_hw::phy, ixgbe_softc::rx_queues, ix_rx_queue::sc, ixgbe_mac_info::type, and ixgbe_phy_info::type.
Referenced by ixgbe_if_init(), and ixgbe_intr().
|
static |
Definition at line 1197 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::ibytes, ixgbe_softc::ierrors, ixgbe_softc::ifp, ixgbe_softc::imcasts, ixgbe_softc::ipackets, ixgbe_softc::iqdrops, ixgbe_softc::obytes, ixgbe_softc::omcasts, and ixgbe_softc::opackets.
|
static |
Definition at line 1232 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::hw, ixgbe_phy_info::ops, ixgbe_hw::phy, and ixgbe_phy_operations::read_i2c_byte.
void ixgbe_if_init | ( | if_ctx_t | ctx | ) |
Definition at line 3029 of file if_ix.c.
References ixgbe_mac_info::addr, ixgbe_hw::addr_ctrl, ixgbe_softc::ctx, ixgbe_softc::feat_en, ixgbe_softc::hw, ixgbe_phy_operations::identify, INIT_DEBUGOUT, ixgbe_align_all_queue_indices, ixgbe_config_delay_values(), ixgbe_config_dmac(), ixgbe_config_gpie(), ixgbe_config_link(), ixgbe_configure_ivars(), IXGBE_CTRL_EXT, IXGBE_CTRL_EXT_PFRSTD, IXGBE_EIAM, IXGBE_EIAM_EX, IXGBE_EICS_RTX_QUEUE, IXGBE_EITR, ixgbe_enable_msix, ixgbe_enable_rx_dma(), IXGBE_ERR_SFP_NOT_SUPPORTED, IXGBE_ETH_LENGTH_OF_ADDRESS, IXGBE_FEATURE_SRIOV, ixgbe_if_enable_intr(), ixgbe_if_multi_set(), ixgbe_init_fdir, ixgbe_init_hw(), ixgbe_initialize_iov, ixgbe_initialize_receive_units(), ixgbe_initialize_transmit_units(), IXGBE_LINK_ITR, ixgbe_mac_82598EB, IXGBE_MHADD, IXGBE_MHADD_MFS_SHIFT, ixgbe_phy_none, IXGBE_RAH_AV, IXGBE_READ_REG, IXGBE_RXCTRL, IXGBE_RXCTRL_DMBYPS, IXGBE_RXCTRL_RXEN, IXGBE_RXDCTL, IXGBE_RXDCTL_ENABLE, ixgbe_set_ivar(), ixgbe_set_phy_power(), ixgbe_set_rar(), ixgbe_setup_vlan_hw_support(), ixgbe_start_hw(), IXGBE_TXDCTL, IXGBE_TXDCTL_ENABLE, IXGBE_WRITE_REG, ixgbe_hw::mac, tx_ring::me, rx_ring::me, msec_delay, num_rx_queues, num_tx_queues, ixgbe_phy_info::ops, ixgbe_hw::phy, ixgbe_softc::pool, ixgbe_addr_filter_info::rar_used_count, ixgbe_softc::rx_mbuf_sz, ixgbe_softc::rx_queues, ix_rx_queue::rxr, tx_ring::sc, rx_ring::sc, ix_tx_queue::sc, ixgbe_softc::task_requests, ixgbe_softc::tx_queues, ix_tx_queue::txr, ixgbe_mac_info::type, ixgbe_phy_info::type, ixgbe_softc::vector, and wmb.
Referenced by ixgbe_if_resume().
|
static |
Definition at line 2398 of file if_ix.c.
References ixgbe_softc::advertise, ixgbe_mac_info::autotry_restart, ixgbe_softc::ctx, ixgbe_softc::hw, INIT_DEBUGOUT, IXGBE_LINK_SPEED_100_FULL, IXGBE_LINK_SPEED_10_FULL, IXGBE_LINK_SPEED_10GB_FULL, IXGBE_LINK_SPEED_1GB_FULL, IXGBE_LINK_SPEED_2_5GB_FULL, IXGBE_LINK_SPEED_5GB_FULL, ixgbe_media_type_backplane, ixgbe_hw::mac, ixgbe_phy_info::media_type, ixgbe_mac_info::ops, ixgbe_hw::phy, and ixgbe_mac_operations::setup_link.
|
static |
Definition at line 2233 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_fc_info::current_mode, ixgbe_hw::fc, ixgbe_softc::hw, INIT_DEBUGOUT, ixgbe_fc_full, ixgbe_fc_rx_pause, ixgbe_fc_tx_pause, IXGBE_LINK_SPEED_100_FULL, IXGBE_LINK_SPEED_10_FULL, IXGBE_LINK_SPEED_10GB_FULL, IXGBE_LINK_SPEED_1GB_FULL, IXGBE_LINK_SPEED_2_5GB_FULL, IXGBE_LINK_SPEED_5GB_FULL, ixgbe_mac_X550, IXGBE_PHYSICAL_LAYER_1000BASE_KX, IXGBE_PHYSICAL_LAYER_1000BASE_SX, IXGBE_PHYSICAL_LAYER_1000BASE_T, IXGBE_PHYSICAL_LAYER_100BASE_TX, IXGBE_PHYSICAL_LAYER_10BASE_T, IXGBE_PHYSICAL_LAYER_10GBASE_CX4, IXGBE_PHYSICAL_LAYER_10GBASE_KR, IXGBE_PHYSICAL_LAYER_10GBASE_KX4, IXGBE_PHYSICAL_LAYER_10GBASE_LR, IXGBE_PHYSICAL_LAYER_10GBASE_LRM, IXGBE_PHYSICAL_LAYER_10GBASE_SR, IXGBE_PHYSICAL_LAYER_10GBASE_T, IXGBE_PHYSICAL_LAYER_2500BASE_KX, IXGBE_PHYSICAL_LAYER_SFP_ACTIVE_DA, IXGBE_PHYSICAL_LAYER_SFP_PLUS_CU, ixgbe_softc::link_active, ixgbe_softc::link_speed, ixgbe_hw::mac, ixgbe_softc::phy_layer, and ixgbe_mac_info::type.
|
static |
Definition at line 2072 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::feat_en, ixgbe_softc::irq, IXGBE_FEATURE_RSS, ixgbe_msix_link(), ixgbe_msix_que(), tx_ring::me, rx_ring::me, ix_rx_queue::msix, ix_tx_queue::msix, ix_rx_queue::que_irq, rss_getcpu, rss_getnumbuckets, ixgbe_softc::rx_queues, ix_rx_queue::rxr, ix_rx_queue::sc, ix_tx_queue::sc, ixgbe_softc::tx_queues, ix_tx_queue::txr, and ixgbe_softc::vector.
|
static |
Definition at line 2956 of file if_ix.c.
References ixgbe_softc::ctx, IOCTL_DEBUGOUT, IXGBE_MAX_MTU, and IXGBE_MTU_HDR.
|
static |
Definition at line 3407 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::hw, IOCTL_DEBUGOUT, IXGBE_FCTRL, IXGBE_FCTRL_MPE, IXGBE_FCTRL_UPE, ixgbe_mc_array_itr(), ixgbe_mc_filter_apply(), IXGBE_READ_REG, ixgbe_update_mc_addr_list(), IXGBE_WRITE_REG, MAX_NUM_MULTICAST_ADDRESSES, and ixgbe_softc::mta.
Referenced by ixgbe_if_init().
|
static |
|
static |
|
static |
Definition at line 2491 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::hw, IXGBE_FCTRL, IXGBE_FCTRL_MPE, IXGBE_FCTRL_UPE, IXGBE_READ_REG, IXGBE_WRITE_REG, and MAX_NUM_MULTICAST_ADDRESSES.
|
static |
Definition at line 521 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::rx_queues, tx_ring::sc, ix_rx_queue::sc, ix_tx_queue::sc, ixgbe_softc::tx_queues, tx_ring::tx_rsq, and ix_tx_queue::txr.
Referenced by ixgbe_if_tx_queues_alloc().
|
static |
Definition at line 2921 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::dev, ixgbe_softc::hw, INIT_DEBUGOUT, ixgbe_if_init(), IXGBE_READ_REG, IXGBE_WRITE_REG, IXGBE_WUFC, and IXGBE_WUS.
|
static |
Definition at line 3864 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_enable_queue(), ix_rx_queue::msix, ixgbe_softc::rx_queues, and ix_rx_queue::sc.
|
static |
Definition at line 473 of file if_ix.c.
References rx_ring::bytes, ixgbe_softc::ctx, ixgbe_softc::iov_mode, IXGBE_RDT, ixgbe_vf_que_index, rx_ring::me, ixgbe_softc::pool, rx_ring::que, rx_ring::rx_base, rx_ring::rx_paddr, ixgbe_softc::rx_queues, ix_rx_queue::rxr, rx_ring::sc, ix_rx_queue::sc, and rx_ring::tail.
|
static |
Definition at line 2887 of file if_ix.c.
References INIT_DEBUGOUT, and ixgbe_setup_low_power_mode().
|
static |
Definition at line 3634 of file if_ix.c.
References ixgbe_hw::adapter_stopped, ixgbe_mac_info::addr, ixgbe_softc::ctx, ixgbe_softc::hw, INIT_DEBUGOUT, ixgbe_disable_tx_laser(), ixgbe_if_update_admin_status(), ixgbe_mac_82599EB, IXGBE_RAH_AV, ixgbe_reset_hw(), ixgbe_set_rar(), ixgbe_stop_adapter(), ixgbe_stop_mac_link_on_d3_82599(), ixgbe_softc::link_up, ixgbe_hw::mac, and ixgbe_mac_info::type.
Referenced by ixgbe_setup_low_power_mode().
|
static |
Definition at line 2904 of file if_ix.c.
References INIT_DEBUGOUT, and ixgbe_setup_low_power_mode().
|
static |
Definition at line 3471 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::hw, ixgbe_check_link(), ixgbe_sfp_probe(), ixgbe_softc::link_speed, ixgbe_softc::link_up, and ixgbe_softc::sfp_probe.
|
static |
Definition at line 405 of file if_ix.c.
References tx_ring::atr_sample, atr_sample_rate, tx_ring::bytes, ixgbe_softc::ctx, ixgbe_softc::feat_en, ixgbe_softc::iov_mode, IXGBE_FEATURE_FDIR, ixgbe_if_queues_free(), IXGBE_TDT, ixgbe_vf_que_index, tx_ring::me, ixgbe_softc::pool, tx_ring::sc, ix_tx_queue::sc, ixgbe_softc::shared, tx_ring::tail, tx_ring::total_packets, tx_ring::tx_base, tx_ring::tx_paddr, ixgbe_softc::tx_queues, tx_ring::tx_rsq, and ix_tx_queue::txr.
|
static |
Definition at line 3667 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::dev, ixgbe_softc::feat_en, ixgbe_softc::hw, ixgbe_config_dmac(), ixgbe_fc_enable(), IXGBE_FEATURE_SRIOV, ixgbe_handle_mbx(), ixgbe_handle_mod(), ixgbe_handle_msf(), ixgbe_handle_phy(), ixgbe_ping_all_vfs, ixgbe_reinit_fdir(), IXGBE_REQUEST_TASK_FDIR, IXGBE_REQUEST_TASK_MBX, IXGBE_REQUEST_TASK_MOD, IXGBE_REQUEST_TASK_MSF, IXGBE_REQUEST_TASK_PHY, ixgbe_update_stats_counters(), ixgbe_softc::link_active, ixgbe_softc::link_speed, ixgbe_softc::link_up, and ixgbe_softc::task_requests.
Referenced by ixgbe_if_attach_post(), and ixgbe_if_stop().
|
static |
Definition at line 1878 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_setup_vlan_hw_support(), ixgbe_softc::num_vlans, and ixgbe_softc::shadow_vfta.
|
static |
Definition at line 1896 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_setup_vlan_hw_support(), ixgbe_softc::num_vlans, and ixgbe_softc::shadow_vfta.
|
static |
Definition at line 4652 of file if_ix.c.
References ixgbe_hw::bus, ixgbe_softc::dev, ixgbe_hw::device_id, ixgbe_softc::feat_cap, ixgbe_softc::feat_en, ixgbe_bus_info::func, ixgbe_softc::hw, IXGBE_DEV_ID_82598AT, IXGBE_DEV_ID_82599_BYPASS, IXGBE_DEV_ID_82599_QSFP_SF_QP, IXGBE_DEV_ID_X540_BYPASS, IXGBE_DEV_ID_X550EM_A_1G_T, IXGBE_DEV_ID_X550EM_A_1G_T_L, ixgbe_enable_fdir, ixgbe_enable_msix, ixgbe_enable_rss, IXGBE_FEATURE_BYPASS, IXGBE_FEATURE_EEE, IXGBE_FEATURE_FAN_FAIL, IXGBE_FEATURE_FDIR, IXGBE_FEATURE_LEGACY_IRQ, IXGBE_FEATURE_MSI, IXGBE_FEATURE_MSIX, IXGBE_FEATURE_NETMAP, IXGBE_FEATURE_RSS, IXGBE_FEATURE_SRIOV, IXGBE_FEATURE_TEMP_SENSOR, ixgbe_mac_82598EB, ixgbe_mac_82599EB, ixgbe_mac_X540, ixgbe_mac_X550, ixgbe_mac_X550EM_a, ixgbe_mac_X550EM_x, ixgbe_hw::mac, and ixgbe_mac_info::type.
Referenced by ixgbe_if_attach_pre().
|
static |
Definition at line 665 of file if_ix.c.
References BSIZEPKT_ROUNDUP, ixgbe_softc::ctx, ixgbe_hw::fc, ixgbe_softc::hw, ixgbe_disable_rx(), ixgbe_fc_none, IXGBE_FCTRL, IXGBE_FCTRL_BAM, IXGBE_FCTRL_DPF, IXGBE_FCTRL_PMCF, IXGBE_HLREG0, IXGBE_HLREG0_JUMBOEN, ixgbe_initialize_rss_mapping(), ixgbe_mac_82598EB, IXGBE_PSRTYPE, IXGBE_PSRTYPE_IPV4HDR, IXGBE_PSRTYPE_IPV6HDR, IXGBE_PSRTYPE_TCPHDR, IXGBE_PSRTYPE_UDPHDR, IXGBE_RDBAH, IXGBE_RDBAL, IXGBE_RDH, IXGBE_RDLEN, IXGBE_RDT, IXGBE_READ_REG, IXGBE_RXCSUM, IXGBE_RXCSUM_IPPCSE, IXGBE_RXCSUM_PCSD, IXGBE_SRRCTL, IXGBE_SRRCTL_BSIZEPKT_SHIFT, IXGBE_SRRCTL_DESCTYPE_ADV_ONEBUF, IXGBE_SRRCTL_DROP_EN, IXGBE_WRITE_REG, ixgbe_hw::mac, rx_ring::me, num_rx_queues, rx_ring::que, ixgbe_fc_info::requested_mode, ixgbe_softc::rx_mbuf_sz, rx_ring::rx_paddr, ixgbe_softc::rx_queues, ix_rx_queue::rxr, rx_ring::sc, ix_rx_queue::sc, ixgbe_softc::shared, rx_ring::tail, and ixgbe_mac_info::type.
Referenced by ixgbe_if_init().
|
static |
Definition at line 551 of file if_ix.c.
References ixgbe_softc::feat_en, ixgbe_softc::hw, ixgbe_softc::iov_mode, IXGBE_ERETA, IXGBE_FEATURE_RSS, ixgbe_get_mrqc, ixgbe_mac_82598EB, ixgbe_mac_X550, ixgbe_mac_X550EM_a, ixgbe_mac_X550EM_x, IXGBE_MRQC, IXGBE_MRQC_RSS_FIELD_IPV4, IXGBE_MRQC_RSS_FIELD_IPV4_TCP, IXGBE_MRQC_RSS_FIELD_IPV4_UDP, IXGBE_MRQC_RSS_FIELD_IPV6, IXGBE_MRQC_RSS_FIELD_IPV6_EX, IXGBE_MRQC_RSS_FIELD_IPV6_EX_TCP, IXGBE_MRQC_RSS_FIELD_IPV6_EX_UDP, IXGBE_MRQC_RSS_FIELD_IPV6_TCP, IXGBE_MRQC_RSS_FIELD_IPV6_UDP, IXGBE_MRQC_RSSEN, IXGBE_RETA, IXGBE_RSSRK, IXGBE_WRITE_REG, ixgbe_hw::mac, rss_get_indirection_to_bucket, rss_gethashconfig, rss_getkey, RSS_HASHTYPE_RSS_IPV4, RSS_HASHTYPE_RSS_IPV6, RSS_HASHTYPE_RSS_IPV6_EX, RSS_HASHTYPE_RSS_TCP_IPV4, RSS_HASHTYPE_RSS_TCP_IPV6, RSS_HASHTYPE_RSS_TCP_IPV6_EX, RSS_HASHTYPE_RSS_UDP_IPV4, RSS_HASHTYPE_RSS_UDP_IPV6, RSS_HASHTYPE_RSS_UDP_IPV6_EX, and ixgbe_mac_info::type.
Referenced by ixgbe_initialize_receive_units().
|
static |
Definition at line 778 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::hw, ixgbe_softc::iov_mode, IXGBE_DCA_TXCTRL, IXGBE_DCA_TXCTRL_82599, IXGBE_DMATXCTL, IXGBE_DMATXCTL_TE, ixgbe_get_mtqc, ixgbe_mac_82598EB, IXGBE_MTQC, IXGBE_READ_REG, IXGBE_RTTDCS, IXGBE_RTTDCS_ARBDIS, IXGBE_TDBAH, IXGBE_TDBAL, IXGBE_TDH, IXGBE_TDLEN, IXGBE_TDT, IXGBE_WRITE_REG, ixgbe_hw::mac, tx_ring::me, num_tx_queues, tx_ring::sc, ix_tx_queue::sc, ixgbe_softc::shared, tx_ring::tail, tx_ring::tx_cidx_processed, tx_ring::tx_paddr, ixgbe_softc::tx_queues, tx_ring::tx_rs_cidx, tx_ring::tx_rs_pidx, tx_ring::tx_rsq, ix_tx_queue::txr, and ixgbe_mac_info::type.
Referenced by ixgbe_if_init().
int ixgbe_intr | ( | void * | arg | ) |
Definition at line 3924 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::dev, ixgbe_hw::device_id, ixgbe_softc::hw, ix_rx_queue::irqs, IXGBE_DEV_ID_82598AT, IXGBE_EICR, IXGBE_EICR_GPI_SDP0_X540, IXGBE_EICR_GPI_SDP1, IXGBE_EICR_GPI_SDP1_BY_MAC, IXGBE_EICR_GPI_SDP2_BY_MAC, IXGBE_EICR_LSC, IXGBE_EIMC, IXGBE_EIMC_LSC, IXGBE_EIMS, ixgbe_if_enable_intr(), ixgbe_is_sfp(), ixgbe_mac_82599EB, ixgbe_mac_X540, ixgbe_phy_x550em_ext_t, IXGBE_READ_REG, IXGBE_REQUEST_TASK_MOD, IXGBE_REQUEST_TASK_MSF, IXGBE_REQUEST_TASK_PHY, IXGBE_WRITE_REG, ixgbe_hw::mac, ixgbe_hw::phy, ixgbe_softc::rx_queues, ix_rx_queue::sc, ixgbe_softc::task_requests, ixgbe_mac_info::type, and ixgbe_phy_info::type.
Referenced by ixgbe_if_attach_pre().
Definition at line 1362 of file if_ix.c.
References ixgbe_mac_operations::get_media_type, ixgbe_mac_82598EB, ixgbe_mac_82599EB, ixgbe_mac_X550EM_a, ixgbe_mac_X550EM_x, ixgbe_media_type_fiber, ixgbe_media_type_fiber_qsfp, ixgbe_phy_nl, ixgbe_hw::mac, ixgbe_mac_info::ops, ixgbe_hw::phy, ixgbe_mac_info::type, and ixgbe_phy_info::type.
Referenced by ixgbe_config_link(), ixgbe_intr(), and ixgbe_msix_link().
|
static |
Definition at line 3852 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::hw, IXGBE_EIMS, IXGBE_EIMS_LSC, IXGBE_EIMS_OTHER, and IXGBE_WRITE_REG.
Definition at line 3452 of file if_ix.c.
References ixgbe_mc_addr::addr, and ixgbe_mc_addr::vmdq.
Referenced by ixgbe_if_multi_set().
|
static |
Definition at line 3393 of file if_ix.c.
References ixgbe_mc_addr::addr, IXGBE_ETH_LENGTH_OF_ADDRESS, MAX_NUM_MULTICAST_ADDRESSES, ixgbe_softc::mta, ixgbe_softc::pool, and ixgbe_mc_addr::vmdq.
Referenced by ixgbe_if_multi_set().
|
static |
Definition at line 2524 of file if_ix.c.
References ixgbe_phy_operations::check_overtemp, ixgbe_softc::ctx, ixgbe_softc::fdir_reinit, ixgbe_softc::feat_en, ixgbe_softc::hw, ixgbe_check_fan_failure(), IXGBE_EICR, IXGBE_EICR_ECC, IXGBE_EICR_FLOW_DIR, IXGBE_EICR_GPI_SDP0_X540, IXGBE_EICR_GPI_SDP0_X550EM_a, IXGBE_EICR_GPI_SDP1_BY_MAC, IXGBE_EICR_GPI_SDP2_BY_MAC, IXGBE_EICR_LSC, IXGBE_EICR_MAILBOX, IXGBE_EICR_TS, IXGBE_EICS, IXGBE_EIMC, IXGBE_EIMC_LSC, IXGBE_EIMC_OTHER, IXGBE_ERR_OVERTEMP, IXGBE_FEATURE_FAN_FAIL, IXGBE_FEATURE_FDIR, IXGBE_FEATURE_SRIOV, IXGBE_FEATURE_TEMP_SENSOR, ixgbe_is_sfp(), ixgbe_mac_82598EB, ixgbe_mac_82599EB, ixgbe_mac_X540, ixgbe_mac_X550EM_a, ixgbe_phy_x550em_ext_t, IXGBE_READ_REG, IXGBE_REQUEST_TASK_FDIR, IXGBE_REQUEST_TASK_LSC, IXGBE_REQUEST_TASK_MBX, IXGBE_REQUEST_TASK_MOD, IXGBE_REQUEST_TASK_MSF, IXGBE_REQUEST_TASK_PHY, IXGBE_WRITE_REG, ixgbe_softc::link_irq, ixgbe_hw::mac, ixgbe_phy_info::ops, ixgbe_hw::phy, ixgbe_softc::task_requests, ixgbe_mac_info::type, and ixgbe_phy_info::type.
Referenced by ixgbe_if_msix_intr_assign().
|
static |
Definition at line 2205 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::enable_aim, ix_rx_queue::irqs, ixgbe_disable_queue(), ixgbe_perform_aim(), ix_rx_queue::msix, and ix_rx_queue::sc.
Referenced by ixgbe_if_msix_intr_assign().
|
inlinestatic |
Definition at line 2148 of file if_ix.c.
References rx_ring::bytes, ix_rx_queue::eitr_setting, ixgbe_softc::hw, IXGBE_EITR, IXGBE_EITR_CNT_WDIS, ixgbe_mac_82598EB, IXGBE_WRITE_REG, ixgbe_hw::mac, ix_rx_queue::msix, rx_ring::packets, rx_ring::que, ix_rx_queue::rxr, rx_ring::sc, and ixgbe_mac_info::type.
Referenced by ixgbe_msix_que().
|
static |
Definition at line 4804 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::dev, ixgbe_softc::hw, and ixgbe_sbuf_fw_version().
Referenced by ixgbe_if_attach_post().
|
static |
Definition at line 860 of file if_ix.c.
References ixgbe_sctx_init.
|
static |
Definition at line 4766 of file if_ix.c.
References ixgbe_nvm_version::etk_id, ixgbe_get_etk_id(), ixgbe_get_oem_prod_version(), ixgbe_get_orom_version(), ixgbe_get_phy_firmware_version(), IXGBE_SUCCESS, NVM_ETK_SHIFT, NVM_VER_INVALID, ixgbe_nvm_version::oem_major, ixgbe_nvm_version::oem_minor, ixgbe_nvm_version::oem_release, ixgbe_nvm_version::oem_valid, ixgbe_nvm_version::or_build, ixgbe_nvm_version::or_major, ixgbe_nvm_version::or_patch, and ixgbe_nvm_version::or_valid.
Referenced by ixgbe_print_fw_version(), and ixgbe_sysctl_print_fw_version().
|
static |
Definition at line 4157 of file if_ix.c.
References ixgbe_softc::advertise, ixgbe_mac_info::autotry_restart, ixgbe_softc::ctx, ixgbe_softc::dev, ixgbe_mac_operations::get_link_capabilities, ixgbe_softc::hw, IXGBE_LINK_SPEED_100_FULL, IXGBE_LINK_SPEED_10_FULL, IXGBE_LINK_SPEED_10GB_FULL, IXGBE_LINK_SPEED_1GB_FULL, IXGBE_LINK_SPEED_2_5GB_FULL, IXGBE_LINK_SPEED_5GB_FULL, ixgbe_media_type_backplane, ixgbe_media_type_copper, IXGBE_NOT_IMPLEMENTED, IXGBE_SUCCESS, ixgbe_hw::mac, ixgbe_phy_info::media_type, ixgbe_phy_info::multispeed_fiber, ixgbe_mac_info::ops, ixgbe_hw::phy, and ixgbe_mac_operations::setup_link.
Referenced by ixgbe_if_attach_post(), and ixgbe_sysctl_advertise().
|
static |
Definition at line 4042 of file if_ix.c.
References ixgbe_fc_info::disable_fc_autoneg, ixgbe_hw::fc, ixgbe_softc::hw, ixgbe_disable_rx_drop(), ixgbe_enable_rx_drop(), ixgbe_fc_enable(), ixgbe_fc_full, ixgbe_fc_none, ixgbe_fc_rx_pause, ixgbe_fc_tx_pause, and ixgbe_fc_info::requested_mode.
Referenced by ixgbe_sysctl_flowcntl().
|
static |
Definition at line 3214 of file if_ix.c.
References ixgbe_softc::hw, IXGBE_IVAR, IXGBE_IVAR_ALLOC_VAL, IXGBE_IVAR_MISC, IXGBE_IVAR_OTHER_CAUSES_INDEX, ixgbe_mac_82598EB, ixgbe_mac_82599EB, ixgbe_mac_X540, ixgbe_mac_X550, ixgbe_mac_X550EM_a, ixgbe_mac_X550EM_x, IXGBE_READ_REG, IXGBE_WRITE_REG, ixgbe_hw::mac, and ixgbe_mac_info::type.
Referenced by ixgbe_configure_ivars(), and ixgbe_if_init().
|
static |
Definition at line 1172 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::hw, ixgbe_softc::ifp, INIT_DEBUGOUT, ixgbe_add_media_types(), ixgbe_get_supported_physical_layer(), ixgbe_softc::media, and ixgbe_softc::phy_layer.
Referenced by ixgbe_if_attach_post().
|
static |
Definition at line 2835 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_hw::device_id, ixgbe_phy_operations::enter_lplu, ixgbe_softc::hw, IXGBE_DEV_ID_X550EM_X_10G_T, IXGBE_GRC, ixgbe_if_stop(), IXGBE_READ_REG, ixgbe_set_phy_power(), IXGBE_WRITE_REG, IXGBE_WUC, IXGBE_WUC_PME_EN, IXGBE_WUC_WKEN, IXGBE_WUFC, IXGBE_WUS, ixgbe_phy_info::ops, ixgbe_hw::phy, ixgbe_phy_info::reset_disable, ixgbe_hw::wol_enabled, and ixgbe_softc::wufc.
Referenced by ixgbe_if_detach(), ixgbe_if_shutdown(), and ixgbe_if_suspend().
|
static |
Definition at line 1913 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::hw, ixgbe_mac_82598EB, IXGBE_READ_REG, IXGBE_RXDCTL, IXGBE_RXDCTL_VME, IXGBE_VFTA, IXGBE_VFTA_SIZE, IXGBE_VLNCTRL, IXGBE_VLNCTRL_VFE, IXGBE_VLNCTRL_VME, IXGBE_WRITE_REG, ixgbe_hw::mac, rx_ring::me, ixgbe_softc::num_vlans, ixgbe_softc::rx_queues, ix_rx_queue::rxr, rx_ring::sc, ixgbe_softc::shadow_vfta, ixgbe_mac_info::type, and rx_ring::vtag_strip.
Referenced by ixgbe_if_init(), ixgbe_if_vlan_register(), and ixgbe_if_vlan_unregister().
|
static |
Definition at line 3496 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::hw, ixgbe_phy_operations::identify_sfp, IXGBE_ERR_SFP_NOT_SUPPORTED, ixgbe_phy_nl, ixgbe_sfp_type_not_present, ixgbe_phy_info::ops, ixgbe_hw::phy, ixgbe_phy_operations::reset, ixgbe_softc::sfp_probe, ixgbe_phy_info::sfp_type, and ixgbe_phy_info::type.
Referenced by ixgbe_if_timer().
|
static |
Definition at line 4129 of file if_ix.c.
References ixgbe_softc::advertise, and ixgbe_set_advertise().
Referenced by ixgbe_add_device_sysctls().
|
static |
Definition at line 4313 of file if_ix.c.
References ixgbe_softc::ctx, and ixgbe_softc::dmac.
Referenced by ixgbe_add_device_sysctls().
|
static |
Definition at line 4602 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_softc::dev, ixgbe_softc::feat_cap, ixgbe_softc::feat_en, ixgbe_softc::hw, IXGBE_FEATURE_EEE, and ixgbe_setup_eee().
Referenced by ixgbe_add_device_sysctls().
|
static |
Definition at line 4013 of file if_ix.c.
References ixgbe_fc_info::current_mode, ixgbe_hw::fc, ixgbe_softc::hw, and ixgbe_set_flowcntl().
Referenced by ixgbe_add_device_sysctls().
|
static |
Definition at line 2644 of file if_ix.c.
References ixgbe_softc::hw, IXGBE_EITR, ixgbe_max_interrupt_rate, IXGBE_READ_REG, IXGBE_WRITE_REG, ix_rx_queue::msix, and ix_rx_queue::sc.
Referenced by ixgbe_add_hw_stats().
|
static |
Definition at line 4567 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_hw::device_id, ixgbe_softc::hw, IXGBE_DEV_ID_X550EM_X_10G_T, IXGBE_MDIO_VENDOR_SPECIFIC_1_DEV_TYPE, IXGBE_PHY_OVERTEMP_STATUS, ixgbe_phy_info::ops, ixgbe_hw::phy, and ixgbe_phy_operations::read_reg.
Referenced by ixgbe_add_device_sysctls().
|
static |
Definition at line 4535 of file if_ix.c.
References ixgbe_softc::ctx, ixgbe_hw::device_id, ixgbe_softc::hw, IXGBE_DEV_ID_X550EM_X_10G_T, IXGBE_MDIO_VENDOR_SPECIFIC_1_DEV_TYPE, IXGBE_PHY_CURRENT_TEMP, ixgbe_phy_info::ops, ixgbe_hw::phy, and ixgbe_phy_operations::read_reg.
Referenced by ixgbe_add_device_sysctls().
|
static |
Definition at line 4833 of file if_ix.c.
References ixgbe_softc::dev, ixgbe_softc::hw, and ixgbe_sbuf_fw_version().
Referenced by ixgbe_add_device_sysctls().
|
static |
Definition at line 1829 of file if_ix.c.
References ixgbe_softc::hw, IXGBE_RDH, IXGBE_READ_REG, rx_ring::me, and rx_ring::sc.
Referenced by ixgbe_add_hw_stats().
|
static |
Definition at line 1852 of file if_ix.c.
References ixgbe_softc::hw, IXGBE_RDT, IXGBE_READ_REG, rx_ring::me, and rx_ring::sc.
Referenced by ixgbe_add_hw_stats().
|
static |
Definition at line 1783 of file if_ix.c.
References ixgbe_softc::hw, IXGBE_READ_REG, IXGBE_TDH, tx_ring::me, and tx_ring::sc.
Referenced by ixgbe_add_hw_stats().
|
static |
Definition at line 1806 of file if_ix.c.
References ixgbe_softc::hw, IXGBE_READ_REG, IXGBE_TDT, tx_ring::me, and tx_ring::sc.
Referenced by ixgbe_add_hw_stats().
|
static |
Definition at line 4407 of file if_ix.c.
References ixgbe_softc::hw, ixgbe_hw::wol_enabled, and ixgbe_softc::wol_support.
Referenced by ixgbe_add_device_sysctls().
|
static |
Definition at line 4448 of file if_ix.c.
References ixgbe_softc::wufc.
Referenced by ixgbe_add_device_sysctls().
|
static |
Definition at line 1455 of file if_ix.c.
References ixgbe_hw_stats::bprc, ixgbe_hw_stats::bptc, ixgbe_hw_stats::crcerrs, ixgbe_hw_stats::errbc, ixgbe_hw_stats::fccrc, ixgbe_hw_stats::fclast, ixgbe_hw_stats::fcoedwrc, ixgbe_hw_stats::fcoedwtc, ixgbe_hw_stats::fcoeprc, ixgbe_hw_stats::fcoeptc, ixgbe_hw_stats::fcoerpdc, ixgbe_hw_stats::gorc, ixgbe_hw_stats::gotc, ixgbe_hw_stats::gprc, ixgbe_hw_stats::gptc, ixgbe_softc::hw, ixgbe_hw_stats::illerrc, IXGBE_BPRC, IXGBE_BPTC, IXGBE_CRCERRS, IXGBE_ERRBC, IXGBE_FCCRC, IXGBE_FCLAST, IXGBE_FCOEDWRC, IXGBE_FCOEDWTC, IXGBE_FCOEPRC, IXGBE_FCOEPTC, IXGBE_FCOERPDC, IXGBE_GORCH, IXGBE_GORCL, IXGBE_GOTCH, IXGBE_GOTCL, IXGBE_GPRC, IXGBE_GPTC, IXGBE_ILLERRC, IXGBE_LXOFFRXC, IXGBE_LXOFFRXCNT, IXGBE_LXOFFTXC, IXGBE_LXONRXC, IXGBE_LXONRXCNT, IXGBE_LXONTXC, ixgbe_mac_82598EB, IXGBE_MLFC, IXGBE_MNGPDC, IXGBE_MNGPRC, IXGBE_MNGPTC, IXGBE_MPC, IXGBE_MPRC, IXGBE_MPTC, IXGBE_MRFC, IXGBE_MSPDC, IXGBE_PRC1023, IXGBE_PRC127, IXGBE_PRC1522, IXGBE_PRC255, IXGBE_PRC511, IXGBE_PRC64, IXGBE_PTC1023, IXGBE_PTC127, IXGBE_PTC1522, IXGBE_PTC255, IXGBE_PTC511, IXGBE_PTC64, IXGBE_QPRC, IXGBE_QPRDC, IXGBE_QPTC, IXGBE_READ_REG, IXGBE_RFC, IXGBE_RJC, IXGBE_RLEC, IXGBE_ROC, IXGBE_RUC, IXGBE_SET_COLLISIONS, IXGBE_SET_IBYTES, IXGBE_SET_IERRORS, IXGBE_SET_IMCASTS, IXGBE_SET_IPACKETS, IXGBE_SET_IQDROPS, IXGBE_SET_OBYTES, IXGBE_SET_OMCASTS, IXGBE_SET_OPACKETS, IXGBE_TORH, IXGBE_TORL, IXGBE_TPR, IXGBE_TPT, IXGBE_XEC, ixgbe_hw_stats::lxoffrxc, ixgbe_hw_stats::lxofftxc, ixgbe_hw_stats::lxonrxc, ixgbe_hw_stats::lxontxc, ixgbe_hw::mac, ixgbe_hw_stats::mlfc, ixgbe_hw_stats::mngpdc, ixgbe_hw_stats::mngprc, ixgbe_hw_stats::mngptc, ixgbe_hw_stats::mpc, ixgbe_hw_stats::mprc, ixgbe_hw_stats::mptc, ixgbe_hw_stats::mrfc, ixgbe_hw_stats::mspdc, ixgbe_softc::pf, ixgbe_hw_stats::prc1023, ixgbe_hw_stats::prc127, ixgbe_hw_stats::prc1522, ixgbe_hw_stats::prc255, ixgbe_hw_stats::prc511, ixgbe_hw_stats::prc64, ixgbe_hw_stats::ptc1023, ixgbe_hw_stats::ptc127, ixgbe_hw_stats::ptc1522, ixgbe_hw_stats::ptc255, ixgbe_hw_stats::ptc511, ixgbe_hw_stats::ptc64, ixgbe_hw_stats::qprc, ixgbe_hw_stats::qprdc, ixgbe_hw_stats::qptc, ixgbe_hw_stats::rfc, ixgbe_hw_stats::rjc, ixgbe_hw_stats::rlec, ixgbe_hw_stats::roc, ixgbe_hw_stats::ruc, ixgbe_softc::shared, ixgbe_softc::stats, ixgbe_hw_stats::tor, ixgbe_hw_stats::tpr, ixgbe_hw_stats::tpt, ixgbe_mac_info::type, and ixgbe_hw_stats::xec.
Referenced by ixgbe_if_attach_post(), and ixgbe_if_update_admin_status().
MALLOC_DEFINE | ( | M_IXGBE | , |
"ix" | , | ||
"ix driver allocations" | |||
) |
MODULE_DEPEND | ( | ix | , |
ether | , | ||
1 | , | ||
1 | , | ||
1 | |||
) |
MODULE_DEPEND | ( | ix | , |
iflib | , | ||
1 | , | ||
1 | , | ||
1 | |||
) |
MODULE_DEPEND | ( | ix | , |
pci | , | ||
1 | , | ||
1 | , | ||
1 | |||
) |
SYSCTL_INT | ( | _hw_ix | , |
OID_AUTO | , | ||
advertise_speed | , | ||
CTLFLAG_RDTUN | , | ||
& | ixgbe_advertise_speed, | ||
0 | , | ||
"Default advertised speed for all adapters" | |||
) |
SYSCTL_INT | ( | _hw_ix | , |
OID_AUTO | , | ||
enable_aim | , | ||
CTLFLAG_RWTUN | , | ||
& | ixgbe_enable_aim, | ||
0 | , | ||
"Enable adaptive interrupt moderation" | |||
) |
SYSCTL_INT | ( | _hw_ix | , |
OID_AUTO | , | ||
enable_fdir | , | ||
CTLFLAG_RDTUN | , | ||
& | ixgbe_enable_fdir, | ||
0 | , | ||
"Enable Flow Director" | |||
) |
SYSCTL_INT | ( | _hw_ix | , |
OID_AUTO | , | ||
enable_msix | , | ||
CTLFLAG_RDTUN | , | ||
& | ixgbe_enable_msix, | ||
0 | , | ||
"Enable MSI-X interrupts" | |||
) |
SYSCTL_INT | ( | _hw_ix | , |
OID_AUTO | , | ||
enable_rss | , | ||
CTLFLAG_RDTUN | , | ||
& | ixgbe_enable_rss, | ||
0 | , | ||
"Enable Receive-Side Scaling (RSS)" | |||
) |
SYSCTL_INT | ( | _hw_ix | , |
OID_AUTO | , | ||
flow_control | , | ||
CTLFLAG_RDTUN | , | ||
& | ixgbe_flow_control, | ||
0 | , | ||
"Default flow control used for all adapters" | |||
) |
SYSCTL_INT | ( | _hw_ix | , |
OID_AUTO | , | ||
max_interrupt_rate | , | ||
CTLFLAG_RDTUN | , | ||
& | ixgbe_max_interrupt_rate, | ||
0 | , | ||
"Maximum interrupts per second" | |||
) |
SYSCTL_INT | ( | _hw_ix | , |
OID_AUTO | , | ||
unsupported_sfp | , | ||
CTLFLAG_RDTUN | , | ||
& | allow_unsupported_sfp, | ||
0 | , | ||
"Allow unsupported SFP modules...use at your own risk" | |||
) |
|
static |
|
static |
Definition at line 328 of file if_ix.c.
Referenced by ixgbe_if_attach_pre().
|
static |
Definition at line 369 of file if_ix.c.
Referenced by ixgbe_if_tx_queues_alloc().
|
static |
|
static |
|
static |
Definition at line 302 of file if_ix.c.
Referenced by ixgbe_if_attach_post().
|
static |
Definition at line 352 of file if_ix.c.
Referenced by ixgbe_add_device_sysctls().
|
static |
Definition at line 337 of file if_ix.c.
Referenced by ixgbe_init_device_features().
|
static |
Definition at line 319 of file if_ix.c.
Referenced by ixgbe_if_init(), and ixgbe_init_device_features().
|
static |
Definition at line 342 of file if_ix.c.
Referenced by ixgbe_init_device_features().
|
static |
Definition at line 297 of file if_ix.c.
Referenced by ixgbe_if_attach_pre().
|
static |
|
static |
Definition at line 292 of file if_ix.c.
Referenced by ixgbe_configure_ivars(), and ixgbe_sysctl_interrupt_rate_handler().
|
static |
Definition at line 373 of file if_ix.c.
Referenced by ixgbe_register().
|
static |
Definition at line 313 of file if_ix.c.
Referenced by ixgbe_if_attach_pre().
|
extern |
Definition at line 62 of file ix_txrx.c.
Referenced by ixgbe_if_attach_pre().