build base enviroment of DPDK and Doca-Flow
More...
#include <string.h>
#include <rte_byteorder.h>
#include <doca_log.h>
#include <doca_argp.h>
#include <dpdk_utils.h>
#include <doca_flow.h>
#include <rte_ether.h>
#include <rte_ip.h>
#include <rte_udp.h>
#include <rte_tcp.h>
Go to the source code of this file.
build base enviroment of DPDK and Doca-Flow
- Author
- Mark Chen (markc.nosp@m.hen7.nosp@m.7888@.nosp@m.gmai.nosp@m.l.com)
- Version
- 1.0
- Date
- 2024-01-07
- Copyright
- Copyright (c) 2024
◆ NB_PORTS
◆ doca_ar_env_destroy()
void doca_ar_env_destroy |
( |
| ) |
|
release all the resource of dpdk and doca-flow
◆ doca_ar_env_init()
int doca_ar_env_init |
( |
int | argc, |
|
|
char ** | argv ) |
build doca-flow and dpdk env
- Parameters
-
- Returns
- int
◆ dpdk_config
struct application_dpdk_config dpdk_config |
|
extern |
◆ ports
pointer of doca-flow port
◆ to_host_port
port connected with host pf
◆ to_net_port
port connected with uplink port