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

#include <netxen_nic.h>

Data Fields

struct netxen_hardware_context ahw
 
struct net_devicenetdev
 
struct pci_devpdev
 
struct list_head mac_list
 
struct list_head vlan_ip_list
 
spinlock_t tx_clean_lock
 
u16 num_txd
 
u16 num_rxd
 
u16 num_jumbo_rxd
 
u16 num_lro_rxd
 
u8 max_rds_rings
 
u8 max_sds_rings
 
u8 driver_mismatch
 
u8 msix_supported
 
u8 __pad
 
u8 pci_using_dac
 
u8 portnum
 
u8 physical_port
 
u8 mc_enabled
 
u8 max_mc_count
 
u8 rss_supported
 
u8 link_changed
 
u8 fw_wait_cnt
 
u8 fw_fail_cnt
 
u8 tx_timeo_cnt
 
u8 need_fw_reset
 
u8 has_link_events
 
u8 fw_type
 
u16 tx_context_id
 
u16 mtu
 
u16 is_up
 
u16 link_speed
 
u16 link_duplex
 
u16 link_autoneg
 
u16 module_type
 
u32 capabilities
 
u32 flags
 
u32 irq
 
u32 temp
 
u32 int_vec_bit
 
u32 heartbit
 
u8 mac_addr [ETH_ALEN]
 
struct netxen_adapter_stats stats
 
struct netxen_recv_context recv_ctx
 
struct nx_host_tx_ringtx_ring
 
int(* macaddr_set )(struct netxen_adapter *, u8 *)
 
int(* set_mtu )(struct netxen_adapter *, int)
 
int(* set_promisc )(struct netxen_adapter *, u32)
 
void(* set_multi )(struct net_device *)
 
int(* phy_read )(struct netxen_adapter *, u32 reg, u32 *)
 
int(* phy_write )(struct netxen_adapter *, u32 reg, u32 val)
 
int(* init_port )(struct netxen_adapter *, int)
 
int(* stop_port )(struct netxen_adapter *)
 
u32(* crb_read )(struct netxen_adapter *, ulong)
 
int(* crb_write )(struct netxen_adapter *, ulong, u32)
 
int(* pci_mem_read )(struct netxen_adapter *, u64, u64 *)
 
int(* pci_mem_write )(struct netxen_adapter *, u64, u64)
 
int(* pci_set_window )(struct netxen_adapter *, u64, u32 *)
 
u32(* io_read )(struct netxen_adapter *, void __iomem *)
 
void(* io_write )(struct netxen_adapter *, void __iomem *, u32)
 
void __iomemtgt_mask_reg
 
void __iomempci_int_reg
 
void __iomemtgt_status_reg
 
void __iomemcrb_int_state_reg
 
void __iomemisr_int_vec
 
struct msix_entry msix_entries [MSIX_ENTRIES_PER_ADAPTER]
 
struct netxen_dummy_dma dummy_dma
 
struct delayed_work fw_work
 
struct work_struct tx_timeout_task
 
nx_nic_intr_coalesce_t coal
 
unsigned long state
 
__le32 file_prd_off
 
u32 fw_version
 
struct firmwarefw
 
struct netxen_minidump mdump
 
int fw_mdump_rdy
 

Detailed Description

Definition at line 1602 of file netxen_nic.h.

Field Documentation

u8 __pad

Definition at line 1621 of file netxen_nic.h.

Definition at line 1603 of file netxen_nic.h.

Definition at line 1646 of file netxen_nic.h.

Definition at line 1695 of file netxen_nic.h.

void __iomem* crb_int_state_reg

Definition at line 1684 of file netxen_nic.h.

u32(* crb_read)(struct netxen_adapter *, ulong)

Definition at line 1670 of file netxen_nic.h.

int(* crb_write)(struct netxen_adapter *, ulong, u32)

Definition at line 1671 of file netxen_nic.h.

u8 driver_mismatch

Definition at line 1619 of file netxen_nic.h.

Definition at line 1689 of file netxen_nic.h.

__le32 file_prd_off

Definition at line 1698 of file netxen_nic.h.

u32 flags

Definition at line 1647 of file netxen_nic.h.

Definition at line 1700 of file netxen_nic.h.

u8 fw_fail_cnt

Definition at line 1631 of file netxen_nic.h.

int fw_mdump_rdy

Definition at line 1702 of file netxen_nic.h.

u8 fw_type

Definition at line 1636 of file netxen_nic.h.

Definition at line 1699 of file netxen_nic.h.

u8 fw_wait_cnt

Definition at line 1630 of file netxen_nic.h.

Definition at line 1691 of file netxen_nic.h.

u8 has_link_events

Definition at line 1635 of file netxen_nic.h.

u32 heartbit

Definition at line 1652 of file netxen_nic.h.

int(* init_port)(struct netxen_adapter *, int)

