iPXE
Public Member Functions | Data Fields
bnx2 Struct Reference

#include <bnx2.h>

Public Member Functions

u32 tx_prod_bseq __attribute__ ((aligned(L1_CACHE_BYTES)))
 
u16 tx_cons __attribute__ ((aligned(L1_CACHE_BYTES)))
 

Data Fields

void * regview
 
struct nicnic
 
struct pci_devicepdev
 
struct status_blockstatus_blk
 
u32 last_status_idx
 
u32 flags
 
u16 tx_prod
 
struct tx_bdtx_desc_ring
 
struct sw_bd * tx_buf_ring
 
int tx_ring_size
 
u16 hw_tx_cons
 
u32 rx_offset
 
u32 rx_buf_use_size
 
u32 rx_buf_size
 
u32 rx_max_ring_idx
 
u32 rx_prod_bseq
 
u16 rx_prod
 
u16 rx_cons
 
u16 hw_rx_cons
 
u32 rx_csum
 
struct rx_bdrx_desc_ring
 
char * name
 
u32 phy_flags
 
u32 chip_id
 
u32 phy_addr
 
u32 phy_id
 
u16 bus_speed_mhz
 
u8 wol
 
u8 pad
 
u16 fw_wr_seq
 
u16 fw_drv_pulse_wr_seq
 
dma_addr_t tx_desc_mapping
 
int rx_max_ring
 
int rx_ring_size
 
dma_addr_t rx_desc_mapping
 
u16 tx_quick_cons_trip
 
u16 tx_quick_cons_trip_int
 
u16 rx_quick_cons_trip
 
u16 rx_quick_cons_trip_int
 
u16 comp_prod_trip
 
u16 comp_prod_trip_int
 
u16 tx_ticks
 
u16 tx_ticks_int
 
u16 com_ticks
 
u16 com_ticks_int
 
u16 cmd_ticks
 
u16 cmd_ticks_int
 
u16 rx_ticks
 
u16 rx_ticks_int
 
u32 stats_ticks
 
dma_addr_t status_blk_mapping
 
struct statistics_blockstats_blk
 
dma_addr_t stats_blk_mapping
 
u32 hc_cmd
 
u32 rx_mode
 
u16 req_line_speed
 
u8 req_duplex
 
u8 link_up
 
u16 line_speed
 
u8 duplex
 
u8 flow_ctrl
 
u32 advertising
 
u8 req_flow_ctrl
 
u8 autoneg
 
u8 loopback
 
u8 serdes_an_pending
 
u8 mac_addr [8]
 
u32 shmem_base
 
u32 fw_ver
 
int pm_cap
 
int pcix_cap
 
struct flash_specflash_info
 
u32 flash_size
 
int status_stats_size
 

Detailed Description

Definition at line 3991 of file bnx2.h.

Member Function Documentation

◆ __attribute__() [1/2]

u32 tx_prod_bseq bnx2::__attribute__ ( (aligned(L1_CACHE_BYTES))  )

◆ __attribute__() [2/2]

u16 tx_cons bnx2::__attribute__ ( (aligned(L1_CACHE_BYTES))  )

Field Documentation

◆ regview

void* bnx2::regview

Definition at line 3994 of file bnx2.h.

◆ nic

struct nic* bnx2::nic

Definition at line 3996 of file bnx2.h.

◆ pdev

struct pci_device* bnx2::pdev

Definition at line 3997 of file bnx2.h.

Referenced by bnx2_init_board(), and bnx2_probe().

◆ status_blk

struct status_block* bnx2::status_blk

Definition at line 4001 of file bnx2.h.

◆ last_status_idx

u32 bnx2::last_status_idx

Definition at line 4002 of file bnx2.h.

◆ flags

u32 bnx2::flags

Definition at line 4004 of file bnx2.h.

◆ tx_prod

u16 bnx2::tx_prod

Definition at line 4015 of file bnx2.h.

