#include <time.h>
#include <unistd.h>
#include <doca_flow.h>
#include <doca_buf.h>
#include <doca_buf_inventory.h>
#include <doca_ctx.h>
#include <doca_eth_rxq.h>
#include <doca_eth_rxq_cpu_data_path.h>
#include <doca_error.h>
#include <doca_log.h>
#include "common.h"
#include "eth_common.h"
#include "eth_rxq_common.h"
Go to the source code of this file.
◆ BUFS_NUM
| #define BUFS_NUM 1 /* Number of DOCA buffers */ |
◆ MAX_BURST_SIZE
| #define MAX_BURST_SIZE 256 /* Max burst size to set for eth_rxq */ |
◆ MAX_PKT_SIZE
| #define MAX_PKT_SIZE 1600 /* Max packet size to set for eth_rxq */ |
◆ RECV_TASK_USER_DATA
| #define RECV_TASK_USER_DATA 0x43210 /* User data for receive task */ |
◆ SLEEP_IN_NANOS
| #define SLEEP_IN_NANOS (10 * 1000) /* sample the task every 10 microseconds */ |
◆ TASKS_NUM
| #define TASKS_NUM 1 /* Tasks number */ |
◆ check_device()
| static doca_error_t check_device |
( |
struct doca_devinfo * |
devinfo | ) |
|
|
static |
◆ create_eth_rxq_ctx()
◆ create_eth_rxq_packet_buffer()
◆ create_eth_rxq_tasks()
◆ destroy_eth_rxq_ctx()
◆ destroy_eth_rxq_packet_buffers()
◆ destroy_eth_rxq_tasks()
◆ DOCA_LOG_REGISTER()
| DOCA_LOG_REGISTER |
( |
ETH_RXQ_REGULAR_RECEIVE |
| ) |
|
◆ eth_rxq_cleanup()
◆ eth_rxq_regular_receive()
| doca_error_t eth_rxq_regular_receive |
( |
const char * |
ib_dev_name, |
|
|
bool |
timestamp_enable |
|
) |
| |
◆ retrieve_rxq_recv_tasks()
◆ submit_eth_rxq_tasks()
◆ task_recv_common_cb()
| static void task_recv_common_cb |
( |
struct doca_eth_rxq_task_recv * |
task_recv, |
|
|
union doca_data |
task_user_data, |
|
|
union doca_data |
ctx_user_data |
|
) |
| |
|
static |