FreeBSD kernel IXGBE device code
ixgbe_softc Struct Reference

#include <ixgbe.h>

Collaboration diagram for ixgbe_softc:

Data Fields

struct ixgbe_hw hw
 
struct ixgbe_osdep osdep
 
if_ctx_t ctx
 
if_softc_ctx_t shared
 
device_t dev
 
struct ifnet * ifp
 
struct resource * pci_mem
 
struct if_irq irq
 
void * tag
 
struct resource * res
 
struct ifmedia * media
 
int if_flags
 
int msix
 
u16 num_vlans
 
u32 shadow_vfta [IXGBE_VFTA_SIZE]
 
int advertise
 
int enable_aim
 
bool link_active
 
u16 num_segs
 
u32 link_speed
 
bool link_up
 
bool link_enabled
 
u32 vector
 
u16 dmac
 
u32 phy_layer
 
bool wol_support
 
u32 wufc
 
u32 rx_mbuf_sz
 
bool sfp_probe
 
int fdir_reinit
 
u32 task_requests
 
struct ix_tx_queuetx_queues
 
struct ix_rx_queuerx_queues
 
struct ixgbe_mc_addrmta
 
int iov_mode
 
int num_vfs
 
int pool
 
struct ixgbe_vfvfs
 
struct ixgbe_bp_data bypass
 
unsigned long dropped_pkts
 
unsigned long mbuf_header_failed
 
unsigned long mbuf_packet_failed
 
unsigned long watchdog_events
 
unsigned long link_irq
 
union {
   struct ixgbe_hw_stats   pf
 
