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

#include <cnic_if.h>

Data Fields

struct net_devicenetdev
 
struct pci_devpcidev
 
void __iomemregview
 
struct list_head list
 
int(* register_device )(struct cnic_dev *dev, int ulp_type, void *ulp_ctx)
 
int(* unregister_device )(struct cnic_dev *dev, int ulp_type)
 
int(* submit_kwqes )(struct cnic_dev *dev, struct kwqe *wqes[], u32 num_wqes)
 
int(* submit_kwqes_16 )(struct cnic_dev *dev, struct kwqe_16 *wqes[], u32 num_wqes)
 
int(* cm_create )(struct cnic_dev *, int, u32, u32, struct cnic_sock **, void *)
 
int(* cm_destroy )(struct cnic_sock *)
 
int(* cm_connect )(struct cnic_sock *, struct cnic_sockaddr *)
 
int(* cm_abort )(struct cnic_sock *)
 
int(* cm_close )(struct cnic_sock *)
 
struct cnic_dev *(* cm_select_dev )(struct sockaddr_in *, int ulp_type)
 
int(* iscsi_nl_msg_recv )(struct cnic_dev *dev, u32 msg_type, char *data, u16 data_size)
 
unsigned long flags
 
atomic_t ref_count
 
u8 mac_addr [6]
 
int max_iscsi_conn
 
int max_fcoe_conn
 
int max_rdma_conn
 
union drv_info_to_mcpstats_addr
 
struct fcoe_capabilitiesfcoe_cap
 
voidcnic_priv
 

Detailed Description

Definition at line 281 of file cnic_if.h.

Field Documentation

int(* cm_abort)(struct cnic_sock *)

Definition at line 299 of file cnic_if.h.

int(* cm_close)(struct cnic_sock *)

Definition at line 300 of file cnic_if.h.

int(* cm_connect)(struct cnic_sock *, struct cnic_sockaddr *)

Definition at line 298 of file cnic_if.h.

int(* cm_create)(struct cnic_dev *, int, u32, u32, struct cnic_sock **, void *)

Definition at line 295 of file cnic_if.h.

int(* cm_destroy)(struct cnic_sock *)

Definition at line 297 of file cnic_if.h.

struct cnic_dev*(* cm_select_dev)(struct sockaddr_in *, int ulp_type)
read

Definition at line 301 of file cnic_if.h.

void* cnic_priv

Definition at line 318 of file cnic_if.h.

Definition at line 316 of file cnic_if.h.

unsigned long flags

Definition at line 304 of file cnic_if.h.

int(* iscsi_nl_msg_recv)(struct cnic_dev *dev, u32 msg_type, char *data, u16 data_size)

Definition at line 302 of file cnic_if.h.

Definition at line 285 of file cnic_if.h.

Definition at line 309 of file cnic_if.h.

int max_fcoe_conn

Definition at line 312 of file cnic_if.h.

int max_iscsi_conn

Definition at line 311 of file cnic_if.h.

int max_rdma_conn

Definition at line 313 of file cnic_if.h.

struct net_device* netdev

Definition at line 282 of file cnic_if.h.

struct pci_dev* pcidev

Definition at line 283 of file cnic_if.h.

atomic_t ref_count

Definition at line 308 of file cnic_if.h.

int(* register_device)(struct cnic_dev *dev, int ulp_type, void *ulp_ctx)

Definition at line 287 of file cnic_if.h.

void __iomem* regview

Definition at line 284 of file cnic_if.h.

union drv_info_to_mcp* stats_addr

Definition at line 315 of file cnic_if.h.

int(* submit_kwqes)(struct cnic_dev *dev, struct kwqe *wqes[], u32 num_wqes)

Definition at line 290 of file cnic_if.h.

int(* submit_kwqes_16)(struct cnic_dev *dev, struct kwqe_16 *wqes[], u32 num_wqes)

Definition at line 292 of file cnic_if.h.

int(* unregister_device)(struct cnic_dev *dev, int ulp_type)

Definition at line 289 of file cnic_if.h.


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