#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <sys/time.h>
#include <inttypes.h>
#include <sys/types.h>
#include <sys/queue.h>
#include <netinet/in.h>
#include <setjmp.h>
#include <stdarg.h>
#include <ctype.h>
#include <errno.h>
#include <stdbool.h>
#include <rte_eal.h>
#include <rte_common.h>
#include <rte_malloc.h>
#include <rte_ether.h>
#include <rte_ethdev.h>
#include <rte_mempool.h>
#include <rte_mbuf.h>
#include <rte_net.h>
#include <rte_flow.h>
#include <doca_argp.h>
#include <doca_flow.h>
#include <doca_log.h>
#include <dpdk_utils.h>
#include <utils.h>
#include "simple_fwd_ft.h"
#include "simple_fwd_port.h"
#include "simple_fwd_vnf_core.h"
Go to the source code of this file.
|
| #define | VNF_PKT_L2(M) rte_pktmbuf_mtod(M, uint8_t *) /* A marco that points to the start of the data in the mbuf */ |
| |
| #define | VNF_PKT_LEN(M) rte_pktmbuf_pkt_len(M) /* A marco that returns the length of the packet */ |
| |
| #define | VNF_RX_BURST_SIZE (32) /* Burst size of packets to read, RX burst read size */ |
| |
◆ VNF_PKT_L2
| #define VNF_PKT_L2 |
( |
|
M | ) |
rte_pktmbuf_mtod(M, uint8_t *) /* A marco that points to the start of the data in the mbuf */ |
◆ VNF_PKT_LEN
| #define VNF_PKT_LEN |
( |
|
M | ) |
rte_pktmbuf_pkt_len(M) /* A marco that returns the length of the packet */ |
◆ VNF_RX_BURST_SIZE
| #define VNF_RX_BURST_SIZE (32) /* Burst size of packets to read, RX burst read size */ |
◆ age_thread_callback()
| static doca_error_t age_thread_callback |
( |
void * |
param, |
|
|
void * |
config |
|
) |
| |
|
static |
◆ DOCA_LOG_REGISTER()
| DOCA_LOG_REGISTER |
( |
SIMPLE_FWD_VNF :Core |
| ) |
|
◆ hairpinq_callback()
| static doca_error_t hairpinq_callback |
( |
void * |
param, |
|
|
void * |
config |
|
) |
| |
|
static |
◆ hw_offload_callback()
| static doca_error_t hw_offload_callback |
( |
void * |
param, |
|
|
void * |
config |
|
) |
| |
|
static |
◆ nr_queues_callback()
| static doca_error_t nr_queues_callback |
( |
void * |
param, |
|
|
void * |
config |
|
) |
| |
|
static |
◆ register_simple_fwd_params()
◆ rx_only_callback()
| static doca_error_t rx_only_callback |
( |
void * |
param, |
|
|
void * |
config |
|
) |
| |
|
static |
◆ simple_fwd_destroy()
| void simple_fwd_destroy |
( |
struct app_vnf * |
vnf | ) |
|
◆ simple_fwd_map_queue()
| void simple_fwd_map_queue |
( |
uint16_t |
nb_queues | ) |
|
◆ simple_fwd_process_offload()
| static void simple_fwd_process_offload |
( |
struct rte_mbuf * |
mbuf, |
|
|
uint16_t |
queue_id, |
|
|
struct app_vnf * |
vnf |
|
) |
| |
|
static |
◆ simple_fwd_process_pkts()
| int simple_fwd_process_pkts |
( |
void * |
process_pkts_params | ) |
|
◆ simple_fwd_process_pkts_stop()
| void simple_fwd_process_pkts_stop |
( |
void |
| ) |
|
◆ stats_callback()
| static doca_error_t stats_callback |
( |
void * |
param, |
|
|
void * |
config |
|
) |
| |
|
static |
◆ vnf_adjust_mbuf()
◆ core_params_arr
◆ force_quit