Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
vnic_cq.h File Reference
#include "cq_desc.h"
#include "vnic_dev.h"

Go to the source code of this file.

Data Structures

struct  vnic_cq_ctrl
 
struct  vnic_cq
 

Macros

#define vnic_cq_service   fnic_cq_service
 
#define vnic_cq_free   fnic_cq_free
 
#define vnic_cq_alloc   fnic_cq_alloc
 
#define vnic_cq_init   fnic_cq_init
 
#define vnic_cq_clean   fnic_cq_clean
 

Functions

void vnic_cq_free (struct vnic_cq *cq)
 
int vnic_cq_alloc (struct vnic_dev *vdev, struct vnic_cq *cq, unsigned int index, unsigned int desc_count, unsigned int desc_size)
 
void vnic_cq_init (struct vnic_cq *cq, unsigned int flow_control_enable, unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail, unsigned int cq_tail_color, unsigned int interrupt_enable, unsigned int cq_entry_enable, unsigned int message_enable, unsigned int interrupt_offset, u64 message_addr)
 
void vnic_cq_clean (struct vnic_cq *cq)
 

Macro Definition Documentation

#define vnic_cq_alloc   fnic_cq_alloc

Definition at line 30 of file vnic_cq.h.

#define vnic_cq_clean   fnic_cq_clean

Definition at line 32 of file vnic_cq.h.

#define vnic_cq_free   fnic_cq_free

Definition at line 29 of file vnic_cq.h.

#define vnic_cq_init   fnic_cq_init

Definition at line 31 of file vnic_cq.h.

#define vnic_cq_service   fnic_cq_service

Definition at line 28 of file vnic_cq.h.

Function Documentation

int vnic_cq_alloc ( struct vnic_dev vdev,
struct vnic_cq cq,
unsigned int  index,
unsigned int  desc_count,
unsigned int  desc_size 
)

Definition at line 35 of file vnic_cq.c.

void vnic_cq_clean ( struct vnic_cq cq)

Definition at line 81 of file vnic_cq.c.

void vnic_cq_free ( struct vnic_cq cq)

Definition at line 28 of file vnic_cq.c.

void vnic_cq_init ( struct vnic_cq cq,
unsigned int  flow_control_enable,
unsigned int  color_enable,
unsigned int  cq_head,
unsigned int  cq_tail,
unsigned int  cq_tail_color,
unsigned int  interrupt_enable,
unsigned int  cq_entry_enable,
unsigned int  message_enable,
unsigned int  interrupt_offset,
u64  message_addr 
)

Definition at line 56 of file vnic_cq.c.