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

Go to the source code of this file.

Data Structures

struct  vnic_wq_copy
 

Macros

#define VNIC_WQ_COPY_MAX   1
 

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_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)
 
void vnic_wq_copy_clean (struct vnic_wq_copy *wq, void(*q_clean)(struct vnic_wq_copy *wq, struct fcpio_host_req *wq_desc))
 

Macro Definition Documentation

#define VNIC_WQ_COPY_MAX   1

Definition at line 25 of file vnic_wq_copy.h.

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.