iPXE
mlx_nodnic_data_structures.h File Reference

Go to the source code of this file.

Data Structures

struct  nodnic_send_wqbb
 A nodnic send wqbb. More...
struct  nodnic_doorbell
struct  nodnic_ring
struct  nodnic_send_ring
struct  nodnic_recv_ring
struct  _nodnic_qp
struct  _nodnic_cq
struct  _nodnic_eq
struct  _nodnic_device_capabilites
struct  _nodnic_uar_priv
struct  _nodnic_device_priv
struct  _nodnic_port_priv
struct  _nodnic_qp_db
struct  _nodnic_arm_cq_db

Macros

#define NODNIC_MEMORY_ALIGN   0x1000
#define NODNIC_MAX_MAC_FILTERS   5
#define NODNIC_MAX_MGID_FILTERS   4
#define NODNIC_PORT_OPENED   0b00000001
#define NODNIC_PORT_DISABLING_DMA   0b00000010
#define RECV_WQE_SIZE   16
#define NODNIC_WQBB_SIZE   64

Typedefs

typedef struct _nodnic_device_priv nodnic_device_priv
typedef struct _nodnic_port_priv nodnic_port_priv
typedef struct _nodnic_device_capabilites nodnic_device_capabilites
typedef struct _nodnic_qp nodnic_qp
typedef struct _nodnic_cq nodnic_cq
typedef struct _nodnic_eq nodnic_eq
typedef struct _nodnic_qp_db nodnic_qp_db
typedef struct _nodnic_arm_cq_db nodnic_arm_cq_db
typedef struct _nodnic_uar_priv nodnic_uar

Enumerations

enum  nodnic_hardware_format { ConnectX3 = 0 , Connectx4 }
enum  nodnic_queue_pair_type {
  NODNIC_QPT_SMI , NODNIC_QPT_GSI , NODNIC_QPT_UD , NODNIC_QPT_RC ,
  NODNIC_QPT_ETH
}
enum  nodnic_port_type { NODNIC_PORT_TYPE_IB = 0 , NODNIC_PORT_TYPE_ETH , NODNIC_PORT_TYPE_UNKNOWN }

Functions

 FILE_LICENCE (GPL2_OR_LATER)
struct _nodnic_qp_db __attribute ((packed))

Variables

mlx_uint32 recv_db
mlx_uint32 send_db
mlx_uint32 dword [2]

Macro Definition Documentation

◆ NODNIC_MEMORY_ALIGN

#define NODNIC_MEMORY_ALIGN   0x1000

◆ NODNIC_MAX_MAC_FILTERS

#define NODNIC_MAX_MAC_FILTERS   5

◆ NODNIC_MAX_MGID_FILTERS

#define NODNIC_MAX_MGID_FILTERS   4

Definition at line 31 of file mlx_nodnic_data_structures.h.

◆ NODNIC_PORT_OPENED

◆ NODNIC_PORT_DISABLING_DMA

#define NODNIC_PORT_DISABLING_DMA   0b00000010

◆ RECV_WQE_SIZE

#define RECV_WQE_SIZE   16

Definition at line 72 of file mlx_nodnic_data_structures.h.

◆ NODNIC_WQBB_SIZE

#define NODNIC_WQBB_SIZE   64

Definition at line 73 of file mlx_nodnic_data_structures.h.

Typedef Documentation

◆ nodnic_device_priv

Definition at line 33 of file mlx_nodnic_data_structures.h.

◆ nodnic_port_priv

Definition at line 34 of file mlx_nodnic_data_structures.h.

◆ nodnic_device_capabilites

◆ nodnic_qp

typedef struct _nodnic_qp nodnic_qp

Definition at line 36 of file mlx_nodnic_data_structures.h.

◆ nodnic_cq

typedef struct _nodnic_cq nodnic_cq

Definition at line 37 of file mlx_nodnic_data_structures.h.

◆ nodnic_eq

typedef struct _nodnic_eq nodnic_eq

Definition at line 38 of file mlx_nodnic_data_structures.h.

◆ nodnic_qp_db

typedef struct _nodnic_qp_db nodnic_qp_db

Definition at line 39 of file mlx_nodnic_data_structures.h.

◆ nodnic_arm_cq_db

Definition at line 40 of file mlx_nodnic_data_structures.h.

◆ nodnic_uar

typedef struct _nodnic_uar_priv nodnic_uar

Enumeration Type Documentation

◆ nodnic_hardware_format

Enumerator
ConnectX3 
Connectx4 

Definition at line 52 of file mlx_nodnic_data_structures.h.

◆ nodnic_queue_pair_type

Enumerator
NODNIC_QPT_SMI 
NODNIC_QPT_GSI 
NODNIC_QPT_UD 
NODNIC_QPT_RC 
NODNIC_QPT_ETH 

Definition at line 58 of file mlx_nodnic_data_structures.h.

◆ nodnic_port_type

Enumerator
NODNIC_PORT_TYPE_IB 
NODNIC_PORT_TYPE_ETH 
NODNIC_PORT_TYPE_UNKNOWN 

Definition at line 65 of file mlx_nodnic_data_structures.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER )

◆ __attribute()

struct _nodnic_qp_db __attribute ( (packed) )

Variable Documentation

◆ recv_db

mlx_uint32 recv_db

Definition at line 0 of file mlx_nodnic_data_structures.h.

◆ send_db

mlx_uint32 send_db

Definition at line 1 of file mlx_nodnic_data_structures.h.

◆ dword

Definition at line 0 of file mlx_nodnic_data_structures.h.