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

#include <bnx2x_sp.h>

Data Fields

u32 cids [BNX2X_MULTI_TX_COS]
 
u8 cl_id
 
u8 func_id
 
u8 max_cos
 
u8 num_tx_only
 
u8 next_tx_only
 
enum bnx2x_q_state state next_state
 
unsigned long type
 
unsigned long pending
 
voidrdata
 
dma_addr_t rdata_mapping
 
int(* send_cmd )(struct bnx2x *bp, struct bnx2x_queue_state_params *params)
 
int(* set_pending )(struct bnx2x_queue_sp_obj *o, struct bnx2x_queue_state_params *params)
 
int(* check_transition )(struct bnx2x *bp, struct bnx2x_queue_sp_obj *o, struct bnx2x_queue_state_params *params)
 
int(* complete_cmd )(struct bnx2x *bp, struct bnx2x_queue_sp_obj *o, enum bnx2x_queue_cmd)
 
int(* wait_comp )(struct bnx2x *bp, struct bnx2x_queue_sp_obj *o, enum bnx2x_queue_cmd cmd)
 

Detailed Description

Definition at line 978 of file bnx2x_sp.h.

Field Documentation

Checks that the requested state transition is legal.

Definition at line 1028 of file bnx2x_sp.h.

Definition at line 979 of file bnx2x_sp.h.

u8 cl_id

Definition at line 980 of file bnx2x_sp.h.

int(* complete_cmd)(struct bnx2x *bp, struct bnx2x_queue_sp_obj *o, enum bnx2x_queue_cmd)

Completes the pending command.

Definition at line 1035 of file bnx2x_sp.h.

u8 func_id

Definition at line 981 of file bnx2x_sp.h.

u8 max_cos

Definition at line 992 of file bnx2x_sp.h.

enum bnx2x_q_state state next_state

Definition at line 995 of file bnx2x_sp.h.

u8 next_tx_only

Definition at line 993 of file bnx2x_sp.h.

u8 num_tx_only

Definition at line 993 of file bnx2x_sp.h.

unsigned long pending

Definition at line 1005 of file bnx2x_sp.h.

void* rdata

Definition at line 1008 of file bnx2x_sp.h.

dma_addr_t rdata_mapping

Definition at line 1009 of file bnx2x_sp.h.

Performs one state change according to the given parameters.

Returns
0 in case of success and negative value otherwise.

Definition at line 1016 of file bnx2x_sp.h.

Sets the pending bit according to the requested transition.

Definition at line 1022 of file bnx2x_sp.h.

unsigned long type

Definition at line 998 of file bnx2x_sp.h.

Definition at line 1039 of file bnx2x_sp.h.


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