Definition at line 1667 of file netxen_nic.h.

u32 int_vec_bit

Definition at line 1651 of file netxen_nic.h.

u32(* io_read)(struct netxen_adapter *, void __iomem *)

Definition at line 1678 of file netxen_nic.h.

void(* io_write)(struct netxen_adapter *, void __iomem *, u32)

Definition at line 1679 of file netxen_nic.h.

u32 irq

Definition at line 1648 of file netxen_nic.h.

u16 is_up

Definition at line 1639 of file netxen_nic.h.

void __iomem* isr_int_vec

Definition at line 1685 of file netxen_nic.h.

u16 link_autoneg

Definition at line 1643 of file netxen_nic.h.

u8 link_changed

Definition at line 1629 of file netxen_nic.h.

u16 link_duplex

Definition at line 1642 of file netxen_nic.h.

u16 link_speed

Definition at line 1641 of file netxen_nic.h.

Definition at line 1654 of file netxen_nic.h.

struct list_head mac_list

Definition at line 1607 of file netxen_nic.h.

int(* macaddr_set)(struct netxen_adapter *, u8 *)

Definition at line 1661 of file netxen_nic.h.

u8 max_mc_count

Definition at line 1627 of file netxen_nic.h.

u8 max_rds_rings

Definition at line 1617 of file netxen_nic.h.

u8 max_sds_rings

Definition at line 1618 of file netxen_nic.h.

u8 mc_enabled

Definition at line 1626 of file netxen_nic.h.

Definition at line 1701 of file netxen_nic.h.

u16 module_type

Definition at line 1644 of file netxen_nic.h.

struct msix_entry msix_entries[MSIX_ENTRIES_PER_ADAPTER]

Definition at line 1687 of file netxen_nic.h.

u8 msix_supported

Definition at line 1620 of file netxen_nic.h.

u16 mtu

Definition at line 1638 of file netxen_nic.h.

u8 need_fw_reset

Definition at line 1633 of file netxen_nic.h.

struct net_device* netdev

Definition at line 1605 of file netxen_nic.h.

u16 num_jumbo_rxd

Definition at line 1614 of file netxen_nic.h.

u16 num_lro_rxd

Definition at line 1615 of file netxen_nic.h.

u16 num_rxd

Definition at line 1613 of file netxen_nic.h.

u16 num_txd

Definition at line 1612 of file netxen_nic.h.

void __iomem* pci_int_reg

Definition at line 1682 of file netxen_nic.h.

int(* pci_mem_read)(struct netxen_adapter *, u64, u64 *)

Definition at line 1673 of file netxen_nic.h.

int(* pci_mem_write)(struct netxen_adapter *, u64, u64)

Definition at line 1674 of file netxen_nic.h.

int(* pci_set_window)(struct netxen_adapter *, u64, u32 *)

Definition at line 1676 of file netxen_nic.h.

u8 pci_using_dac

Definition at line 1622 of file netxen_nic.h.

struct pci_dev* pdev

Definition at line 1606 of file netxen_nic.h.

int(* phy_read)(struct netxen_adapter *, u32 reg, u32 *)

Definition at line 1665 of file netxen_nic.h.

int(* phy_write)(struct netxen_adapter *, u32 reg, u32 val)

Definition at line 1666 of file netxen_nic.h.

u8 physical_port

Definition at line 1624 of file netxen_nic.h.

u8 portnum

Definition at line 1623 of file netxen_nic.h.

Definition at line 1658 of file netxen_nic.h.

u8 rss_supported

Definition at line 1628 of file netxen_nic.h.

int(* set_mtu)(struct netxen_adapter *, int)

Definition at line 1662 of file netxen_nic.h.

void(* set_multi)(struct net_device *)

Definition at line 1664 of file netxen_nic.h.

int(* set_promisc)(struct netxen_adapter *, u32)

Definition at line 1663 of file netxen_nic.h.

unsigned long state

Definition at line 1697 of file netxen_nic.h.

Definition at line 1656 of file netxen_nic.h.

int(* stop_port)(struct netxen_adapter *)

Definition at line 1668 of file netxen_nic.h.

u32 temp

Definition at line 1649 of file netxen_nic.h.

void __iomem* tgt_mask_reg

Definition at line 1681 of file netxen_nic.h.

void __iomem* tgt_status_reg

Definition at line 1683 of file netxen_nic.h.

spinlock_t tx_clean_lock

Definition at line 1610 of file netxen_nic.h.

u16 tx_context_id

Definition at line 1637 of file netxen_nic.h.

Definition at line 1659 of file netxen_nic.h.

u8 tx_timeo_cnt

Definition at line 1632 of file netxen_nic.h.

struct work_struct tx_timeout_task

Definition at line 1693 of file netxen_nic.h.

struct list_head vlan_ip_list

Definition at line 1608 of file netxen_nic.h.


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