#include <stdbool.h>
#include <stdint.h>
#include <stdnoreturn.h>
#include <unistd.h>
#include <doca_buf.h>
#include <doca_buf_inventory.h>
#include <doca_dev.h>
#include <doca_mmap.h>
#include <doca_pe.h>
#include <doca_rmax.h>
Go to the source code of this file.
|
| #define | APP_NAME "doca_stream_receive_perf" |
| |
| #define | MAX_BUFFERS 2 /* Maximum number of buffers allowed */ |
| |
|
| bool | init_config (struct app_config *config) |
| |
| void | destroy_config (struct app_config *config) |
| |
| bool | register_argp_params (void) |
| |
| bool | mandatory_args_set (struct app_config *config) |
| |
| void | list_devices (void) |
| |
| struct doca_dev * | open_device (struct in_addr *dev_ip) |
| |
| doca_error_t | init_globals (struct app_config *config, struct doca_dev *dev, struct globals *globals) |
| |
| bool | destroy_globals (struct globals *globals, struct doca_dev *dev) |
| |
| doca_error_t | init_stream (struct app_config *config, struct doca_dev *dev, struct globals *globals, struct stream_data *data) |
| |
| bool | destroy_stream (struct doca_dev *dev, struct globals *globals, struct stream_data *data) |
| |
| bool | run_recv_loop (const struct app_config *config, struct globals *globals, struct stream_data *data) |
| |
◆ APP_NAME
| #define APP_NAME "doca_stream_receive_perf" |
◆ MAX_BUFFERS
| #define MAX_BUFFERS 2 /* Maximum number of buffers allowed */ |
◆ scatter_type
◆ timestamp_format
| Enumerator |
|---|
| TIMESTAMP_FORMAT_RAW_COUNTER | |
| TIMESTAMP_FORMAT_FREE_RUNNING | |
| TIMESTAMP_FORMAT_PTP_SYNCED | |
Definition at line 51 of file stream_receive_perf_core.h.
◆ destroy_config()
◆ destroy_globals()
| bool destroy_globals |
( |
struct globals * |
globals, |
|
|
struct doca_dev * |
dev |
|
) |
| |
◆ destroy_stream()
◆ init_config()
◆ init_globals()
◆ init_stream()
◆ list_devices()
| void list_devices |
( |
void |
| ) |
|
◆ mandatory_args_set()
◆ open_device()
| struct doca_dev* open_device |
( |
struct in_addr * |
dev_ip | ) |
|
◆ register_argp_params()
| bool register_argp_params |
( |
void |
| ) |
|
Register parameters for command-line arguments parser
- Returns
- : DOCA_SUCCESS on success and DOCA error otherwise
Definition at line 462 of file stream_receive_perf_core.c.
◆ run_recv_loop()