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

Go to the source code of this file.

Functions

void vnic_wq_free (struct vnic_wq *wq)
 
int vnic_wq_alloc (struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, unsigned int desc_count, unsigned int desc_size)
 
void vnic_wq_init (struct vnic_wq *wq, unsigned int cq_index, unsigned int error_interrupt_enable, unsigned int error_interrupt_offset)
 
unsigned int vnic_wq_error_status (struct vnic_wq *wq)
 
void vnic_wq_enable (struct vnic_wq *wq)
 
int vnic_wq_disable (struct vnic_wq *wq)
 
void vnic_wq_clean (struct vnic_wq *wq, void(*buf_clean)(struct vnic_wq *wq, struct vnic_wq_buf *buf))
 

Function Documentation

int vnic_wq_alloc ( struct vnic_dev vdev,
struct vnic_wq wq,
unsigned int  index,
unsigned int  desc_count,
unsigned int  desc_size 
)

Definition at line 87 of file vnic_wq.c.

void vnic_wq_clean ( struct vnic_wq wq,
void(*)(struct vnic_wq *wq, struct vnic_wq_buf *buf buf_clean 
)

Definition at line 176 of file vnic_wq.c.

int vnic_wq_disable ( struct vnic_wq wq)

Definition at line 158 of file vnic_wq.c.

void vnic_wq_enable ( struct vnic_wq wq)

Definition at line 153 of file vnic_wq.c.

unsigned int vnic_wq_error_status ( struct vnic_wq wq)

Definition at line 148 of file vnic_wq.c.

void vnic_wq_free ( struct vnic_wq wq)

Definition at line 68 of file vnic_wq.c.

void vnic_wq_init ( struct vnic_wq wq,
unsigned int  cq_index,
unsigned int  error_interrupt_enable,
unsigned int  error_interrupt_offset 
)

Definition at line 139 of file vnic_wq.c.