Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
vnic_rq.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_rq.h"

Go to the source code of this file.

Functions

void vnic_rq_free (struct vnic_rq *rq)
 
int vnic_rq_alloc (struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index, unsigned int desc_count, unsigned int desc_size)
 
void vnic_rq_init (struct vnic_rq *rq, unsigned int cq_index, unsigned int error_interrupt_enable, unsigned int error_interrupt_offset)
 
unsigned int vnic_rq_error_status (struct vnic_rq *rq)
 
void vnic_rq_enable (struct vnic_rq *rq)
 
int vnic_rq_disable (struct vnic_rq *rq)
 
void vnic_rq_clean (struct vnic_rq *rq, void(*buf_clean)(struct vnic_rq *rq, struct vnic_rq_buf *buf))
 

Function Documentation

int vnic_rq_alloc ( struct vnic_dev vdev,
struct vnic_rq rq,
unsigned int  index,
unsigned int  desc_count,
unsigned int  desc_size 
)

Definition at line 87 of file vnic_rq.c.

void vnic_rq_clean ( struct vnic_rq rq,
void(*)(struct vnic_rq *rq, struct vnic_rq_buf *buf buf_clean 
)

Definition at line 188 of file vnic_rq.c.

int vnic_rq_disable ( struct vnic_rq rq)

Definition at line 170 of file vnic_rq.c.

void vnic_rq_enable ( struct vnic_rq rq)

Definition at line 165 of file vnic_rq.c.

unsigned int vnic_rq_error_status ( struct vnic_rq rq)

Definition at line 160 of file vnic_rq.c.

void vnic_rq_free ( struct vnic_rq rq)

Definition at line 68 of file vnic_rq.c.

void vnic_rq_init ( struct vnic_rq rq,
unsigned int  cq_index,
unsigned int  error_interrupt_enable,
unsigned int  error_interrupt_offset 
)

Definition at line 140 of file vnic_rq.c.