FD.io VPP  v16.06
Vector Packet Processing
dpdk.h File Reference
+ Include dependency graph for dpdk.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dpdk_frame_t
 
struct  dpdk_efd_agent_t
 
struct  dpdk_vu_vring
 
struct  dpdk_vu_intf_t
 
struct  tx_ring_hdr_t
 
struct  dpdk_device_t
 
struct  frame_queue_trace_t
 
struct  frame_queue_nelt_counter_t
 
struct  dpdk_worker_t
 
struct  dpdk_device_and_queue_t
 
struct  dpdk_efd_t
 
struct  dpdk_main_t
 
struct  dpdk_tx_dma_trace_t
 
struct  dpdk_rx_dma_trace_t
 

Macros

#define always_inline   static inline
 
#define NB_MBUF   (32<<10)
 
#define foreach_dpdk_pmd
 
#define DPDK_EFD_MAX_DISCARD_RATE   10
 
#define MAX_NELTS   32
 
#define DPDK_TX_RING_SIZE   (4 * 1024)
 
#define DPDK_STATS_POLL_INTERVAL   (10.0)
 
#define DPDK_MIN_STATS_POLL_INTERVAL   (0.001) /* 1msec */
 
#define DPDK_LINK_POLL_INTERVAL   (3.0)
 
#define DPDK_MIN_LINK_POLL_INTERVAL   (0.001) /* 1msec */
 
#define DPDK_EFD_DISABLED   0
 
#define DPDK_EFD_DISCARD_ENABLED   (1 << 0)
 
#define DPDK_EFD_MONITOR_ENABLED   (1 << 1)
 
#define DPDK_EFD_DROPALL_ENABLED   (1 << 2)
 
#define DPDK_EFD_DEFAULT_DEVICE_QUEUE_HI_THRESH_PCT   90
 
#define DPDK_EFD_DEFAULT_CONSEC_FULL_FRAMES_HI_THRESH   6
 
#define foreach_dpdk_error
 
#define EFD_OPERATION_LESS_THAN   0
 
#define EFD_OPERATION_GREATER_OR_EQUAL   1
 

Typedefs

typedef void(* dpdk_flowcontrol_callback_t) (vlib_main_t *vm, u32 hw_if_index, u32 n_packets)
 
typedef struct dpdk_efd_t dpdk_efd_t
 
typedef void(* dpdk_io_thread_callback_t) (vlib_main_t *vm)
 
typedef struct vhost_user_memory vhost_user_memory_t
 

Enumerations

enum  dpdk_device_type_t { VNET_DPDK_DEV_ETH = 1, VNET_DPDK_DEV_KNI, VNET_DPDK_DEV_VHOST_USER, VNET_DPDK_DEV_UNKNOWN }
 
enum  dpdk_pmd_t { VNET_DPDK_PMD_NONE, VNET_DPDK_PMD_UNKNOWN }
 
enum  dpdk_port_type_t {
  VNET_DPDK_PORT_TYPE_ETH_1G, VNET_DPDK_PORT_TYPE_ETH_10G, VNET_DPDK_PORT_TYPE_ETH_40G, VNET_DPDK_PORT_TYPE_ETH_BOND,
  VNET_DPDK_PORT_TYPE_ETH_SWITCH, VNET_DPDK_PORT_TYPE_AF_PACKET, VNET_DPDK_PORT_TYPE_UNKNOWN
}
 
enum  dpdk_rx_next_t {
  DPDK_RX_NEXT_IP4_INPUT, DPDK_RX_NEXT_IP6_INPUT, DPDK_RX_NEXT_MPLS_INPUT, DPDK_RX_NEXT_ETHERNET_INPUT,
  DPDK_RX_NEXT_DROP, DPDK_RX_N_NEXT
}
 
enum  dpdk_error_t { DPDK_N_ERROR }
 

Functions

void vnet_buffer_needs_dpdk_mb (vlib_buffer_t *b)
 
void dpdk_set_next_node (dpdk_rx_next_t, char *)
 
clib_error_tdpdk_set_mac_address (vnet_hw_interface_t *hi, char *address)
 
