FreeBSD kernel E1000 device code
e1000_softc Struct Reference

#include <if_em.h>

Collaboration diagram for e1000_softc:

Data Fields

struct e1000_hw hw
 
if_softc_ctx_t shared
 
if_ctx_t ctx
 
struct e1000_osdep osdep
 
device_t dev
 
struct cdev * led_dev
 
struct em_tx_queuetx_queues
 
struct em_rx_queuerx_queues
 
struct if_irq irq
 
struct resource * memory
 
struct resource * flash
 
struct resource * ioport
 
struct resource * res
 
void * tag
 
u32 linkvec
 
u32 ivars
 
struct ifmedia * media
 
int msix
 
int if_flags
 
int em_insert_vlan_header
 
u32 ims
 
bool in_detach
 
u32 flags
 
struct grouptask link_task
 
u16 num_vlans
 
u32 txd_cmd
 
u32 tx_process_limit
 
u32 rx_process_limit
 
u32 rx_mbuf_sz
 
u32 wol
 
bool has_manage
 
bool has_amt
 
u8mta
 
u32 shadow_vfta [EM_VFTA_SIZE]
 
u16 link_active
 
u16 fc
 
u16 link_speed
 
u16 link_duplex
 
u32 smartspeed
 
u32 dmac
 
int link_mask
 
u64 que_mask
 
struct e1000_fw_version fw_ver
 
struct em_int_delay_info tx_int_delay
 
struct em_int_delay_info tx_abs_int_delay
 
struct em_int_delay_info rx_int_delay
 
struct em_int_delay_info rx_abs_int_delay
 
struct em_int_delay_info tx_itr
 
unsigned long dropped_pkts
 
unsigned long link_irq
 
unsigned long rx_overruns
 
unsigned long watchdog_events
 
struct e1000_hw_stats stats
 
u16 vf_ifp
 

Detailed Description

Definition at line 441 of file if_em.h.

Field Documentation

◆ ctx

◆ dev

◆ dmac

u32 e1000_softc::dmac

Definition at line 507 of file if_em.h.

Referenced by igb_init_dmac().

◆ dropped_pkts

unsigned long e1000_softc::dropped_pkts

◆ em_insert_vlan_header

int e1000_softc::em_insert_vlan_header

Definition at line 470 of file if_em.h.

◆ fc

u16 e1000_softc::fc

Definition at line 503 of file if_em.h.

Referenced by em_initialize_receive_unit(), em_reset(), and em_set_flowcntl().

◆ flags

u32 e1000_softc::flags

Definition at line 474 of file if_em.h.

Referenced by em_if_update_admin_status(), and em_reset().

◆ flash

struct resource* e1000_softc::flash

Definition at line 459 of file if_em.h.

Referenced by em_free_pci_resources(), and em_if_attach_pre().

◆ fw_ver

struct e1000_fw_version e1000_softc::fw_ver

Definition at line 513 of file if_em.h.

Referenced by em_fw_version_locked(), em_print_fw_version(), and em_sysctl_print_fw_version().

◆ has_amt

bool e1000_softc::has_amt

Definition at line 488 of file if_em.h.

Referenced by em_get_wakeup(), em_if_attach_post(), and em_if_init().

◆ has_manage

bool e1000_softc::has_manage

◆ hw

struct e1000_hw e1000_softc::hw

Definition at line 442 of file if_em.h.

