| NVIDIA DOCA SDK | Data Center on a Chip Framework Documentation |
#include <arpa/inet.h>#include <doca_flow.h>#include <doca_log.h>#include "gpunetio_common.h"#include "common.h"
Go to the source code of this file.
Macros | |
| #define | FLOW_NB_COUNTERS 524228 /* 1024 x 512 */ |
| #define | MBUF_NUM 8192 |
| #define | MBUF_SIZE 2048 |
Functions | |
| DOCA_LOG_REGISTER (SIMPLE_RECEIVE :SAMPLE) | |
| static void | signal_handler (int signum) |
| static doca_error_t | init_doca_device (char *nic_pcie_addr, struct doca_dev **ddev) |
| static doca_error_t | init_doca_flow (void) |
| static doca_error_t | start_doca_flow (struct doca_dev *dev) |
| static doca_error_t | create_udp_pipe (struct rxq_queue *rxq) |
| static doca_error_t | create_root_pipe (struct rxq_queue *rxq) |
| static doca_error_t | destroy_rxq (struct rxq_queue *rxq) |
| static doca_error_t | create_rxq (struct rxq_queue *rxq, struct doca_gpu *gpu_dev, struct doca_dev *ddev) |
| doca_error_t | gpunetio_simple_receive (struct sample_send_wait_cfg *sample_cfg) |
Variables | |
| struct doca_flow_port * | df_port |
| bool | force_quit |
| #define FLOW_NB_COUNTERS 524228 /* 1024 x 512 */ |
Definition at line 34 of file gpunetio_simple_receive_sample.c.
| #define MBUF_NUM 8192 |
Definition at line 35 of file gpunetio_simple_receive_sample.c.
| #define MBUF_SIZE 2048 |
Definition at line 36 of file gpunetio_simple_receive_sample.c.
|
static |
Definition at line 278 of file gpunetio_simple_receive_sample.c.
|
static |
Definition at line 454 of file gpunetio_simple_receive_sample.c.
|
static |
Definition at line 179 of file gpunetio_simple_receive_sample.c.
|
static |
Definition at line 376 of file gpunetio_simple_receive_sample.c.
| DOCA_LOG_REGISTER | ( | SIMPLE_RECEIVE :SAMPLE | ) |
| doca_error_t gpunetio_simple_receive | ( | struct sample_send_wait_cfg * | sample_cfg | ) |
Definition at line 618 of file gpunetio_simple_receive_sample.c.
|
static |
Definition at line 63 of file gpunetio_simple_receive_sample.c.
|
static |
Definition at line 87 of file gpunetio_simple_receive_sample.c.
|
static |
Definition at line 48 of file gpunetio_simple_receive_sample.c.
|
static |
Definition at line 137 of file gpunetio_simple_receive_sample.c.
| struct doca_flow_port* df_port |
Definition at line 38 of file gpunetio_simple_receive_sample.c.
| bool force_quit |
Definition at line 39 of file gpunetio_simple_receive_sample.c.