Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ehca_irq.c File Reference
#include <linux/slab.h>
#include <linux/smpboot.h>
#include "ehca_classes.h"
#include "ehca_irq.h"
#include "ehca_iverbs.h"
#include "ehca_tools.h"
#include "hcp_if.h"
#include "hipz_fns.h"
#include "ipz_pt_fn.h"

Go to the source code of this file.

Macros

#define EQE_COMPLETION_EVENT   EHCA_BMASK_IBM( 1, 1)
 
#define EQE_CQ_QP_NUMBER   EHCA_BMASK_IBM( 8, 31)
 
#define EQE_EE_IDENTIFIER   EHCA_BMASK_IBM( 2, 7)
 
#define EQE_CQ_NUMBER   EHCA_BMASK_IBM( 8, 31)
 
#define EQE_QP_NUMBER   EHCA_BMASK_IBM( 8, 31)
 
#define EQE_QP_TOKEN   EHCA_BMASK_IBM(32, 63)
 
#define EQE_CQ_TOKEN   EHCA_BMASK_IBM(32, 63)
 
#define NEQE_COMPLETION_EVENT   EHCA_BMASK_IBM( 1, 1)
 
#define NEQE_EVENT_CODE   EHCA_BMASK_IBM( 2, 7)
 
#define NEQE_PORT_NUMBER   EHCA_BMASK_IBM( 8, 15)
 
#define NEQE_PORT_AVAILABILITY   EHCA_BMASK_IBM(16, 16)
 
#define NEQE_DISRUPTIVE   EHCA_BMASK_IBM(16, 16)
 
#define NEQE_SPECIFIC_EVENT   EHCA_BMASK_IBM(16, 23)
 
#define ERROR_DATA_LENGTH   EHCA_BMASK_IBM(52, 63)
 
#define ERROR_DATA_TYPE   EHCA_BMASK_IBM( 0, 7)
 

Functions

int ehca_error_data (struct ehca_shca *shca, void *data, u64 resource)
 
irqreturn_t ehca_interrupt_neq (int irq, void *dev_id)
 
void ehca_tasklet_neq (unsigned long data)
 
irqreturn_t ehca_interrupt_eq (int irq, void *dev_id)
 
void ehca_process_eq (struct ehca_shca *shca, int is_irq)
 
void ehca_tasklet_eq (unsigned long data)
 
int ehca_create_comp_pool (void)
 
void ehca_destroy_comp_pool (void)
 

Macro Definition Documentation

#define EQE_COMPLETION_EVENT   EHCA_BMASK_IBM( 1, 1)

Definition at line 55 of file ehca_irq.c.

#define EQE_CQ_NUMBER   EHCA_BMASK_IBM( 8, 31)

Definition at line 58 of file ehca_irq.c.

#define EQE_CQ_QP_NUMBER   EHCA_BMASK_IBM( 8, 31)

Definition at line 56 of file ehca_irq.c.

#define EQE_CQ_TOKEN   EHCA_BMASK_IBM(32, 63)

Definition at line 61 of file ehca_irq.c.

#define EQE_EE_IDENTIFIER   EHCA_BMASK_IBM( 2, 7)

Definition at line 57 of file ehca_irq.c.

#define EQE_QP_NUMBER   EHCA_BMASK_IBM( 8, 31)

Definition at line 59 of file ehca_irq.c.

#define EQE_QP_TOKEN   EHCA_BMASK_IBM(32, 63)

Definition at line 60 of file ehca_irq.c.

#define ERROR_DATA_LENGTH   EHCA_BMASK_IBM(52, 63)

Definition at line 70 of file ehca_irq.c.

#define ERROR_DATA_TYPE   EHCA_BMASK_IBM( 0, 7)

Definition at line 71 of file ehca_irq.c.

#define NEQE_COMPLETION_EVENT   EHCA_BMASK_IBM( 1, 1)

Definition at line 63 of file ehca_irq.c.

#define NEQE_DISRUPTIVE   EHCA_BMASK_IBM(16, 16)

Definition at line 67 of file ehca_irq.c.

#define NEQE_EVENT_CODE   EHCA_BMASK_IBM( 2, 7)

Definition at line 64 of file ehca_irq.c.

#define NEQE_PORT_AVAILABILITY   EHCA_BMASK_IBM(16, 16)

Definition at line 66 of file ehca_irq.c.

#define NEQE_PORT_NUMBER   EHCA_BMASK_IBM( 8, 15)

Definition at line 65 of file ehca_irq.c.

#define NEQE_SPECIFIC_EVENT   EHCA_BMASK_IBM(16, 23)

Definition at line 68 of file ehca_irq.c.

Function Documentation

int ehca_create_comp_pool ( void  )

Definition at line 813 of file ehca_irq.c.

void ehca_destroy_comp_pool ( void  )

Definition at line 860 of file ehca_irq.c.

int ehca_error_data ( struct ehca_shca shca,
void data,
u64  resource 
)

Definition at line 135 of file ehca_irq.c.

irqreturn_t ehca_interrupt_eq ( int  irq,
void dev_id 
)

Definition at line 503 of file ehca_irq.c.

irqreturn_t ehca_interrupt_neq ( int  irq,
void dev_id 
)

Definition at line 470 of file ehca_irq.c.

void ehca_process_eq ( struct ehca_shca shca,
int  is_irq 
)

Definition at line 549 of file ehca_irq.c.

void ehca_tasklet_eq ( unsigned long  data)

Definition at line 651 of file ehca_irq.c.

void ehca_tasklet_neq ( unsigned long  data)

Definition at line 479 of file ehca_irq.c.