clib_error_tdpdk_set_mc_filter (vnet_hw_interface_t *hi, struct ether_addr mc_addr_vec[], int naddr)
 
void dpdk_io_thread (vlib_worker_thread_t *w, u32 instances, u32 instance_id, char *worker_name, dpdk_io_thread_callback_t callback)
 
void dpdk_thread_input (dpdk_main_t *dm, dpdk_device_t *xd)
 
clib_error_tdpdk_port_setup (dpdk_main_t *dm, dpdk_device_t *xd)
 
void dpdk_set_flowcontrol_callback (vlib_main_t *vm, dpdk_flowcontrol_callback_t callback)
 
u32 dpdk_interface_tx_vector (vlib_main_t *vm, u32 dev_instance)
 
vlib_frame_queue_elt_tvlib_get_handoff_queue_elt (u32 vlib_worker_index)
 
u32 dpdk_get_handoff_node_index (void)
 
void set_efd_bitmap (u8 *bitmap, u32 value, u32 op)
 
struct rte_mbuf * dpdk_replicate_packet_mb (vlib_buffer_t *b)
 
struct rte_mbuf * dpdk_zerocopy_replicate_packet_mb (vlib_buffer_t *b)
 
static_always_inline void increment_efd_drop_counter (vlib_main_t *vm, u32 counter_index, u32 count)
 
int dpdk_set_stat_poll_interval (f64 interval)
 
int dpdk_set_link_state_poll_interval (f64 interval)
 
void dpdk_update_link_state (dpdk_device_t *xd, f64 now)
 
void dpdk_device_lock_init (dpdk_device_t *xd)
 
void dpdk_device_lock_free (dpdk_device_t *xd)
 
void dpdk_efd_update_counters (dpdk_device_t *xd, u32 n_buffers, u16 enabled)
 
u32 is_efd_discardable (vlib_thread_main_t *tm, vlib_buffer_t *b0, struct rte_mbuf *mb)
 
u8 dpdk_vhost_user_want_interrupt (dpdk_device_t *xd, int idx)
 
void dpdk_vhost_user_send_interrupt (vlib_main_t *vm, dpdk_device_t *xd, int idx)
 
static u64 vnet_get_aggregate_rx_packets (void)
 
void dpdk_rx_trace (dpdk_main_t *dm, vlib_node_runtime_t *node, dpdk_device_t *xd, u16 queue_id, u32 *buffers, uword n_buffers)
 
void efd_config (u32 enabled, u32 ip_prec, u32 ip_op, u32 mpls_exp, u32 mpls_op, u32 vlan_cos, u32 vlan_op)
 
void post_sw_interface_set_flags (vlib_main_t *vm, u32 sw_if_index, u32 flags)
 
void dpdk_vhost_user_process_init (void **ctx)
 
void dpdk_vhost_user_process_cleanup (void *ctx)
 
uword dpdk_vhost_user_process_if (vlib_main_t *vm, dpdk_device_t *xd, void *ctx)
 
int dpdk_vhost_user_create_if (vnet_main_t *vnm, vlib_main_t *vm, const char *sock_filename, u8 is_server, u32 *sw_if_index, u64 feature_mask, u8 renumber, u32 custom_dev_instance, u8 *hwaddr)
 
int dpdk_vhost_user_modify_if (vnet_main_t *vnm, vlib_main_t *vm, const char *sock_filename, u8 is_server, u32 sw_if_index, u64 feature_mask, u8 renumber, u32 custom_dev_instance)
 
int dpdk_vhost_user_delete_if (vnet_main_t *vnm, vlib_main_t *vm, u32 sw_if_index)
 
int dpdk_vhost_user_dump_ifs (vnet_main_t *vnm, vlib_main_t *vm, vhost_user_intf_details_t **out_vuids)
 
u32 dpdk_get_admin_up_down_in_progress (void)
 
u32 dpdk_num_mbufs (void)
 
int dpdk_io_thread_release (void)
 
dpdk_pmd_t dpdk_get_pmd_type (vnet_hw_interface_t *hi)
 
i8 dpdk_get_cpu_socket (vnet_hw_interface_t *hi)
 