◆ tx_desc_ring

struct tx_bd* bnx2::tx_desc_ring

Definition at line 4017 of file bnx2.h.

◆ tx_buf_ring

struct sw_bd* bnx2::tx_buf_ring

Definition at line 4018 of file bnx2.h.

◆ tx_ring_size

int bnx2::tx_ring_size

Definition at line 4019 of file bnx2.h.

◆ hw_tx_cons

u16 bnx2::hw_tx_cons

Definition at line 4022 of file bnx2.h.

◆ rx_offset

u32 bnx2::rx_offset

Definition at line 4028 of file bnx2.h.

◆ rx_buf_use_size

u32 bnx2::rx_buf_use_size

Definition at line 4029 of file bnx2.h.

◆ rx_buf_size

u32 bnx2::rx_buf_size

Definition at line 4030 of file bnx2.h.

◆ rx_max_ring_idx

u32 bnx2::rx_max_ring_idx

Definition at line 4031 of file bnx2.h.

◆ rx_prod_bseq

u32 bnx2::rx_prod_bseq

Definition at line 4033 of file bnx2.h.

◆ rx_prod

u16 bnx2::rx_prod

Definition at line 4034 of file bnx2.h.

◆ rx_cons

u16 bnx2::rx_cons

Definition at line 4035 of file bnx2.h.

◆ hw_rx_cons

u16 bnx2::hw_rx_cons

Definition at line 4036 of file bnx2.h.

◆ rx_csum

u32 bnx2::rx_csum

Definition at line 4038 of file bnx2.h.

◆ rx_desc_ring

struct rx_bd* bnx2::rx_desc_ring

Definition at line 4043 of file bnx2.h.

◆ name

char* bnx2::name

Definition at line 4047 of file bnx2.h.

◆ phy_flags

u32 bnx2::phy_flags

Definition at line 4060 of file bnx2.h.

◆ chip_id

u32 bnx2::chip_id

Definition at line 4069 of file bnx2.h.

◆ phy_addr

u32 bnx2::phy_addr

Definition at line 4096 of file bnx2.h.

◆ phy_id

u32 bnx2::phy_id

Definition at line 4097 of file bnx2.h.

◆ bus_speed_mhz

u16 bnx2::bus_speed_mhz

Definition at line 4099 of file bnx2.h.

◆ wol

u8 bnx2::wol

Definition at line 4100 of file bnx2.h.

◆ pad

u8 bnx2::pad

Definition at line 4102 of file bnx2.h.

◆ fw_wr_seq

u16 bnx2::fw_wr_seq

Definition at line 4104 of file bnx2.h.

◆ fw_drv_pulse_wr_seq

u16 bnx2::fw_drv_pulse_wr_seq

Definition at line 4105 of file bnx2.h.

◆ tx_desc_mapping

dma_addr_t bnx2::tx_desc_mapping

Definition at line 4107 of file bnx2.h.

◆ rx_max_ring

int bnx2::rx_max_ring

Definition at line 4110 of file bnx2.h.

◆ rx_ring_size

int bnx2::rx_ring_size

Definition at line 4111 of file bnx2.h.

◆ rx_desc_mapping

dma_addr_t bnx2::rx_desc_mapping

Definition at line 4115 of file bnx2.h.

◆ tx_quick_cons_trip

u16 bnx2::tx_quick_cons_trip

Definition at line 4117 of file bnx2.h.

◆ tx_quick_cons_trip_int

u16 bnx2::tx_quick_cons_trip_int

Definition at line 4118 of file bnx2.h.

◆ rx_quick_cons_trip

u16 bnx2::rx_quick_cons_trip

Definition at line 4119 of file bnx2.h.

◆ rx_quick_cons_trip_int

u16 bnx2::rx_quick_cons_trip_int

Definition at line 4120 of file bnx2.h.

◆ comp_prod_trip

u16 bnx2::comp_prod_trip