Referenced by em_add_hw_stats(), em_allocate_pci_resources(), em_disable_aspm(), em_enable_phy_wakeup(), em_enable_vectors_82574(), em_enable_wakeup(), em_fw_version_locked(), em_get_hw_control(), em_get_regs(), em_get_wakeup(), em_handle_link(), em_identify_hardware(), em_if_attach_post(), em_if_attach_pre(), em_if_detach(), em_if_init(), em_if_intr_disable(), em_if_intr_enable(), em_if_led_func(), em_if_media_change(), em_if_media_status(), em_if_msix_intr_assign(), em_if_mtu_set(), em_if_multi_set(), em_if_resume(), em_if_rx_queue_intr_enable(), em_if_set_promisc(), em_if_stop(), em_if_tx_queue_intr_enable(), em_if_update_admin_status(), em_if_vlan_filter_disable(), em_if_vlan_filter_enable(), em_if_vlan_filter_write(), em_init_manageability(), em_initialize_receive_unit(), em_initialize_rss_mapping(), em_initialize_transmit_unit(), em_intr(), em_isc_rxd_flush(), em_isc_txd_flush(), em_msix_link(), em_print_debug_info(), em_print_nvm_info(), em_release_hw_control(), em_release_manageability(), em_reset(), em_set_flowcntl(), em_set_num_queues(), em_setup_interface(), em_setup_msix(), em_setup_vlan_hw_support(), em_sysctl_eee(), em_sysctl_int_delay(), em_sysctl_reg_handler(), em_update_stats_counters(), igb_configure_queues(), igb_if_intr_disable(), igb_if_intr_enable(), igb_if_rx_queue_intr_enable(), igb_if_tx_queue_intr_enable(), igb_init_dmac(), igb_initialize_rss_mapping(), igb_isc_rxd_flush(), igb_isc_rxd_pkt_get(), igb_isc_txd_encap(), igb_isc_txd_flush(), igb_tso_setup(), igb_tx_ctx_setup(), lem_isc_rxd_pkt_get(), and lem_smartspeed().

◆ if_flags

int e1000_softc::if_flags

Definition at line 469 of file if_em.h.

◆ ims

u32 e1000_softc::ims

Definition at line 471 of file if_em.h.

Referenced by em_if_intr_enable(), em_if_msix_intr_assign(), and em_msix_link().

◆ in_detach

bool e1000_softc::in_detach

Definition at line 472 of file if_em.h.

◆ ioport

struct resource* e1000_softc::ioport

Definition at line 460 of file if_em.h.

Referenced by em_allocate_pci_resources(), and em_free_pci_resources().

◆ irq

struct if_irq e1000_softc::irq

Definition at line 456 of file if_em.h.

Referenced by em_free_pci_resources(), and em_if_msix_intr_assign().

◆ ivars

u32 e1000_softc::ivars

Definition at line 465 of file if_em.h.

Referenced by em_if_init(), and em_if_msix_intr_assign().

◆ led_dev

struct cdev* e1000_softc::led_dev

Definition at line 452 of file if_em.h.

◆ link_active

u16 e1000_softc::link_active

Definition at line 502 of file if_em.h.

Referenced by em_if_media_status(), em_if_update_admin_status(), and lem_smartspeed().

◆ link_duplex

u16 e1000_softc::link_duplex

Definition at line 505 of file if_em.h.

Referenced by em_if_media_status(), and em_if_update_admin_status().

◆ link_irq

unsigned long e1000_softc::link_irq

Definition at line 523 of file if_em.h.

Referenced by em_add_hw_stats(), and em_msix_link().

◆ link_mask

int e1000_softc::link_mask

Definition at line 508 of file if_em.h.

Referenced by em_msix_link(), igb_configure_queues(), and igb_if_intr_enable().

◆ link_speed

u16 e1000_softc::link_speed

Definition at line 504 of file if_em.h.

Referenced by em_if_media_status(), and em_if_update_admin_status().

◆ link_task

struct grouptask e1000_softc::link_task

Definition at line 476 of file if_em.h.

◆ linkvec

u32 e1000_softc::linkvec

Definition at line 464 of file if_em.h.

Referenced by em_if_msix_intr_assign(), and igb_configure_queues().

◆ media

struct ifmedia* e1000_softc::media

Definition at line 467 of file if_em.h.

Referenced by em_if_attach_pre(), and em_setup_interface().

◆ memory

