iPXE
Data Structures | Defines | Typedefs | Enumerations | Functions | Variables
mlx_nodnic_data_structures.h File Reference
#include "../../mlx_utils/include/public/mlx_utils.h"

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

Defines

#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]

Define Documentation

#define NODNIC_MEMORY_ALIGN   0x1000
#define NODNIC_MAX_MAC_FILTERS   5
#define NODNIC_MAX_MGID_FILTERS   4

Definition at line 31 of file mlx_nodnic_data_structures.h.

#define NODNIC_PORT_OPENED   0b00000001
#define NODNIC_PORT_DISABLING_DMA   0b00000010
#define RECV_WQE_SIZE   16

Definition at line 72 of file mlx_nodnic_data_structures.h.

#define NODNIC_WQBB_SIZE   64

Definition at line 73 of file mlx_nodnic_data_structures.h.


Typedef Documentation

Definition at line 33 of file mlx_nodnic_data_structures.h.

Definition at line 34 of file mlx_nodnic_data_structures.h.

Definition at line 35 of file mlx_nodnic_data_structures.h.

typedef struct _nodnic_qp nodnic_qp

Definition at line 36 of file mlx_nodnic_data_structures.h.

typedef struct _nodnic_cq nodnic_cq

Definition at line 37 of file mlx_nodnic_data_structures.h.

typedef struct _nodnic_eq nodnic_eq

Definition at line 38 of file mlx_nodnic_data_structures.h.

typedef struct _nodnic_qp_db nodnic_qp_db

Definition at line 39 of file mlx_nodnic_data_structures.h.

Definition at line 40 of file mlx_nodnic_data_structures.h.

typedef struct _nodnic_uar_priv nodnic_uar

Enumeration Type Documentation

Enumerator:
ConnectX3 
Connectx4 

Definition at line 52 of file mlx_nodnic_data_structures.h.

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.

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 ( GPL2_OR_LATER  )
struct _nodnic_qp_db __attribute ( (packed)  )

Variable Documentation

Definition at line 227 of file mlx_nodnic_data_structures.h.

Definition at line 228 of file mlx_nodnic_data_structures.h.

Definition at line 231 of file mlx_nodnic_data_structures.h.