Definition at line 4121 of file bnx2.h.

◆ comp_prod_trip_int

u16 bnx2::comp_prod_trip_int

Definition at line 4122 of file bnx2.h.

◆ tx_ticks

u16 bnx2::tx_ticks

Definition at line 4123 of file bnx2.h.

◆ tx_ticks_int

u16 bnx2::tx_ticks_int

Definition at line 4124 of file bnx2.h.

◆ com_ticks

u16 bnx2::com_ticks

Definition at line 4125 of file bnx2.h.

◆ com_ticks_int

u16 bnx2::com_ticks_int

Definition at line 4126 of file bnx2.h.

◆ cmd_ticks

u16 bnx2::cmd_ticks

Definition at line 4127 of file bnx2.h.

◆ cmd_ticks_int

u16 bnx2::cmd_ticks_int

Definition at line 4128 of file bnx2.h.

◆ rx_ticks

u16 bnx2::rx_ticks

Definition at line 4129 of file bnx2.h.

◆ rx_ticks_int

u16 bnx2::rx_ticks_int

Definition at line 4130 of file bnx2.h.

◆ stats_ticks

u32 bnx2::stats_ticks

Definition at line 4132 of file bnx2.h.

◆ status_blk_mapping

dma_addr_t bnx2::status_blk_mapping

Definition at line 4134 of file bnx2.h.

◆ stats_blk

struct statistics_block* bnx2::stats_blk

Definition at line 4136 of file bnx2.h.

◆ stats_blk_mapping

dma_addr_t bnx2::stats_blk_mapping

Definition at line 4137 of file bnx2.h.

◆ hc_cmd

u32 bnx2::hc_cmd

Definition at line 4139 of file bnx2.h.

◆ rx_mode

u32 bnx2::rx_mode

Definition at line 4140 of file bnx2.h.

Referenced by bnx2_set_rx_mode().

◆ req_line_speed

u16 bnx2::req_line_speed

Definition at line 4142 of file bnx2.h.

◆ req_duplex

u8 bnx2::req_duplex

Definition at line 4143 of file bnx2.h.

◆ link_up

u8 bnx2::link_up

Definition at line 4145 of file bnx2.h.

◆ line_speed

u16 bnx2::line_speed

Definition at line 4147 of file bnx2.h.

◆ duplex

u8 bnx2::duplex

Definition at line 4148 of file bnx2.h.

◆ flow_ctrl

u8 bnx2::flow_ctrl

Definition at line 4149 of file bnx2.h.

◆ advertising

u32 bnx2::advertising

Definition at line 4155 of file bnx2.h.

◆ req_flow_ctrl

u8 bnx2::req_flow_ctrl

Definition at line 4157 of file bnx2.h.

◆ autoneg

u8 bnx2::autoneg

Definition at line 4160 of file bnx2.h.

◆ loopback

u8 bnx2::loopback

Definition at line 4164 of file bnx2.h.

◆ serdes_an_pending

u8 bnx2::serdes_an_pending

Definition at line 4168 of file bnx2.h.

◆ mac_addr

u8 bnx2::mac_addr[8]

Definition at line 4171 of file bnx2.h.

◆ shmem_base

u32 bnx2::shmem_base

Definition at line 4173 of file bnx2.h.

◆ fw_ver

u32 bnx2::fw_ver

Definition at line 4175 of file bnx2.h.

◆ pm_cap

int bnx2::pm_cap

Definition at line 4177 of file bnx2.h.

◆ pcix_cap

int bnx2::pcix_cap

Definition at line 4178 of file bnx2.h.

◆ flash_info

struct flash_spec* bnx2::flash_info

Definition at line 4182 of file bnx2.h.

◆ flash_size

u32 bnx2::flash_size

Definition at line 4183 of file bnx2.h.

◆ status_stats_size

int bnx2::status_stats_size

Definition at line 4185 of file bnx2.h.


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