struct resource* e1000_softc::memory

Definition at line 458 of file if_em.h.

Referenced by em_allocate_pci_resources(), and em_free_pci_resources().

◆ msix

int e1000_softc::msix

Definition at line 468 of file if_em.h.

◆ mta

u8* e1000_softc::mta

Definition at line 491 of file if_em.h.

Referenced by em_if_attach_pre(), em_if_detach(), and em_if_multi_set().

◆ num_vlans

u16 e1000_softc::num_vlans

Definition at line 478 of file if_em.h.

Referenced by em_if_vlan_register(), and em_if_vlan_unregister().

◆ osdep

struct e1000_osdep e1000_softc::osdep

Definition at line 450 of file if_em.h.

Referenced by em_allocate_pci_resources(), and em_if_attach_pre().

◆ que_mask

u64 e1000_softc::que_mask

Definition at line 510 of file if_em.h.

Referenced by igb_configure_queues(), and igb_if_intr_enable().

◆ res

struct resource* e1000_softc::res

Definition at line 462 of file if_em.h.

◆ rx_abs_int_delay

struct em_int_delay_info e1000_softc::rx_abs_int_delay

Definition at line 518 of file if_em.h.

Referenced by em_if_attach_pre(), and em_initialize_receive_unit().

◆ rx_int_delay

struct em_int_delay_info e1000_softc::rx_int_delay

Definition at line 517 of file if_em.h.

Referenced by em_if_attach_pre(), and em_initialize_receive_unit().

◆ rx_mbuf_sz

u32 e1000_softc::rx_mbuf_sz

Definition at line 483 of file if_em.h.

Referenced by em_if_init(), and em_initialize_receive_unit().

◆ rx_overruns

unsigned long e1000_softc::rx_overruns

Definition at line 524 of file if_em.h.

Referenced by em_add_hw_stats(), em_intr(), and em_msix_link().

◆ rx_process_limit

u32 e1000_softc::rx_process_limit

Definition at line 482 of file if_em.h.

◆ rx_queues

◆ shadow_vfta

u32 e1000_softc::shadow_vfta[EM_VFTA_SIZE]

◆ shared

◆ smartspeed

u32 e1000_softc::smartspeed

Definition at line 506 of file if_em.h.

Referenced by em_if_update_admin_status(), and lem_smartspeed().

◆ stats

struct e1000_hw_stats e1000_softc::stats

Definition at line 527 of file if_em.h.

Referenced by em_add_hw_stats(), em_if_get_counter(), and em_update_stats_counters().

◆ tag

void* e1000_softc::tag

Definition at line 463 of file if_em.h.

◆ tx_abs_int_delay

struct em_int_delay_info e1000_softc::tx_abs_int_delay

Definition at line 516 of file if_em.h.

Referenced by em_if_attach_pre(), and em_initialize_transmit_unit().

◆ tx_int_delay

struct em_int_delay_info e1000_softc::tx_int_delay

Definition at line 515 of file if_em.h.

Referenced by em_if_attach_pre(), and em_initialize_transmit_unit().

◆ tx_itr

struct em_int_delay_info e1000_softc::tx_itr

Definition at line 519 of file if_em.h.

Referenced by em_if_attach_pre().

◆ tx_process_limit

u32 e1000_softc::tx_process_limit

Definition at line 481 of file if_em.h.

Referenced by em_if_attach_pre().

◆ tx_queues

◆ txd_cmd

◆ vf_ifp

◆ watchdog_events

unsigned long e1000_softc::watchdog_events

Definition at line 525 of file if_em.h.

Referenced by em_add_hw_stats(), em_if_get_counter(), and em_if_watchdog_reset().

◆ wol

u32 e1000_softc::wol

Definition at line 486 of file if_em.h.

Referenced by em_enable_phy_wakeup(), em_enable_wakeup(), em_get_wakeup(), and em_if_attach_pre().


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