uword dpdk_input_rss (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *f)
 
clib_error_tdpdk_get_hw_interface_stats (u32 hw_if_index, struct rte_eth_stats *dest)
 
static void dpdk_pmd_constructor_init ()
 

Variables

vnet_device_class_t dpdk_device_class
 
vlib_node_registration_t dpdk_input_node
 (constructor) VLIB_REGISTER_NODE (dpdk_input_node) More...
 
vlib_node_registration_t dpdk_io_input_node
 (constructor) VLIB_REGISTER_NODE (dpdk_io_input_node) More...
 
vlib_node_registration_t handoff_dispatch_node
 (constructor) VLIB_REGISTER_NODE (handoff_dispatch_node) More...
 
dpdk_main_t dpdk_main
 
format_function_t format_dpdk_device_name
 
format_function_t format_dpdk_device
 
format_function_t format_dpdk_tx_dma_trace
 
format_function_t format_dpdk_rx_dma_trace
 
format_function_t format_dpdk_rte_mbuf
 
format_function_t format_dpdk_rx_rte_mbuf
 
unformat_function_t unformat_socket_mem
 

Macro Definition Documentation

#define always_inline   static inline

Definition at line 59 of file dpdk.h.

#define DPDK_EFD_DEFAULT_CONSEC_FULL_FRAMES_HI_THRESH   6

Definition at line 304 of file dpdk.h.

#define DPDK_EFD_DEFAULT_DEVICE_QUEUE_HI_THRESH_PCT   90

Definition at line 303 of file dpdk.h.

#define DPDK_EFD_DISABLED   0

Definition at line 298 of file dpdk.h.

#define DPDK_EFD_DISCARD_ENABLED   (1 << 0)

Definition at line 299 of file dpdk.h.

#define DPDK_EFD_DROPALL_ENABLED   (1 << 2)

Definition at line 301 of file dpdk.h.

#define DPDK_EFD_MAX_DISCARD_RATE   10

Definition at line 125 of file dpdk.h.

#define DPDK_EFD_MONITOR_ENABLED   (1 << 1)

Definition at line 300 of file dpdk.h.

#define DPDK_LINK_POLL_INTERVAL   (3.0)

Definition at line 282 of file dpdk.h.

#define DPDK_MIN_LINK_POLL_INTERVAL   (0.001) /* 1msec */

Definition at line 283 of file dpdk.h.

#define DPDK_MIN_STATS_POLL_INTERVAL   (0.001) /* 1msec */

Definition at line 280 of file dpdk.h.

#define DPDK_STATS_POLL_INTERVAL   (10.0)

Definition at line 279 of file dpdk.h.

#define DPDK_TX_RING_SIZE   (4 * 1024)

Definition at line 277 of file dpdk.h.

#define EFD_OPERATION_GREATER_OR_EQUAL   1

Definition at line 546 of file dpdk.h.

#define EFD_OPERATION_LESS_THAN   0

Definition at line 545 of file dpdk.h.

#define foreach_dpdk_error
Value:
_(NONE, "no error") \
_(RX_PACKET_ERROR, "Rx packet errors") \
_(RX_BAD_FCS, "Rx bad fcs") \
_(L4_CHECKSUM_ERROR, "Rx L4 checksum errors") \
_(IP_CHECKSUM_ERROR, "Rx ip checksum errors") \
_(RX_ALLOC_FAIL, "rx buf alloc from free list failed") \
_(RX_ALLOC_NO_PHYSMEM, "rx buf alloc failed no physmem") \
_(RX_ALLOC_DROP_PKTS, "rx packets dropped due to alloc error") \
_(IPV4_EFD_DROP_PKTS, "IPV4 Early Fast Discard rx drops") \
_(IPV6_EFD_DROP_PKTS, "IPV6 Early Fast Discard rx drops") \
_(MPLS_EFD_DROP_PKTS, "MPLS Early Fast Discard rx drops") \
_(VLAN_EFD_DROP_PKTS, "VLAN Early Fast Discard rx drops")

Definition at line 477 of file dpdk.h.

