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

#include <bnx2i.h>

Data Fields

struct list_head link
 
struct cnic_devcnic
 
struct pci_devpcidev
 
struct net_devicenetdev
 
void __iomemregview
 
resource_size_t reg_base
 
u32 age
 
unsigned long cnic_dev_type
 
u32 mail_queue_access
 
unsigned long reg_with_cnic
 
unsigned long adapter_state
 
unsigned int mtu_supported
 
struct Scsi_Hostshost
 
u32 max_sqes
 
u32 max_rqes
 
u32 max_cqes
 
u32 num_ccell
 
int ofld_conns_active
 
wait_queue_head_t eh_wait
 
int max_active_conns
 
struct iscsi_cid_queue cid_que
 
rwlock_t ep_rdwr_lock
 
struct list_head ep_ofld_list
 
struct list_head ep_active_list
 
struct list_head ep_destroy_list
 
charmp_bd_tbl
 
dma_addr_t mp_bd_dma
 
chardummy_buffer
 
dma_addr_t dummy_buf_dma
 
spinlock_t lock
 
struct mutex net_dev_lock
 
int hba_shutdown_tmo
 
int conn_teardown_tmo
 
int conn_ctx_destroy_tmo
 
u16 pci_did
 
u16 pci_vid
 
u16 pci_sdid
 
u16 pci_svid
 
u16 pci_func
 
u16 pci_devno
 
u32 num_wqe_sent
 
u32 num_cqe_rcvd
 
u32 num_intr_claimed
 
u32 link_changed_count
 
u32 ipaddr_changed_count
 
u32 num_sess_opened
 
u32 num_conn_opened
 
unsigned int ctx_ccell_tasks
 
struct bnx2i_stats_info bnx2i_stats
 
struct iscsi_stats_info stats
 

Detailed Description

struct bnx2i_hba - bnx2i adapter structure

list head to link elements : pointer to cnic device : pointer to pci dev : pointer to netdev structure : mapped PCI register space : age, incremented by every recovery : cnic device type, 5706/5708/5709/57710 : mailbox queue access mode, applicable to 5709 only : indicates whether the device is register with CNIC : adapter state, UP, GOING_DOWN, LINK_DOWN : Ethernet MTU supported : scsi host pointer : SQ size : RQ size : CQ size : number of command cells per connection : active connection list : wait queue for the endpoint to shutdown : max offload connections supported by this device : iscsi cid queue : read / write lock to synchronize various ep lists : connection list for pending offload completion : connection list for active offload endpoints : connection list for pending offload completion : BD table to be used with middle path requests : DMA address of 'mp_bd_tbl' memory buffer : Dummy buffer to be used with zero length scsicmd reqs : DMA address of 'dummy_buffer' memory buffer : lock to synchonize access to hba structure : Timeout value to shutdown each connection : Timeout value to tear down each connection : Timeout value to destroy context of each connection : PCI device ID : PCI vendor ID : PCI subsystem device ID : PCI subsystem vendor ID : PCI function number in system pci tree : PCI device number in system pci tree : statistic counter, total wqe's sent : statistic counter, total cqe's received : statistic counter, total interrupts claimed : statistic counter, num of link change notifications received : statistic counter, num times IP address changed while at least one connection is offloaded : statistic counter, total num sessions opened : statistic counter, total num conns opened on this hba : captures number of ccells and tasks supported by currently offloaded connection, used to decode context memory : spin lock used by the statistic collector (32 bit) : local iSCSI statistic collection place holder

Adapter Data Structure

Definition at line 397 of file bnx2i.h.

Field Documentation

unsigned long adapter_state

Definition at line 418 of file bnx2i.h.

u32 age

Definition at line 405 of file bnx2i.h.

struct bnx2i_stats_info bnx2i_stats

Definition at line 484 of file bnx2i.h.

Definition at line 437 of file bnx2i.h.

Definition at line 399 of file bnx2i.h.

unsigned long cnic_dev_type

Definition at line 406 of file bnx2i.h.

int conn_ctx_destroy_tmo

Definition at line 457 of file bnx2i.h.

int conn_teardown_tmo

Definition at line 456 of file bnx2i.h.

unsigned int ctx_ccell_tasks

Definition at line 479 of file bnx2i.h.

dma_addr_t dummy_buf_dma

Definition at line 450 of file bnx2i.h.

char* dummy_buffer

Definition at line 449 of file bnx2i.h.

Definition at line 434 of file bnx2i.h.

struct list_head ep_active_list

Definition at line 441 of file bnx2i.h.

struct list_head ep_destroy_list

Definition at line 442 of file bnx2i.h.

struct list_head ep_ofld_list

Definition at line 440 of file bnx2i.h.

rwlock_t ep_rdwr_lock

Definition at line 439 of file bnx2i.h.

int hba_shutdown_tmo

Definition at line 455 of file bnx2i.h.

u32 ipaddr_changed_count

Definition at line 476 of file bnx2i.h.

Definition at line 398 of file bnx2i.h.

u32 link_changed_count

Definition at line 475 of file bnx2i.h.

spinlock_t lock

Definition at line 452 of file bnx2i.h.

u32 mail_queue_access

Definition at line 411 of file bnx2i.h.

int max_active_conns

Definition at line 436 of file bnx2i.h.

u32 max_cqes

Definition at line 430 of file bnx2i.h.

u32 max_rqes

Definition at line 429 of file bnx2i.h.

u32 max_sqes

Definition at line 428 of file bnx2i.h.

dma_addr_t mp_bd_dma

Definition at line 448 of file bnx2i.h.

char* mp_bd_tbl

Definition at line 447 of file bnx2i.h.

unsigned int mtu_supported

Definition at line 423 of file bnx2i.h.

struct mutex net_dev_lock

Definition at line 453 of file bnx2i.h.

struct net_device* netdev

Definition at line 401 of file bnx2i.h.

u32 num_ccell

Definition at line 431 of file bnx2i.h.

u32 num_conn_opened

Definition at line 478 of file bnx2i.h.

u32 num_cqe_rcvd

Definition at line 473 of file bnx2i.h.

u32 num_intr_claimed

Definition at line 474 of file bnx2i.h.

u32 num_sess_opened

Definition at line 477 of file bnx2i.h.

u32 num_wqe_sent

Definition at line 472 of file bnx2i.h.

int ofld_conns_active

Definition at line 433 of file bnx2i.h.

u16 pci_devno

Definition at line 466 of file bnx2i.h.

u16 pci_did

Definition at line 461 of file bnx2i.h.

Definition at line 465 of file bnx2i.h.

u16 pci_sdid

Definition at line 463 of file bnx2i.h.

u16 pci_svid

Definition at line 464 of file bnx2i.h.

u16 pci_vid

Definition at line 462 of file bnx2i.h.

struct pci_dev* pcidev

Definition at line 400 of file bnx2i.h.

resource_size_t reg_base

Definition at line 403 of file bnx2i.h.

unsigned long reg_with_cnic

Definition at line 415 of file bnx2i.h.

void __iomem* regview

Definition at line 402 of file bnx2i.h.

struct Scsi_Host* shost

Definition at line 426 of file bnx2i.h.

Definition at line 485 of file bnx2i.h.


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