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

#include <vxge-config.h>

Data Fields

enum vxge_hw_status(* callback )(struct __vxge_hw_ring *ringh, void *rxdh, u8 t_code, void *userdata)
 
enum vxge_hw_status(* rxd_init )(void *rxdh, void *userdata)
 
void(* rxd_term )(void *rxdh, enum vxge_hw_rxd_state state, void *userdata)
 
voiduserdata
 
u32 per_rxd_space
 

Detailed Description

struct vxge_hw_ring_attr - Ring open "template". : Ring completion callback. HW invokes the callback when there are new completions on that ring. In many implementations the executes in the hw interrupt context. : Ring's descriptor-initialize callback. See vxge_hw_ring_rxd_init_f{}. If not NULL, HW invokes the callback when opening the ring. : Ring's descriptor-terminate callback. If not NULL, HW invokes the callback when closing the corresponding ring. See also vxge_hw_ring_rxd_term_f{}. : User-defined "context" of that ring. Passed back to the user as one of the , , and arguments. : If specified (i.e., greater than zero): extra space reserved by HW per each receive descriptor. Can be used to store and retrieve on completion, information specific to the driver.

Ring open "template". User fills the structure with ring attributes and passes it to vxge_hw_vpath_open().

Definition at line 1719 of file vxge-config.h.

Field Documentation

enum vxge_hw_status(* callback)(struct __vxge_hw_ring *ringh, void *rxdh, u8 t_code, void *userdata)

Definition at line 1720 of file vxge-config.h.

u32 per_rxd_space

Definition at line 1736 of file vxge-config.h.

enum vxge_hw_status(* rxd_init)(void *rxdh, void *userdata)

Definition at line 1726 of file vxge-config.h.

void(* rxd_term)(void *rxdh, enum vxge_hw_rxd_state state, void *userdata)

Definition at line 1730 of file vxge-config.h.

void* userdata

Definition at line 1735 of file vxge-config.h.


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