Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
efx_nic Struct Reference

#include <net_driver.h>

Data Fields

char name [IFNAMSIZ]
 
struct pci_devpci_dev
 
struct efx_nic_typetype
 
int legacy_irq
 
bool legacy_irq_enabled
 
struct workqueue_structworkqueue
 
char workqueue_name [16]
 
struct work_struct reset_work
 
resource_size_t membase_phys
 
void __iomemmembase
 
enum efx_int_mode interrupt_mode
 
unsigned int timer_quantum_ns
 
bool irq_rx_adaptive
 
unsigned int irq_rx_moderation
 
u32 msg_enable
 
enum nic_state state
 
unsigned long reset_pending
 
struct efx_channelchannel [EFX_MAX_CHANNELS]
 
char channel_name [EFX_MAX_CHANNELS][IFNAMSIZ+6]
 
struct efx_channel_typeextra_channel_type [EFX_MAX_EXTRA_CHANNELS]
 
unsigned rxq_entries
 
unsigned txq_entries
 
unsigned int txq_stop_thresh
 
unsigned int txq_wake_thresh
 
unsigned tx_dc_base
 
unsigned rx_dc_base
 
unsigned sram_lim_qw
 
unsigned next_buffer_table
 
unsigned n_channels
 
unsigned n_rx_channels
 
unsigned rss_spread
 
unsigned tx_channel_offset
 
unsigned n_tx_channels
 
unsigned int rx_buffer_len
 
unsigned int rx_buffer_order
 
u8 rx_hash_key [40]
 
u32 rx_indir_table [128]
 
unsigned int_error_count
 
unsigned long int_error_expire
 
struct efx_buffer irq_status
 
unsigned irq_zero_count
 
unsigned irq_level
 
struct delayed_work selftest_work
 
voidnic_data
 
struct mutex mac_lock
 
struct work_struct mac_work
 
bool port_enabled
 
bool port_initialized
 
struct net_devicenet_dev
 
struct efx_buffer stats_buffer
 
unsigned int phy_type
 
struct efx_phy_operationsphy_op
 
voidphy_data
 
struct mdio_if_info mdio
 
unsigned int mdio_bus
 
enum efx_phy_mode phy_mode
 
u32 link_advertising
 
struct efx_link_state link_state
 
unsigned int n_link_state_changes
 
bool promiscuous
 
union efx_multicast_hash multicast_hash
 
u8 wanted_fc
 
unsigned fc_disable
 
atomic_t rx_reset
 
enum efx_loopback_mode loopback_mode
 
u64 loopback_modes
 
voidloopback_selftest
 
struct efx_filter_statefilter_state
 
atomic_t drain_pending
 
atomic_t rxq_flush_pending
 
atomic_t rxq_flush_outstanding
 
wait_queue_head_t flush_wq
 
struct delayed_work monitor_work ____cacheline_aligned_in_smp
 
spinlock_t biu_lock
 
int last_irq_cpu
 
unsigned n_rx_nodesc_drop_cnt
 
struct efx_mac_stats mac_stats
 
spinlock_t stats_lock
 

Detailed Description

Definition at line 758 of file net_driver.h.

Field Documentation

struct delayed_work monitor_work ____cacheline_aligned_in_smp

Definition at line 877 of file net_driver.h.

spinlock_t biu_lock

Definition at line 878 of file net_driver.h.

Definition at line 781 of file net_driver.h.

char channel_name[EFX_MAX_CHANNELS][IFNAMSIZ+6]

Definition at line 782 of file net_driver.h.

atomic_t drain_pending

Definition at line 852 of file net_driver.h.

Definition at line 783 of file net_driver.h.

unsigned fc_disable

Definition at line 842 of file net_driver.h.

struct efx_filter_state* filter_state

Definition at line 850 of file net_driver.h.

Definition at line 855 of file net_driver.h.

unsigned int_error_count

Definition at line 805 of file net_driver.h.

unsigned long int_error_expire

Definition at line 806 of file net_driver.h.

enum efx_int_mode interrupt_mode

Definition at line 772 of file net_driver.h.

unsigned irq_level

Definition at line 810 of file net_driver.h.

bool irq_rx_adaptive

Definition at line 774 of file net_driver.h.

unsigned int irq_rx_moderation

Definition at line 775 of file net_driver.h.

struct efx_buffer irq_status

Definition at line 808 of file net_driver.h.

unsigned irq_zero_count

