| NVIDIA DOCA SDK | Data Center on a Chip Framework Documentation |
#include <stdbool.h>#include <stdint.h>#include <stdlib.h>#include <doca_argp.h>#include <doca_buf.h>#include <doca_buf_inventory.h>#include <doca_ctx.h>#include <doca_pe.h>#include <doca_dev.h>#include <doca_error.h>#include <doca_log.h>#include <doca_mmap.h>#include <doca_rmax.h>#include "common.h"

Go to the source code of this file.
Data Structures | |
| struct | rmax_stream_config |
| struct | rmax_program_state |
Macros | |
| #define | MAX_BUFFERS 2 /* max number of buffers used by the samples */ |
Functions | |
| doca_error_t | register_create_stream_params (void) |
| doca_error_t | rmax_flow_set_attributes (struct rmax_stream_config *config, struct doca_rmax_flow *flow) |
| doca_error_t | rmax_stream_set_attributes (struct doca_rmax_in_stream *stream, struct rmax_stream_config *config) |
| doca_error_t | rmax_stream_start (struct rmax_program_state *state) |
| doca_error_t | rmax_stream_allocate_buf (struct rmax_program_state *state, struct doca_rmax_in_stream *stream, struct rmax_stream_config *config, struct doca_buf **buffer, uint16_t *stride_size) |
| void | rmax_create_stream_cleanup (struct rmax_program_state *state, struct doca_rmax_in_stream *stream, struct doca_rmax_flow *flow, struct doca_buf *buf) |
| #define MAX_BUFFERS 2 /* max number of buffers used by the samples */ |
Definition at line 46 of file rmax_common.h.
| doca_error_t register_create_stream_params | ( | void | ) |
Definition at line 116 of file rmax_common.c.
| void rmax_create_stream_cleanup | ( | struct rmax_program_state * | state, |
| struct doca_rmax_in_stream * | stream, | ||
| struct doca_rmax_flow * | flow, | ||
| struct doca_buf * | buf | ||
| ) |
Definition at line 375 of file rmax_common.c.
| doca_error_t rmax_flow_set_attributes | ( | struct rmax_stream_config * | config, |
| struct doca_rmax_flow * | flow | ||
| ) |
Definition at line 207 of file rmax_common.c.
| doca_error_t rmax_stream_allocate_buf | ( | struct rmax_program_state * | state, |
| struct doca_rmax_in_stream * | stream, | ||
| struct rmax_stream_config * | config, | ||
| struct doca_buf ** | buffer, | ||
| uint16_t * | stride_size | ||
| ) |
Definition at line 284 of file rmax_common.c.
| doca_error_t rmax_stream_set_attributes | ( | struct doca_rmax_in_stream * | stream, |
| struct rmax_stream_config * | config | ||
| ) |
Definition at line 226 of file rmax_common.c.
| doca_error_t rmax_stream_start | ( | struct rmax_program_state * | state | ) |
Definition at line 267 of file rmax_common.c.