NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
ip_frag_dp.h File Reference
#include <doca_error.h>
#include <doca_flow.h>
#include <dpdk_utils.h>
#include <stdbool.h>
Include dependency graph for ip_frag_dp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ip_frag_config
 
struct  ip_frag_pipe_cfg
 
struct  ip_frag_ctx
 

Macros

#define UNUSED(x)   ((void)(x))
 

Enumerations

enum  ip_frag_mode { IP_FRAG_MODE_BIDIR , IP_FRAG_MODE_MULTIPORT }
 
enum  ip_frag_port {
  IP_FRAG_PORT_REASSEMBLE_0 , IP_FRAG_PORT_FRAGMENT_0 , IP_FRAG_PORT_REASSEMBLE_1 , IP_FRAG_PORT_FRAGMENT_1 ,
  IP_FRAG_PORT_NUM
}
 
enum  ip_frag_rss_pipe { IP_FRAG_RSS_PIPE_IPV4 , IP_FRAG_RSS_PIPE_IPV6 , IP_FRAG_RSS_PIPE_NUM }
 

Functions

doca_error_t ip_frag (struct ip_frag_config *cfg, struct application_dpdk_config *dpdk_cfg)
 

Variables

bool force_stop
 

Macro Definition Documentation

◆ UNUSED

#define UNUSED (   x)    ((void)(x))

Definition at line 35 of file ip_frag_dp.h.

Enumeration Type Documentation

◆ ip_frag_mode

Enumerator
IP_FRAG_MODE_BIDIR 
IP_FRAG_MODE_MULTIPORT 

Definition at line 37 of file ip_frag_dp.h.

◆ ip_frag_port

Enumerator
IP_FRAG_PORT_REASSEMBLE_0 
IP_FRAG_PORT_FRAGMENT_0 
IP_FRAG_PORT_REASSEMBLE_1 
IP_FRAG_PORT_FRAGMENT_1 
IP_FRAG_PORT_NUM 

Definition at line 42 of file ip_frag_dp.h.

◆ ip_frag_rss_pipe

Enumerator
IP_FRAG_RSS_PIPE_IPV4 
IP_FRAG_RSS_PIPE_IPV6 
IP_FRAG_RSS_PIPE_NUM 

Definition at line 50 of file ip_frag_dp.h.

Function Documentation

◆ ip_frag()

doca_error_t ip_frag ( struct ip_frag_config cfg,
struct application_dpdk_config dpdk_cfg 
)

Definition at line 1243 of file ip_frag_dp.c.

Variable Documentation

◆ force_stop

bool force_stop
extern

Definition at line 71 of file ip_frag_dp.c.