NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
worker_rdmo.h File Reference
#include <doca_log.h>
#include <doca_error.h>
#include <ucp/api/ucp.h>
#include <ucs/datastruct/khash.h>
#include <ucs/datastruct/list.h>
#include <ucs/datastruct/mpool.h>
#include <doca_urom_plugin.h>
Include dependency graph for worker_rdmo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ucp_data
 
struct  urom_worker_rdmo_ep
 
struct  urom_worker_rdmo_rq
 
struct  urom_worker_rdmo_mkey
 
struct  urom_worker_rdmo_client
 
struct  urom_worker_rdmo_req_ops
 
struct  urom_worker_rdmo_req
 
struct  urom_worker_rdmo
 
struct  urom_worker_rdmo_iface
 

Macros

#define UROM_RDMO_AM_ID   0 /* RDMO AM id */
 
#define UROM_RDMO_HDR_LEN_MAX   64 /* Must fit struct urom_rdmo_hdr and urom_rdmo_xxx_hdr_t */
 

Functions

 KHASH_MAP_INIT_INT64 (ep, struct urom_worker_rdmo_ep *)
 
 KHASH_MAP_INIT_INT64 (rq, struct urom_worker_rdmo_rq *)
 
 KHASH_MAP_INIT_INT64 (mem_cache, uint64_t)
 
 KHASH_MAP_INIT_INT64 (mkey, struct urom_worker_rdmo_mkey *)
 
 KHASH_MAP_INIT_INT64 (client, struct urom_worker_rdmo_client *)
 
doca_error_t urom_worker_rdmo_req_queue (struct urom_worker_rdmo_req *req)
 
doca_error_t urom_plugin_get_iface (struct urom_plugin_iface *iface)
 
doca_error_t urom_plugin_get_version (uint64_t *version)
 

Variables

struct urom_worker_rdmo_req_opsurom_worker_rdmo_ops_table []
 

Macro Definition Documentation

◆ UROM_RDMO_AM_ID

#define UROM_RDMO_AM_ID   0 /* RDMO AM id */

Definition at line 39 of file worker_rdmo.h.

◆ UROM_RDMO_HDR_LEN_MAX

#define UROM_RDMO_HDR_LEN_MAX   64 /* Must fit struct urom_rdmo_hdr and urom_rdmo_xxx_hdr_t */

Definition at line 40 of file worker_rdmo.h.

Function Documentation

◆ KHASH_MAP_INIT_INT64() [1/5]

KHASH_MAP_INIT_INT64 ( client  ,
struct urom_worker_rdmo_client  
)

◆ KHASH_MAP_INIT_INT64() [2/5]

KHASH_MAP_INIT_INT64 ( ep  ,
struct urom_worker_rdmo_ep  
)

◆ KHASH_MAP_INIT_INT64() [3/5]

KHASH_MAP_INIT_INT64 ( mem_cache  ,
uint64_t   
)

◆ KHASH_MAP_INIT_INT64() [4/5]

KHASH_MAP_INIT_INT64 ( mkey  ,
struct urom_worker_rdmo_mkey  
)

◆ KHASH_MAP_INIT_INT64() [5/5]

KHASH_MAP_INIT_INT64 ( rq  ,
struct urom_worker_rdmo_rq  
)

◆ urom_plugin_get_iface()

doca_error_t urom_plugin_get_iface ( struct urom_plugin_iface iface)

Definition at line 987 of file worker_rdmo.c.

◆ urom_plugin_get_version()

doca_error_t urom_plugin_get_version ( uint64_t *  version)

Definition at line 997 of file worker_rdmo.c.

◆ urom_worker_rdmo_req_queue()

doca_error_t urom_worker_rdmo_req_queue ( struct urom_worker_rdmo_req req)

Definition at line 786 of file worker_rdmo_ops.c.

Variable Documentation

◆ urom_worker_rdmo_ops_table

struct urom_worker_rdmo_req_ops* urom_worker_rdmo_ops_table[]
extern

Definition at line 780 of file worker_rdmo_ops.c.