FreeBSD kernel IXGBE device code
|
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_rss.h"
#include "ixgbe.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 | UPDATE_STAT_32(reg, last, count) |
#define | UPDATE_STAT_36(lsb, msb, last, count) |
#define | QUEUE_NAME_LEN 32 |
Functions | |
static void * | ixv_register (device_t) |
static int | ixv_if_attach_pre (if_ctx_t) |
static int | ixv_if_attach_post (if_ctx_t) |
static int | ixv_if_detach (if_ctx_t) |
static int | ixv_if_rx_queue_intr_enable (if_ctx_t, uint16_t) |
static int | ixv_if_tx_queues_alloc (if_ctx_t, caddr_t *, uint64_t *, int, int) |
static int | ixv_if_rx_queues_alloc (if_ctx_t, caddr_t *, uint64_t *, int, int) |
static void | ixv_if_queues_free (if_ctx_t) |
static void | ixv_identify_hardware (if_ctx_t) |
static void | ixv_init_device_features (struct ixgbe_softc *) |
static int | ixv_allocate_pci_resources (if_ctx_t) |
static void | ixv_free_pci_resources (if_ctx_t) |
static int | ixv_setup_interface (if_ctx_t) |
static void | ixv_if_media_status (if_ctx_t, struct ifmediareq *) |
static int | ixv_if_media_change (if_ctx_t) |
static void | ixv_if_update_admin_status (if_ctx_t) |
static int | ixv_if_msix_intr_assign (if_ctx_t, int) |
static int | ixv_if_mtu_set (if_ctx_t, uint32_t) |
static void | ixv_if_init (if_ctx_t) |
static void | ixv_if_local_timer (if_ctx_t, uint16_t) |
static void | ixv_if_stop (if_ctx_t) |
static int | ixv_negotiate_api (struct ixgbe_softc *) |
static void | ixv_initialize_transmit_units (if_ctx_t) |
static void | ixv_initialize_receive_units (if_ctx_t) |
static void | ixv_initialize_rss_mapping (struct ixgbe_softc *) |
static void | ixv_setup_vlan_support (if_ctx_t) |
static void | ixv_configure_ivars (struct ixgbe_softc *) |
static void | ixv_if_enable_intr (if_ctx_t) |
static void | ixv_if_disable_intr (if_ctx_t) |
static void | ixv_if_multi_set (if_ctx_t) |
static void | ixv_if_register_vlan (if_ctx_t, u16) |
static void | ixv_if_unregister_vlan (if_ctx_t, u16) |
static uint64_t | ixv_if_get_counter (if_ctx_t, ift_counter) |
static bool | ixv_if_needs_restart (if_ctx_t, enum iflib_restart_event) |
static void | ixv_save_stats (struct ixgbe_softc *) |
static void | ixv_init_stats (struct ixgbe_softc *) |
static void | ixv_update_stats (struct ixgbe_softc *) |
static void | ixv_add_stats_sysctls (struct ixgbe_softc *) |
static int | ixv_sysctl_debug (SYSCTL_HANDLER_ARGS) |
static void | ixv_set_ivar (struct ixgbe_softc *, u8, u8, s8) |
static u8 * | ixv_mc_array_itr (struct ixgbe_hw *, u8 **, u32 *) |
static int | ixv_msix_que (void *) |
static int | ixv_msix_mbx (void *) |
DRIVER_MODULE (ixv, pci, ixv_driver, ixv_devclass, 0, 0) | |
IFLIB_PNP_INFO (pci, ixv_driver, ixv_vendor_info_array) | |
MODULE_DEPEND (ixv, iflib, 1, 1, 1) | |
MODULE_DEPEND (ixv, pci, 1, 1, 1) | |
MODULE_DEPEND (ixv, ether, 1, 1, 1) | |
TUNABLE_INT ("hw.ixv.flow_control", &ixv_flow_control) | |
TUNABLE_INT ("hw.ixv.hdr_split", &ixv_header_split) | |
static void | ixv_enable_queue (struct ixgbe_softc *sc, u32 vector) |
static void | ixv_disable_queue (struct ixgbe_softc *sc, u32 vector) |
static bool | ixv_if_needs_restart (if_ctx_t ctx __unused, enum iflib_restart_event event) |
static void | ixv_print_debug_info (struct ixgbe_softc *sc) |
Variables | |
char | ixv_driver_version [] = "2.0.1-k" |
static pci_vendor_info_t | ixv_vendor_info_array [] |
static device_method_t | ixv_methods [] |
static driver_t | ixv_driver |
devclass_t | ixv_devclass |
static device_method_t | ixv_if_methods [] |
static driver_t | ixv_if_driver |
static int | ixv_flow_control = ixgbe_fc_full |
static int | ixv_header_split = false |
static u32 | ixv_shadow_vfta [IXGBE_VFTA_SIZE] |
struct if_txrx | ixgbe_txrx |
static struct if_shared_ctx | ixv_sctx_init |
#define QUEUE_NAME_LEN 32 |
#define UPDATE_STAT_32 | ( | reg, | |
last, | |||
count | |||
) |
#define UPDATE_STAT_36 | ( | lsb, | |
msb, | |||
last, | |||
count | |||
) |
DRIVER_MODULE | ( | ixv | , |
pci | , | ||
ixv_driver | , | ||
ixv_devclass | , | ||
0 | , | ||
0 | |||
) |
IFLIB_PNP_INFO | ( | pci | , |
ixv_driver | , | ||
ixv_vendor_info_array | |||
) |
|
static |
Definition at line 1813 of file if_ixv.c.
References ixgbe_softc::dev, ix_rx_queue::irqs, ixgbe_softc::link_irq, QUEUE_NAME_LEN, rx_ring::rx_bytes, rx_ring::rx_discarded, rx_ring::rx_packets, ixgbe_softc::rx_queues, ix_rx_queue::rxr, tx_ring::sc, ix_rx_queue::sc, ix_tx_queue::sc, ixgbe_softc::stats, tx_ring::total_packets, tx_ring::tso_tx, ixgbe_softc::tx_queues, ix_tx_queue::txr, ixgbe_softc::vf, ixgbevf_hw_stats::vfgorc, ixgbevf_hw_stats::vfgotc, ixgbevf_hw_stats::vfgprc, ixgbevf_hw_stats::vfgptc, ixgbevf_hw_stats::vfmprc, and ixgbe_softc::watchdog_events.
Referenced by ixv_if_attach_post().
|
static |
Definition at line 1105 of file if_ixv.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 ixv_if_attach_pre().
|
static |
Definition at line 1687 of file if_ixv.c.
References ixgbe_softc::hw, IXGBE_EITR_DEFAULT, IXGBE_VTEITR, IXGBE_WRITE_REG, ixv_set_ivar(), ix_rx_queue::msix, ixgbe_softc::rx_queues, ix_rx_queue::sc, and ixgbe_softc::vector.
Referenced by ixv_if_init().
|
inlinestatic |
Definition at line 692 of file if_ixv.c.
References ixgbe_softc::hw, IXGBE_EIMS_RTX_QUEUE, IXGBE_VTEIMC, and IXGBE_WRITE_REG.
Referenced by ixv_msix_que().
|
inlinestatic |
Definition at line 678 of file if_ixv.c.
References ixgbe_softc::hw, IXGBE_EIMS_RTX_QUEUE, IXGBE_VTEIMS, and IXGBE_WRITE_REG.
Referenced by ixv_if_enable_intr(), and ixv_if_rx_queue_intr_enable().
|
static |
Definition at line 1132 of file if_ixv.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 ixv_if_attach_pre(), and ixv_if_detach().
|
static |
Definition at line 989 of file if_ixv.c.
References ixgbe_softc::ctx, ixgbe_softc::dev, ixgbe_hw::device_id, ixgbe_softc::hw, IXGBE_DEV_ID_82599_VF, IXGBE_DEV_ID_X540_VF, IXGBE_DEV_ID_X550_VF, IXGBE_DEV_ID_X550EM_A_VF, IXGBE_DEV_ID_X550EM_X_VF, ixgbe_mac_82599_vf, ixgbe_mac_unknown, ixgbe_mac_X540_vf, ixgbe_mac_X550_vf, ixgbe_mac_X550EM_a_vf, ixgbe_mac_X550EM_x_vf, ixgbe_hw::mac, ixgbe_hw::revision_id, ixgbe_hw::subsystem_device_id, ixgbe_hw::subsystem_vendor_id, ixgbe_mac_info::type, and ixgbe_hw::vendor_id.
Referenced by ixv_if_attach_pre().
|
static |
Definition at line 530 of file if_ixv.c.
References ixgbe_softc::ctx, ixgbe_softc::dev, ixv_add_stats_sysctls(), ixv_init_stats(), ixv_save_stats(), and ixv_setup_interface().
|
static |
Definition at line 391 of file if_ixv.c.
References ixgbe_mac_info::addr, ixgbe_hw::back, ixgbe_softc::ctx, DBA_ALIGN, ixgbe_softc::dev, ixgbe_mac_operations::get_link_state, ixgbe_softc::hw, INIT_DEBUGOUT, ixgbe_mac_operations::init_hw, IXGBE_82599_SCATTER, IXGBE_CAPS, IXGBE_ERR_RESET_FAILED, ixgbe_init_mbx_params_vf(), ixgbe_init_ops_vf(), ixgbe_mac_X550_vf, ixgbe_mac_X550EM_a_vf, ixgbe_mac_X550EM_x_vf, IXGBE_TSO_SIZE, ixgbe_txrx, ixv_allocate_pci_resources(), ixv_check_ether_addr(), ixv_free_pci_resources(), ixv_identify_hardware(), ixv_init_device_features(), ixv_negotiate_api(), ixv_sysctl_debug(), ixgbe_softc::link_enabled, ixgbe_hw::mac, ixgbe_softc::media, ixgbe_mac_info::ops, ixgbe_mac_info::perm_addr, ixgbe_mac_operations::reset_hw, ixgbe_softc::shared, and ixgbe_mac_info::type.
|
static |
Definition at line 562 of file if_ixv.c.
References ixgbe_softc::ctx, INIT_DEBUGOUT, and ixv_free_pci_resources().
|
static |
Definition at line 1631 of file if_ixv.c.
References ixgbe_softc::ctx, ixgbe_softc::hw, IXGBE_VTEIAC, IXGBE_VTEIMC, IXGBE_WRITE_FLUSH, and IXGBE_WRITE_REG.
Referenced by ixv_if_stop().
|
static |
Definition at line 1608 of file if_ixv.c.
References ixgbe_softc::ctx, ixgbe_softc::hw, IXGBE_EIMS_ENABLE_MASK, IXGBE_EIMS_LSC, IXGBE_EIMS_OTHER, IXGBE_VTEIAC, IXGBE_VTEIMS, IXGBE_WRITE_FLUSH, IXGBE_WRITE_REG, ixv_enable_queue(), ix_rx_queue::msix, ixgbe_softc::rx_queues, and ix_rx_queue::sc.
Referenced by ixv_if_init().
|
static |
Definition at line 1182 of file if_ixv.c.
References ixgbe_softc::ctx, ixgbe_softc::ibytes, ixgbe_softc::ifp, ixgbe_softc::imcasts, ixgbe_softc::ipackets, ixgbe_softc::obytes, and ixgbe_softc::opackets.
|
static |
Definition at line 603 of file if_ixv.c.
References ixgbe_hw::adapter_stopped, ixgbe_mac_info::addr, ixgbe_mac_operations::check_link, ixgbe_softc::ctx, ixgbe_mac_operations::get_link_state, ixgbe_softc::hw, INIT_DEBUGOUT, IXGBE_EICS_RTX_QUEUE, IXGBE_ETH_LENGTH_OF_ADDRESS, IXGBE_LINK_ITR, IXGBE_RAH_AV, IXGBE_VTEIAM, IXGBE_VTEITR, IXGBE_WRITE_REG, ixv_configure_ivars(), ixv_if_enable_intr(), ixv_if_multi_set(), ixv_init_stats(), ixv_initialize_receive_units(), ixv_initialize_transmit_units(), ixv_negotiate_api(), ixv_setup_vlan_support(), ixgbe_softc::link_enabled, ixgbe_softc::link_speed, ixgbe_softc::link_up, ixgbe_hw::mac, ixgbe_mac_info::ops, ixgbe_mac_operations::reset_hw, ixgbe_softc::rx_mbuf_sz, ixgbe_mac_operations::set_rar, ixgbe_mac_operations::start_hw, ixgbe_mac_operations::stop_adapter, and ixgbe_softc::vector.
|
static |
|
static |
Definition at line 790 of file if_ixv.c.
References ixgbe_softc::ctx, ixgbe_softc::dev, and INIT_DEBUGOUT.
|
static |
Definition at line 751 of file if_ixv.c.
References ixgbe_softc::ctx, INIT_DEBUGOUT, IXGBE_LINK_SPEED_100_FULL, IXGBE_LINK_SPEED_10_FULL, IXGBE_LINK_SPEED_10GB_FULL, IXGBE_LINK_SPEED_1GB_FULL, ixgbe_softc::link_active, and ixgbe_softc::link_speed.
|
static |
Definition at line 1030 of file if_ixv.c.
References ixgbe_softc::ctx, ixgbe_softc::dev, ixgbe_softc::hw, ixgbe_softc::irq, ixgbe_mac_82599_vf, ixv_msix_mbx(), ixv_msix_que(), ixgbe_hw::mac, tx_ring::me, rx_ring::me, ix_rx_queue::msix, ix_tx_queue::msix, ix_rx_queue::que_irq, ixgbe_softc::rx_queues, ix_rx_queue::rxr, ix_rx_queue::sc, ix_tx_queue::sc, ixgbe_softc::tx_queues, ix_tx_queue::txr, ixgbe_mac_info::type, and ixgbe_softc::vector.
|
static |
Definition at line 575 of file if_ixv.c.
References ixgbe_softc::ctx, IOCTL_DEBUGOUT, IXGBE_MAX_FRAME_SIZE, and IXGBE_MTU_HDR.
|
static |
Definition at line 844 of file if_ixv.c.
References ixgbe_softc::ctx, ixgbe_softc::hw, IOCTL_DEBUGOUT, IXGBE_ETH_LENGTH_OF_ADDRESS, ixv_mc_array_itr(), ixgbe_hw::mac, MAX_NUM_MULTICAST_ADDRESSES, ixgbe_mac_info::ops, and ixgbe_mac_operations::update_mc_addr_list.
Referenced by ixv_if_init().
|
static |
|
static |
|
static |
Definition at line 355 of file if_ixv.c.
References ixgbe_softc::ctx, ixgbe_softc::rx_queues, tx_ring::sc, ix_tx_queue::sc, ixgbe_softc::tx_queues, tx_ring::tx_rsq, and ix_tx_queue::txr.
Referenced by ixv_if_rx_queues_alloc(), and ixv_if_tx_queues_alloc().
|
static |
Definition at line 1575 of file if_ixv.c.
References ixgbe_softc::ctx, ixv_shadow_vfta, and ixgbe_softc::num_vlans.
|
static |
Definition at line 1643 of file if_ixv.c.
References ixgbe_softc::ctx, ixv_enable_queue(), rx_ring::me, ixgbe_softc::rx_queues, ix_rx_queue::rxr, and ix_rx_queue::sc.
|
static |
Definition at line 305 of file if_ixv.c.
References rx_ring::bytes, ixgbe_softc::ctx, IXGBE_VFRDT, ixv_if_queues_free(), rx_ring::me, 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 963 of file if_ixv.c.
References ixgbe_hw::adapter_stopped, ixgbe_mac_info::addr, ixgbe_softc::ctx, ixgbe_softc::hw, INIT_DEBUGOUT, IXGBE_RAH_AV, ixv_if_disable_intr(), ixv_if_update_admin_status(), ixgbe_softc::link_up, ixgbe_hw::mac, ixgbe_mac_info::ops, ixgbe_mac_operations::reset_hw, ixgbe_mac_operations::set_rar, and ixgbe_mac_operations::stop_adapter.
|
static |
Definition at line 246 of file if_ixv.c.
References tx_ring::bytes, ixgbe_softc::ctx, IXGBE_VFTDT, ixv_if_queues_free(), tx_ring::me, 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 1593 of file if_ixv.c.
References ixgbe_softc::ctx, ixv_shadow_vfta, and ixgbe_softc::num_vlans.
|
static |
Definition at line 915 of file if_ixv.c.
References ixgbe_hw::adapter_stopped, ixgbe_softc::ctx, ixgbe_softc::dev, ixgbe_mac_info::get_link_status, ixgbe_softc::hw, ixgbe_check_link(), IXGBE_SUCCESS, ixv_update_stats(), ixgbe_softc::link_active, ixgbe_softc::link_enabled, ixgbe_softc::link_speed, ixgbe_softc::link_up, and ixgbe_hw::mac.
Referenced by ixv_if_stop().
|
static |
Definition at line 1927 of file if_ixv.c.
References ixgbe_softc::feat_cap, ixgbe_softc::feat_en, ixgbe_softc::hw, IXGBE_FEATURE_LEGACY_TX, IXGBE_FEATURE_NEEDS_CTXD, IXGBE_FEATURE_NETMAP, IXGBE_FEATURE_RSS, IXGBE_FEATURE_VF, ixgbe_mac_82599_vf, ixgbe_mac_X540_vf, ixgbe_mac_X550_vf, ixgbe_mac_X550EM_a_vf, ixgbe_mac_X550EM_x_vf, ixgbe_hw::mac, and ixgbe_mac_info::type.
Referenced by ixv_if_attach_pre().
|
static |
Definition at line 1736 of file if_ixv.c.
References ixgbevf_hw_stats::base_vfgorc, ixgbevf_hw_stats::base_vfgotc, ixgbevf_hw_stats::base_vfgprc, ixgbevf_hw_stats::base_vfgptc, ixgbevf_hw_stats::base_vfmprc, ixgbe_softc::hw, IXGBE_READ_REG, IXGBE_VFGORC_LSB, IXGBE_VFGORC_MSB, IXGBE_VFGOTC_LSB, IXGBE_VFGOTC_MSB, IXGBE_VFGPRC, IXGBE_VFGPTC, IXGBE_VFMPRC, ixgbevf_hw_stats::last_vfgorc, ixgbevf_hw_stats::last_vfgotc, ixgbevf_hw_stats::last_vfgprc, ixgbevf_hw_stats::last_vfgptc, ixgbevf_hw_stats::last_vfmprc, ixgbe_softc::stats, and ixgbe_softc::vf.
Referenced by ixv_if_attach_post(), and ixv_if_init().
|
static |
Definition at line 1378 of file if_ixv.c.
References ixgbe_softc::ctx, ixgbe_softc::dev, ixgbe_softc::hw, ixgbe_mac_X550_vf, IXGBE_PSRTYPE_IPV4HDR, IXGBE_PSRTYPE_IPV6HDR, IXGBE_PSRTYPE_L2HDR, IXGBE_PSRTYPE_TCPHDR, IXGBE_PSRTYPE_UDPHDR, IXGBE_READ_REG, IXGBE_RXDCTL_ENABLE, IXGBE_RXDCTL_VME, IXGBE_SRRCTL_BSIZEPKT_SHIFT, IXGBE_SRRCTL_DESCTYPE_ADV_ONEBUF, IXGBE_VFPSRTYPE, IXGBE_VFRDBAH, IXGBE_VFRDBAL, IXGBE_VFRDH, IXGBE_VFRDLEN, IXGBE_VFRDT, IXGBE_VFRXDCTL, IXGBE_VFSRRCTL, IXGBE_WRITE_REG, ixgbevf_rlpml_set_vf(), ixv_initialize_rss_mapping(), ixgbe_hw::mac, rx_ring::me, msec_delay, rx_ring::que, rx_ring::rx_paddr, ixgbe_softc::rx_queues, ix_rx_queue::rxr, ix_rx_queue::sc, ixgbe_softc::shared, rx_ring::tail, ixgbe_mac_info::type, and wmb.
Referenced by ixv_if_init().
|
static |
Definition at line 1285 of file if_ixv.c.
References ixgbe_softc::dev, ixgbe_softc::feat_en, ixgbe_softc::hw, IXGBE_FEATURE_RSS, 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_TCP, IXGBE_MRQC_RSS_FIELD_IPV6_UDP, IXGBE_MRQC_RSSEN, IXGBE_VFMRQC, IXGBE_VFRETA, IXGBE_VFRSSRK, IXGBE_WRITE_REG, 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, and RSS_HASHTYPE_RSS_UDP_IPV6_EX.
Referenced by ixv_initialize_receive_units().
|
static |
Definition at line 1226 of file if_ixv.c.
References ixgbe_softc::ctx, ixgbe_softc::hw, IXGBE_READ_REG, IXGBE_TXDCTL_ENABLE, IXGBE_VFDCA_TXCTRL, IXGBE_VFTDBAH, IXGBE_VFTDBAL, IXGBE_VFTDH, IXGBE_VFTDLEN, IXGBE_VFTDT, IXGBE_VFTXDCTL, IXGBE_WRITE_REG, tx_ring::me, 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, and ix_tx_queue::txr.
Referenced by ixv_if_init().
Definition at line 878 of file if_ixv.c.
References IXGBE_ETH_LENGTH_OF_ADDRESS.
Referenced by ixv_if_multi_set().
|
static |
Definition at line 722 of file if_ixv.c.
References ixgbe_softc::ctx, ixgbe_softc::hw, IXGBE_EICR_LSC, IXGBE_EIMS_OTHER, IXGBE_READ_REG, IXGBE_VTEICR, IXGBE_VTEICS, IXGBE_VTEIMS, IXGBE_WRITE_REG, and ixgbe_softc::link_irq.
Referenced by ixv_if_msix_intr_assign().
|
static |
Definition at line 707 of file if_ixv.c.
References ix_rx_queue::irqs, ixv_disable_queue(), ix_rx_queue::msix, and ix_rx_queue::sc.
Referenced by ixv_if_msix_intr_assign().
|
static |
Definition at line 819 of file if_ixv.c.
References ixgbe_softc::hw, ixgbe_mbox_api_10, ixgbe_mbox_api_11, ixgbe_mbox_api_12, ixgbe_mbox_api_unknown, and ixgbevf_negotiate_api_version().
Referenced by ixv_if_attach_pre(), and ixv_if_init().
|
static |
Definition at line 1889 of file if_ixv.c.
References ixgbe_softc::dev, ixgbe_softc::hw, IXGBE_ERRBC, IXGBE_READ_REG, ixgbe_softc::link_irq, and rx_ring::sc.
Referenced by ixv_sysctl_debug().
|
static |
Definition at line 237 of file if_ixv.c.
References ixv_sctx_init.
|
static |
Definition at line 1716 of file if_ixv.c.
References ixgbevf_hw_stats::base_vfgorc, ixgbevf_hw_stats::base_vfgotc, ixgbevf_hw_stats::base_vfgprc, ixgbevf_hw_stats::base_vfgptc, ixgbevf_hw_stats::base_vfmprc, ixgbevf_hw_stats::saved_reset_vfgorc, ixgbevf_hw_stats::saved_reset_vfgotc, ixgbevf_hw_stats::saved_reset_vfgprc, ixgbevf_hw_stats::saved_reset_vfgptc, ixgbevf_hw_stats::saved_reset_vfmprc, ix_rx_queue::sc, ixgbe_softc::stats, ixgbe_softc::vf, ixgbevf_hw_stats::vfgorc, ixgbevf_hw_stats::vfgotc, ixgbevf_hw_stats::vfgprc, ixgbevf_hw_stats::vfgptc, and ixgbevf_hw_stats::vfmprc.
Referenced by ixv_if_attach_post().
|
static |
Definition at line 1662 of file if_ixv.c.
References ixgbe_softc::hw, IXGBE_IVAR_ALLOC_VAL, IXGBE_READ_REG, IXGBE_VTIVAR, IXGBE_VTIVAR_MISC, and IXGBE_WRITE_REG.
Referenced by ixv_configure_ivars().
|
static |
Definition at line 1159 of file if_ixv.c.
References ixgbe_softc::ctx, INIT_DEBUGOUT, IXGBE_MTU_HDR, ixgbe_softc::media, and ixgbe_softc::shared.
Referenced by ixv_if_attach_post().
|
static |
Definition at line 1502 of file if_ixv.c.
References ixgbe_softc::ctx, ixgbe_softc::hw, IXGBE_READ_REG, IXGBE_RXDCTL_VME, IXGBE_VFRXDCTL, IXGBE_VFTA_SIZE, IXGBE_WRITE_REG, ixv_shadow_vfta, ixgbe_hw::mac, ixgbe_softc::num_vlans, ixgbe_mac_info::ops, ixgbe_softc::rx_queues, ix_rx_queue::rxr, ixgbe_mac_operations::set_vfta, and rx_ring::vtag_strip.
Referenced by ixv_if_init().
|
static |
Definition at line 1904 of file if_ixv.c.
References ixv_print_debug_info().
Referenced by ixv_if_attach_pre().
|
static |
Definition at line 1785 of file if_ixv.c.
References ixgbe_softc::hw, IXGBE_SET_IBYTES, IXGBE_SET_IMCASTS, IXGBE_SET_IPACKETS, IXGBE_SET_OBYTES, IXGBE_SET_OPACKETS, IXGBE_VFGORC_LSB, IXGBE_VFGORC_MSB, IXGBE_VFGOTC_LSB, IXGBE_VFGOTC_MSB, IXGBE_VFGPRC, IXGBE_VFGPTC, IXGBE_VFMPRC, ixgbevf_hw_stats::last_vfgorc, ixgbevf_hw_stats::last_vfgotc, ixgbevf_hw_stats::last_vfgprc, ixgbevf_hw_stats::last_vfgptc, ixgbevf_hw_stats::last_vfmprc, ixgbe_softc::stats, UPDATE_STAT_32, UPDATE_STAT_36, ixgbe_softc::vf, ixgbevf_hw_stats::vfgorc, ixgbevf_hw_stats::vfgotc, ixgbevf_hw_stats::vfgprc, ixgbevf_hw_stats::vfgptc, and ixgbevf_hw_stats::vfmprc.
Referenced by ixv_if_update_admin_status().
MODULE_DEPEND | ( | ixv | , |
ether | , | ||
1 | , | ||
1 | , | ||
1 | |||
) |
MODULE_DEPEND | ( | ixv | , |
iflib | , | ||
1 | , | ||
1 | , | ||
1 | |||
) |
MODULE_DEPEND | ( | ixv | , |
pci | , | ||
1 | , | ||
1 | , | ||
1 | |||
) |
TUNABLE_INT | ( | "hw.ixv.flow_control" | , |
& | ixv_flow_control | ||
) |
TUNABLE_INT | ( | "hw.ixv.hdr_split" | , |
& | ixv_header_split | ||
) |
|
extern |
Definition at line 62 of file ix_txrx.c.
Referenced by ixv_if_attach_pre().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 209 of file if_ixv.c.
Referenced by ixv_register().
|
static |
Definition at line 206 of file if_ixv.c.
Referenced by ixv_if_register_vlan(), ixv_if_unregister_vlan(), and ixv_setup_vlan_support().
|
static |