Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
vnic_cq.c File Reference
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/pci.h>
#include "vnic_dev.h"
#include "vnic_cq.h"

Go to the source code of this file.

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 cq_message_enable, unsigned int interrupt_offset, u64 cq_message_addr)
 
void vnic_cq_clean (struct vnic_cq *cq)
 

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 31 of file vnic_cq.c.

void vnic_cq_clean ( struct vnic_cq cq)

Definition at line 75 of file vnic_cq.c.

void vnic_cq_free ( struct vnic_cq cq)

Definition at line 24 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  cq_message_enable,
unsigned int  interrupt_offset,
u64  cq_message_addr 
)

Definition at line 52 of file vnic_cq.c.