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

Go to the source code of this file.

Functions

void vnic_wq_copy_enable (struct vnic_wq_copy *wq)
 
int vnic_wq_copy_disable (struct vnic_wq_copy *wq)
 
void vnic_wq_copy_clean (struct vnic_wq_copy *wq, void(*q_clean)(struct vnic_wq_copy *wq, struct fcpio_host_req *wq_desc))
 
void vnic_wq_copy_free (struct vnic_wq_copy *wq)
 
int vnic_wq_copy_alloc (struct vnic_dev *vdev, struct vnic_wq_copy *wq, unsigned int index, unsigned int desc_count, unsigned int desc_size)
 
void vnic_wq_copy_init (struct vnic_wq_copy *wq, unsigned int cq_index, unsigned int error_interrupt_enable, unsigned int error_interrupt_offset)
 

Function Documentation

int vnic_wq_copy_alloc ( struct vnic_dev vdev,
struct vnic_wq_copy wq,
unsigned int  index,
unsigned int  desc_count,
unsigned int  desc_size 
)

Definition at line 78 of file vnic_wq_copy.c.

void vnic_wq_copy_clean ( struct vnic_wq_copy wq,
void(*)(struct vnic_wq_copy *wq, struct fcpio_host_req *wq_desc)  q_clean 
)

Definition at line 51 of file vnic_wq_copy.c.

int vnic_wq_copy_disable ( struct vnic_wq_copy wq)

Definition at line 30 of file vnic_wq_copy.c.

void vnic_wq_copy_enable ( struct vnic_wq_copy wq)

Definition at line 25 of file vnic_wq_copy.c.

void vnic_wq_copy_free ( struct vnic_wq_copy wq)

Definition at line 69 of file vnic_wq_copy.c.

void vnic_wq_copy_init ( struct vnic_wq_copy wq,
unsigned int  cq_index,
unsigned int  error_interrupt_enable,
unsigned int  error_interrupt_offset 
)

Definition at line 102 of file vnic_wq_copy.c.