Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions
smi.h File Reference
#include <rdma/ib_smi.h>

Go to the source code of this file.

Enumerations

enum  smi_action { IB_SMI_DISCARD, IB_SMI_HANDLE }
 
enum  smi_forward_action { IB_SMI_LOCAL, IB_SMI_SEND, IB_SMI_FORWARD }
 

Functions

enum smi_action smi_handle_dr_smp_recv (struct ib_smp *smp, u8 node_type, int port_num, int phys_port_cnt)
 
int smi_get_fwd_port (struct ib_smp *smp)
 
enum smi_forward_action smi_check_forward_dr_smp (struct ib_smp *smp)
 
enum smi_action smi_handle_dr_smp_send (struct ib_smp *smp, u8 node_type, int port_num)
 

Enumeration Type Documentation

enum smi_action
Enumerator:
IB_SMI_DISCARD 
IB_SMI_HANDLE 

Definition at line 43 of file smi.h.

Enumerator:
IB_SMI_LOCAL 
IB_SMI_SEND 
IB_SMI_FORWARD 

Definition at line 48 of file smi.h.

Function Documentation

enum smi_forward_action smi_check_forward_dr_smp ( struct ib_smp smp)

Definition at line 212 of file smi.c.

int smi_get_fwd_port ( struct ib_smp smp)

Definition at line 249 of file smi.c.

enum smi_action smi_handle_dr_smp_recv ( struct ib_smp smp,
u8  node_type,
int  port_num,
int  phys_port_cnt 
)

Definition at line 131 of file smi.c.

enum smi_action smi_handle_dr_smp_send ( struct ib_smp smp,
u8  node_type,
int  port_num 
)

Definition at line 46 of file smi.c.