#define foreach_dpdk_pmd
Value:
_ ("rte_nicvf_pmd", THUNDERX) \
_ ("rte_em_pmd", E1000EM) \
_ ("rte_igb_pmd", IGB) \
_ ("rte_igbvf_pmd", IGBVF) \
_ ("rte_ixgbe_pmd", IXGBE) \
_ ("rte_ixgbevf_pmd", IXGBEVF) \
_ ("rte_i40e_pmd", I40E) \
_ ("rte_i40evf_pmd", I40EVF) \
_ ("rte_virtio_pmd", VIRTIO) \
_ ("rte_vice_pmd", VICE) \
_ ("rte_enic_pmd", ENIC) \
_ ("rte_vmxnet3_pmd", VMXNET3) \
_ ("AF_PACKET PMD", AF_PACKET) \
_ ("rte_bond_pmd", BOND) \
_ ("rte_pmd_fm10k", FM10K) \
_ ("rte_cxgbe_pmd", CXGBE)

Definition at line 78 of file dpdk.h.

#define MAX_NELTS   32

Definition at line 260 of file dpdk.h.

#define NB_MBUF   (32<<10)

Definition at line 64 of file dpdk.h.

Typedef Documentation

typedef struct dpdk_efd_t dpdk_efd_t
typedef void(* dpdk_flowcontrol_callback_t) (vlib_main_t *vm, u32 hw_if_index, u32 n_packets)

Definition at line 174 of file dpdk.h.

typedef void(* dpdk_io_thread_callback_t) (vlib_main_t *vm)

Definition at line 452 of file dpdk.h.

Definition at line 555 of file dpdk.h.

Enumeration Type Documentation

Enumerator
VNET_DPDK_DEV_ETH 
VNET_DPDK_DEV_KNI 
VNET_DPDK_DEV_VHOST_USER 
VNET_DPDK_DEV_UNKNOWN 

Definition at line 71 of file dpdk.h.

Enumerator
DPDK_N_ERROR 

Definition at line 491 of file dpdk.h.

enum dpdk_pmd_t
Enumerator
VNET_DPDK_PMD_NONE 
VNET_DPDK_PMD_UNKNOWN 

Definition at line 96 of file dpdk.h.

Enumerator
VNET_DPDK_PORT_TYPE_ETH_1G 
VNET_DPDK_PORT_TYPE_ETH_10G 
VNET_DPDK_PORT_TYPE_ETH_40G 
VNET_DPDK_PORT_TYPE_ETH_BOND 
VNET_DPDK_PORT_TYPE_ETH_SWITCH 
VNET_DPDK_PORT_TYPE_AF_PACKET 
VNET_DPDK_PORT_TYPE_UNKNOWN 

Definition at line 107 of file dpdk.h.

Enumerator
DPDK_RX_NEXT_IP4_INPUT 
DPDK_RX_NEXT_IP6_INPUT 
DPDK_RX_NEXT_MPLS_INPUT 
DPDK_RX_NEXT_ETHERNET_INPUT 
DPDK_RX_NEXT_DROP 
DPDK_RX_N_NEXT 

Definition at line 417 of file dpdk.h.

Function Documentation

void dpdk_device_lock_free ( dpdk_device_t xd)

Definition at line 219 of file init.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void dpdk_device_lock_init ( dpdk_device_t xd)

Definition at line 205 of file init.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void dpdk_efd_update_counters ( dpdk_device_t xd,
u32  n_buffers,
u16  enabled 
)

Definition at line 398 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 dpdk_get_admin_up_down_in_progress ( void  )

Definition at line 1204 of file device.c.

+ Here is the caller graph for this function:

i8 dpdk_get_cpu_socket ( vnet_hw_interface_t hi)

Definition at line 1379 of file device.c.

u32 dpdk_get_handoff_node_index ( void  )

Definition at line 266 of file node.c.

clib_error_t* dpdk_get_hw_interface_stats ( u32  hw_if_index,
struct rte_eth_stats *  dest 
)

Definition at line 1319 of file device.c.

+ Here is the call graph for this function:

dpdk_pmd_t dpdk_get_pmd_type ( vnet_hw_interface_t hi)

Definition at line 1362 of file device.c.

uword dpdk_input_rss ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t f 
)

Definition at line 805 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 dpdk_interface_tx_vector ( vlib_main_t vm,
u32  dev_instance 
)

Definition at line 527 of file device.c.

+ Here is the call graph for this function:

void dpdk_io_thread ( vlib_worker_thread_t w,
u32  instances,
u32  instance_id,
char *  worker_name,
dpdk_io_thread_callback_t  callback 
)

Definition at line 1079 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int dpdk_io_thread_release ( void  )

Definition at line 1352 of file device.c.

u32 dpdk_num_mbufs ( void  )

Definition at line 1342 of file device.c.

static void dpdk_pmd_constructor_init ( )
inlinestatic

Definition at line 606 of file dpdk.h.

+ Here is the caller graph for this function:

clib_error_t* dpdk_port_setup ( dpdk_main_t dm,
dpdk_device_t xd 
)

Definition at line 66 of file init.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

struct rte_mbuf* dpdk_replicate_packet_mb ( vlib_buffer_t b)

Definition at line 80 of file device.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void dpdk_rx_trace ( dpdk_main_t dm,
vlib_node_runtime_t node,
dpdk_device_t xd,
u16  queue_id,
u32 buffers,
uword  n_buffers 
)

Definition at line 343 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void dpdk_set_flowcontrol_callback ( vlib_main_t vm,
dpdk_flowcontrol_callback_t  callback 
)

Definition at line 1195 of file device.c.

int dpdk_set_link_state_poll_interval ( f64  interval)

Definition at line 1542 of file init.c.

+ Here is the caller graph for this function:

clib_error_t* dpdk_set_mac_address ( vnet_hw_interface_t hi,
char *  address 
)

Definition at line 47 of file device.c.

clib_error_t* dpdk_set_mc_filter ( vnet_hw_interface_t hi,
struct ether_addr  mc_addr_vec[],
int  naddr 
)

Definition at line 64 of file device.c.

void dpdk_set_next_node ( dpdk_rx_next_t  ,
char *   
)

Definition at line 857 of file node.c.

+ Here is the caller graph for this function:

int dpdk_set_stat_poll_interval ( f64  interval)

Definition at line 1532 of file init.c.

+ Here is the caller graph for this function:

void dpdk_thread_input ( dpdk_main_t dm,
dpdk_device_t xd 
)
void dpdk_update_link_state ( dpdk_device_t xd,
f64  now 
)

Definition at line 1243 of file init.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int dpdk_vhost_user_create_if ( vnet_main_t vnm,
vlib_main_t vm,
const char *  sock_filename,
u8  is_server,
u32 sw_if_index,
u64  feature_mask,
u8  renumber,
u32  custom_dev_instance,
u8 hwaddr 
)

Definition at line 1396 of file vhost_user.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int dpdk_vhost_user_delete_if ( vnet_main_t vnm,
vlib_main_t vm,
u32  sw_if_index 
)

Definition at line 1492 of file vhost_user.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int dpdk_vhost_user_dump_ifs ( vnet_main_t vnm,
vlib_main_t vm,
vhost_user_intf_details_t **  out_vuids 
)

Definition at line 1525 of file vhost_user.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int dpdk_vhost_user_modify_if ( vnet_main_t vnm,
vlib_main_t vm,
const char *  sock_filename,
u8  is_server,
u32  sw_if_index,
u64  feature_mask,
u8  renumber,
u32  custom_dev_instance 
)

Definition at line 1442 of file vhost_user.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void dpdk_vhost_user_process_cleanup ( void ctx)

Definition at line 1615 of file vhost_user.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uword dpdk_vhost_user_process_if ( vlib_main_t vm,
dpdk_device_t xd,
void ctx 
)

Definition at line 1620 of file vhost_user.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void dpdk_vhost_user_process_init ( void **  ctx)

Definition at line 1603 of file vhost_user.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void dpdk_vhost_user_send_interrupt ( vlib_main_t vm,
dpdk_device_t xd,
int  idx 
)

Definition at line 852 of file vhost_user.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8 dpdk_vhost_user_want_interrupt ( dpdk_device_t xd,
int  idx 
)

Definition at line 836 of file vhost_user.c.

+ Here is the caller graph for this function:

struct rte_mbuf* dpdk_zerocopy_replicate_packet_mb ( vlib_buffer_t b)

Definition at line 150 of file device.c.

+ Here is the call graph for this function:

void efd_config ( u32  enabled,
u32  ip_prec,
u32  ip_op,
u32  mpls_exp,
u32  mpls_op,
u32  vlan_cos,
u32  vlan_op 
)

Definition at line 1977 of file node.c.

+ Here is the call graph for this function:

static_always_inline void increment_efd_drop_counter ( vlib_main_t vm,
u32  counter_index,
u32  count 
)

Definition at line 502 of file dpdk.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 is_efd_discardable ( vlib_thread_main_t tm,
vlib_buffer_t b0,
struct rte_mbuf *  mb 
)

Definition at line 435 of file node.c.

+ Here is the caller graph for this function:

void post_sw_interface_set_flags ( vlib_main_t vm,
u32  sw_if_index,
u32  flags 
)

Definition at line 1266 of file device.c.

+ Here is the call graph for this function:

void set_efd_bitmap ( u8 bitmap,
u32  value,
u32  op 
)

Definition at line 1963 of file node.c.

+ Here is the caller graph for this function:

vlib_frame_queue_elt_t* vlib_get_handoff_queue_elt ( u32  vlib_worker_index)
inline

Definition at line 881 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vnet_buffer_needs_dpdk_mb ( vlib_buffer_t b)
static u64 vnet_get_aggregate_rx_packets ( void  )
inlinestatic

Definition at line 526 of file dpdk.h.

+ Here is the call graph for this function:

Variable Documentation

vnet_device_class_t dpdk_device_class
vlib_node_registration_t dpdk_input_node

(constructor) VLIB_REGISTER_NODE (dpdk_input_node)

Definition at line 829 of file node.c.

vlib_node_registration_t dpdk_io_input_node

(constructor) VLIB_REGISTER_NODE (dpdk_io_input_node)

Definition at line 1934 of file node.c.

dpdk_main_t dpdk_main

Definition at line 415 of file dpdk.h.

format_function_t format_dpdk_device

Definition at line 597 of file dpdk.h.

format_function_t format_dpdk_device_name

Definition at line 596 of file dpdk.h.

format_function_t format_dpdk_rte_mbuf

Definition at line 600 of file dpdk.h.

format_function_t format_dpdk_rx_dma_trace

Definition at line 599 of file dpdk.h.

format_function_t format_dpdk_rx_rte_mbuf

Definition at line 601 of file dpdk.h.

format_function_t format_dpdk_tx_dma_trace

Definition at line 598 of file dpdk.h.

vlib_node_registration_t handoff_dispatch_node
Initial value:
= {
.name = "handoff-dispatch",
.vector_size = sizeof (u32),
.n_next_nodes = DPDK_RX_N_NEXT,
.next_nodes = {
[DPDK_RX_NEXT_DROP] = "error-drop",
[DPDK_RX_NEXT_ETHERNET_INPUT] = "ethernet-input",
[DPDK_RX_NEXT_IP4_INPUT] = "ip4-input",
[DPDK_RX_NEXT_IP6_INPUT] = "ip6-input",
[DPDK_RX_NEXT_MPLS_INPUT] = "mpls-gre-input",
},
}
bad routing header type(not 4)") sr_error (NO_MORE_SEGMENTS
static u8 * format_handoff_dispatch_trace(u8 *s, va_list *args)
Definition: node.c:66
#define VLIB_NODE_FLAG_IS_HANDOFF
Definition: node.h:222
static char * handoff_dispatch_error_strings[]
Definition: node.c:93
static uword handoff_dispatch_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: node.c:107
#define ARRAY_LEN(x)
Definition: clib.h:59
unsigned int u32
Definition: types.h:88
u32 flags
Definition: vhost-user.h:73

(constructor) VLIB_REGISTER_NODE (handoff_dispatch_node)

Definition at line 232 of file node.c.

unformat_function_t unformat_socket_mem

Definition at line 602 of file dpdk.h.