Definition at line 809 of file net_driver.h.

int last_irq_cpu

Definition at line 879 of file net_driver.h.

int legacy_irq

Definition at line 764 of file net_driver.h.

bool legacy_irq_enabled

Definition at line 765 of file net_driver.h.

u32 link_advertising

Definition at line 835 of file net_driver.h.

Definition at line 836 of file net_driver.h.

enum efx_loopback_mode loopback_mode

Definition at line 845 of file net_driver.h.

u64 loopback_modes

Definition at line 846 of file net_driver.h.

void* loopback_selftest

Definition at line 848 of file net_driver.h.

struct mutex mac_lock

Definition at line 819 of file net_driver.h.

Definition at line 881 of file net_driver.h.

struct work_struct mac_work

Definition at line 820 of file net_driver.h.

Definition at line 831 of file net_driver.h.

unsigned int mdio_bus

Definition at line 832 of file net_driver.h.

void __iomem* membase

Definition at line 770 of file net_driver.h.

resource_size_t membase_phys

Definition at line 769 of file net_driver.h.

u32 msg_enable

Definition at line 776 of file net_driver.h.

union efx_multicast_hash multicast_hash

Definition at line 840 of file net_driver.h.

unsigned n_channels

Definition at line 795 of file net_driver.h.

unsigned int n_link_state_changes

Definition at line 837 of file net_driver.h.

unsigned n_rx_channels

Definition at line 796 of file net_driver.h.

unsigned n_rx_nodesc_drop_cnt

Definition at line 880 of file net_driver.h.

unsigned n_tx_channels

Definition at line 799 of file net_driver.h.

char name[IFNAMSIZ]

Definition at line 761 of file net_driver.h.

struct net_device* net_dev

Definition at line 824 of file net_driver.h.

unsigned next_buffer_table

Definition at line 794 of file net_driver.h.

void* nic_data

Definition at line 817 of file net_driver.h.

Definition at line 762 of file net_driver.h.

void* phy_data

Definition at line 830 of file net_driver.h.

enum efx_phy_mode phy_mode

Definition at line 833 of file net_driver.h.

Definition at line 829 of file net_driver.h.

unsigned int phy_type

Definition at line 828 of file net_driver.h.

bool port_enabled

Definition at line 821 of file net_driver.h.

bool port_initialized

Definition at line 823 of file net_driver.h.

bool promiscuous

Definition at line 839 of file net_driver.h.

unsigned long reset_pending

Definition at line 779 of file net_driver.h.

struct work_struct reset_work

Definition at line 768 of file net_driver.h.

unsigned rss_spread

Definition at line 797 of file net_driver.h.

unsigned int rx_buffer_len

Definition at line 800 of file net_driver.h.

unsigned int rx_buffer_order

Definition at line 801 of file net_driver.h.

unsigned rx_dc_base

Definition at line 792 of file net_driver.h.

u8 rx_hash_key[40]

Definition at line 802 of file net_driver.h.

u32 rx_indir_table[128]

Definition at line 803 of file net_driver.h.

atomic_t rx_reset

Definition at line 844 of file net_driver.h.

unsigned rxq_entries

Definition at line 786 of file net_driver.h.

atomic_t rxq_flush_outstanding

Definition at line 854 of file net_driver.h.

atomic_t rxq_flush_pending

Definition at line 853 of file net_driver.h.

struct delayed_work selftest_work

Definition at line 811 of file net_driver.h.

unsigned sram_lim_qw

Definition at line 793 of file net_driver.h.

Definition at line 778 of file net_driver.h.

struct efx_buffer stats_buffer

Definition at line 826 of file net_driver.h.

spinlock_t stats_lock

Definition at line 882 of file net_driver.h.

unsigned int timer_quantum_ns

Definition at line 773 of file net_driver.h.

unsigned tx_channel_offset

Definition at line 798 of file net_driver.h.

unsigned tx_dc_base

Definition at line 791 of file net_driver.h.

unsigned txq_entries

Definition at line 787 of file net_driver.h.

unsigned int txq_stop_thresh

Definition at line 788 of file net_driver.h.

unsigned int txq_wake_thresh

Definition at line 789 of file net_driver.h.

Definition at line 763 of file net_driver.h.

u8 wanted_fc

Definition at line 841 of file net_driver.h.

Definition at line 766 of file net_driver.h.

char workqueue_name[16]

Definition at line 767 of file net_driver.h.


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