   struct ixgbevf_hw_stats   vf
 
stats
 
u64 ipackets
 
u64 ierrors
 
u64 opackets
 
u64 oerrors
 
u64 ibytes
 
u64 obytes
 
u64 imcasts
 
u64 omcasts
 
u64 iqdrops
 
u64 noproto
 
u32 feat_cap
 
u32 feat_en
 

Detailed Description

Definition at line 352 of file ixgbe.h.

Field Documentation

◆ advertise

int ixgbe_softc::advertise

◆ bypass

◆ ctx

if_ctx_t ixgbe_softc::ctx

Definition at line 355 of file ixgbe.h.

Referenced by ixgbe_add_device_sysctls(), ixgbe_add_hw_stats(), ixgbe_add_media_types(), ixgbe_allocate_pci_resources(), ixgbe_config_link(), ixgbe_free_pci_resources(), ixgbe_get_slot_info(), ixgbe_handle_mod(), ixgbe_handle_msf(), ixgbe_handle_phy(), ixgbe_if_attach_pre(), ixgbe_if_crcstrip_set(), ixgbe_if_detach(), ixgbe_if_disable_intr(), ixgbe_if_enable_intr(), ixgbe_if_get_counter(), ixgbe_if_i2c_req(), ixgbe_if_init(), ixgbe_if_media_change(), ixgbe_if_media_status(), ixgbe_if_msix_intr_assign(), ixgbe_if_mtu_set(), ixgbe_if_multi_set(), ixgbe_if_promisc_set(), ixgbe_if_queues_free(), ixgbe_if_resume(), ixgbe_if_rx_queue_intr_enable(), ixgbe_if_rx_queues_alloc(), ixgbe_if_stop(), ixgbe_if_timer(), ixgbe_if_tx_queues_alloc(), ixgbe_if_update_admin_status(), ixgbe_if_vlan_register(), ixgbe_if_vlan_unregister(), ixgbe_initialize_receive_units(), ixgbe_initialize_transmit_units(), ixgbe_intr(), ixgbe_link_intr_enable(), ixgbe_msix_link(), ixgbe_msix_que(), ixgbe_print_fw_version(), ixgbe_set_advertise(), ixgbe_setup_interface(), ixgbe_setup_low_power_mode(), ixgbe_setup_vlan_hw_support(), ixgbe_sfp_probe(), ixgbe_sysctl_dmac(), ixgbe_sysctl_eee_state(), ixgbe_sysctl_phy_overtemp_occurred(), ixgbe_sysctl_phy_temp(), ixv_allocate_pci_resources(), ixv_free_pci_resources(), ixv_identify_hardware(), ixv_if_attach_post(), ixv_if_attach_pre(), ixv_if_detach(), ixv_if_disable_intr(), ixv_if_enable_intr(), ixv_if_get_counter(), ixv_if_init(), ixv_if_media_change(), ixv_if_media_status(), ixv_if_msix_intr_assign(), ixv_if_mtu_set(), ixv_if_multi_set(), ixv_if_queues_free(), ixv_if_register_vlan(), ixv_if_rx_queue_intr_enable(), ixv_if_rx_queues_alloc(), ixv_if_stop(), ixv_if_tx_queues_alloc(), ixv_if_unregister_vlan(), ixv_if_update_admin_status(), ixv_initialize_receive_units(), ixv_initialize_transmit_units(), ixv_msix_mbx(), ixv_setup_interface(), and ixv_setup_vlan_support().

◆ dev

◆ dmac

u16 ixgbe_softc::dmac

◆ dropped_pkts

unsigned long ixgbe_softc::dropped_pkts

Definition at line 439 of file ixgbe.h.

Referenced by ixgbe_add_hw_stats().

◆ enable_aim

int ixgbe_softc::enable_aim

Definition at line 392 of file ixgbe.h.

Referenced by ixgbe_add_device_sysctls(), and ixgbe_msix_que().

◆ fdir_reinit

int ixgbe_softc::fdir_reinit

Definition at line 413 of file ixgbe.h.

Referenced by ixgbe_msix_link().

◆ feat_cap

◆ feat_en

◆ hw

struct ixgbe_hw ixgbe_softc::hw

Definition at line 353 of file ixgbe.h.

Referenced by ixgbe_add_device_sysctls(), ixgbe_add_media_types(), ixgbe_allocate_pci_resources(), ixgbe_bp_aux_off(), ixgbe_bp_aux_on(), ixgbe_bp_log(), ixgbe_bp_main_off(), ixgbe_bp_main_on(), ixgbe_bp_set_state(), ixgbe_bp_timeout(), ixgbe_bp_version(), ixgbe_bp_wd_reset(), ixgbe_bp_wd_set(), ixgbe_bypass_init(), ixgbe_check_fan_failure(), ixgbe_check_wol_support(), ixgbe_config_delay_values(), ixgbe_config_dmac(), ixgbe_config_gpie(), ixgbe_config_link(), ixgbe_configure_ivars(), ixgbe_disable_queue(), ixgbe_disable_rx_drop(), ixgbe_enable_queue(), ixgbe_enable_rx_drop(), ixgbe_get_default_advertise(), ixgbe_get_slot_info(), ixgbe_handle_mod(), ixgbe_handle_msf(), ixgbe_handle_phy(), ixgbe_if_attach_post(), ixgbe_if_attach_pre(), ixgbe_if_crcstrip_set(), ixgbe_if_detach(), ixgbe_if_disable_intr(), ixgbe_if_enable_intr(), ixgbe_if_i2c_req(), ixgbe_if_init(), ixgbe_if_media_change(), ixgbe_if_media_status(), ixgbe_if_multi_set(), ixgbe_if_promisc_set(), ixgbe_if_resume(), ixgbe_if_stop(), ixgbe_if_timer(), ixgbe_if_update_admin_status(), ixgbe_init_device_features(), ixgbe_initialize_receive_units(), ixgbe_initialize_rss_mapping(), ixgbe_initialize_transmit_units(), ixgbe_intr(), ixgbe_isc_rxd_flush(), ixgbe_isc_txd_flush(), ixgbe_link_intr_enable(), ixgbe_msix_link(), ixgbe_perform_aim(), ixgbe_print_fw_version(), ixgbe_set_advertise(), ixgbe_set_flowcntl(), ixgbe_set_ivar(), ixgbe_setup_interface(), ixgbe_setup_low_power_mode(), ixgbe_setup_vlan_hw_support(), ixgbe_sfp_probe(), ixgbe_sysctl_eee_state(), ixgbe_sysctl_flowcntl(), ixgbe_sysctl_interrupt_rate_handler(), ixgbe_sysctl_phy_overtemp_occurred(), ixgbe_sysctl_phy_temp(), ixgbe_sysctl_print_fw_version(), ixgbe_sysctl_rdh_handler(), ixgbe_sysctl_rdt_handler(), ixgbe_sysctl_tdh_handler(), ixgbe_sysctl_tdt_handler(), ixgbe_sysctl_wol_enable(), ixgbe_update_stats_counters(), ixv_allocate_pci_resources(), ixv_configure_ivars(), ixv_disable_queue(), ixv_enable_queue(), ixv_identify_hardware(), ixv_if_attach_pre(), ixv_if_disable_intr(), ixv_if_enable_intr(), ixv_if_init(), ixv_if_msix_intr_assign(), ixv_if_multi_set(), ixv_if_stop(), ixv_if_update_admin_status(), ixv_init_device_features(), ixv_init_stats(), ixv_initialize_receive_units(), ixv_initialize_rss_mapping(), ixv_initialize_transmit_units(), ixv_msix_mbx(), ixv_negotiate_api(), ixv_print_debug_info(), ixv_set_ivar(), ixv_setup_vlan_support(), and ixv_update_stats().

◆ ibytes

u64 ixgbe_softc::ibytes

Definition at line 454 of file ixgbe.h.

Referenced by ixgbe_if_get_counter(), and ixv_if_get_counter().

◆ ierrors

u64 ixgbe_softc::ierrors

Definition at line 451 of file ixgbe.h.

Referenced by ixgbe_add_hw_stats(), and ixgbe_if_get_counter().

◆ if_flags

int ixgbe_softc::if_flags

Definition at line 377 of file ixgbe.h.

◆ ifp

struct ifnet* ixgbe_softc::ifp

Definition at line 363 of file ixgbe.h.

Referenced by ixgbe_if_get_counter(), ixgbe_setup_interface(), and ixv_if_get_counter().

◆ imcasts

u64 ixgbe_softc::imcasts

Definition at line 456 of file ixgbe.h.

Referenced by ixgbe_if_get_counter(), and ixv_if_get_counter().

◆ iov_mode

◆ ipackets

u64 ixgbe_softc::ipackets

Definition at line 450 of file ixgbe.h.

Referenced by ixgbe_if_get_counter(), and ixv_if_get_counter().

◆ iqdrops

u64 ixgbe_softc::iqdrops

Definition at line 458 of file ixgbe.h.

Referenced by ixgbe_if_get_counter().

◆ irq

struct if_irq ixgbe_softc::irq

◆ link_active

bool ixgbe_softc::link_active

◆ link_enabled

bool ixgbe_softc::link_enabled

Definition at line 397 of file ixgbe.h.

Referenced by ixv_if_attach_pre(), ixv_if_init(), and ixv_if_update_admin_status().

◆ link_irq

unsigned long ixgbe_softc::link_irq

◆ link_speed

◆ link_up

◆ mbuf_header_failed

unsigned long ixgbe_softc::mbuf_header_failed

Definition at line 440 of file ixgbe.h.

◆ mbuf_packet_failed

unsigned long ixgbe_softc::mbuf_packet_failed

Definition at line 441 of file ixgbe.h.

◆ media

struct ifmedia* ixgbe_softc::media

◆ msix

int ixgbe_softc::msix

Definition at line 378 of file ixgbe.h.

◆ mta

struct ixgbe_mc_addr* ixgbe_softc::mta

◆ noproto

u64 ixgbe_softc::noproto

Definition at line 459 of file ixgbe.h.

◆ num_segs

u16 ixgbe_softc::num_segs

Definition at line 394 of file ixgbe.h.

◆ num_vfs

int ixgbe_softc::num_vfs

Definition at line 431 of file ixgbe.h.

Referenced by ixgbe_disable_rx_drop(), and ixgbe_enable_rx_drop().

◆ num_vlans

◆ obytes

u64 ixgbe_softc::obytes

Definition at line 455 of file ixgbe.h.

Referenced by ixgbe_if_get_counter(), and ixv_if_get_counter().

◆ oerrors

u64 ixgbe_softc::oerrors

Definition at line 453 of file ixgbe.h.

◆ omcasts

u64 ixgbe_softc::omcasts

Definition at line 457 of file ixgbe.h.

Referenced by ixgbe_if_get_counter().

◆ opackets

u64 ixgbe_softc::opackets

Definition at line 452 of file ixgbe.h.

Referenced by ixgbe_if_get_counter(), and ixv_if_get_counter().

◆ osdep

struct ixgbe_osdep ixgbe_softc::osdep

Definition at line 354 of file ixgbe.h.

Referenced by ixgbe_allocate_pci_resources(), and ixv_allocate_pci_resources().

◆ pci_mem

struct resource* ixgbe_softc::pci_mem

◆ pf

struct ixgbe_hw_stats ixgbe_softc::pf

Definition at line 445 of file ixgbe.h.

Referenced by ixgbe_add_hw_stats(), and ixgbe_update_stats_counters().

◆ phy_layer

u32 ixgbe_softc::phy_layer

◆ pool

int ixgbe_softc::pool

◆ res

struct resource* ixgbe_softc::res

Definition at line 374 of file ixgbe.h.

◆ rx_mbuf_sz

u32 ixgbe_softc::rx_mbuf_sz

Definition at line 407 of file ixgbe.h.

Referenced by ixgbe_if_init(), ixgbe_initialize_receive_units(), and ixv_if_init().

◆ rx_queues

◆ sfp_probe

bool ixgbe_softc::sfp_probe

Definition at line 410 of file ixgbe.h.

Referenced by ixgbe_if_attach_pre(), ixgbe_if_timer(), and ixgbe_sfp_probe().

◆ shadow_vfta

u32 ixgbe_softc::shadow_vfta[IXGBE_VFTA_SIZE]

◆ shared

◆ 

◆ tag

void* ixgbe_softc::tag

Definition at line 373 of file ixgbe.h.

◆ task_requests

u32 ixgbe_softc::task_requests

◆ tx_queues

◆ vector

◆ vf

struct ixgbevf_hw_stats ixgbe_softc::vf

Definition at line 446 of file ixgbe.h.

Referenced by ixv_add_stats_sysctls(), ixv_init_stats(), ixv_save_stats(), and ixv_update_stats().

◆ vfs

struct ixgbe_vf* ixgbe_softc::vfs

Definition at line 433 of file ixgbe.h.

◆ watchdog_events

unsigned long ixgbe_softc::watchdog_events

Definition at line 442 of file ixgbe.h.

Referenced by ixgbe_add_hw_stats(), and ixv_add_stats_sysctls().

◆ wol_support

bool ixgbe_softc::wol_support

Definition at line 403 of file ixgbe.h.

Referenced by ixgbe_check_wol_support(), and ixgbe_sysctl_wol_enable().

◆ wufc

u32 ixgbe_softc::wufc

Definition at line 404 of file ixgbe.h.

Referenced by ixgbe_check_wol_support(), ixgbe_setup_low_power_mode(), and ixgbe_sysctl_wufc().


The documentation for this struct was generated from the following file: