DPDK  19.08.2
Data Structures | Macros
rte_distributor_private.h File Reference

Go to the source code of this file.

Data Structures

union  rte_distributor_buffer_v20
 
struct  rte_distributor_buffer
 

Macros

#define RTE_DISTRIB_NO_BUF   0
 
#define RTE_DISTRIB_GET_BUF   (1)
 
#define RTE_DISTRIB_RETURN_BUF   (2)
 
#define RTE_DISTRIB_VALID_BUF   (4)
 
#define RTE_DISTRIB_MAX_WORKERS   64
 
#define RTE_DISTRIBUTOR_NAMESIZE   32
 

Detailed Description

RTE distributor

The distributor is a component which is designed to pass packets one-at-a-time to workers, with dynamic load balancing.

Definition in file rte_distributor_private.h.

Macro Definition Documentation

#define RTE_DISTRIB_NO_BUF   0

empty flags: no buffer requested

Definition at line 31 of file rte_distributor_private.h.

#define RTE_DISTRIB_GET_BUF   (1)

worker requests a buffer, returns old

Definition at line 32 of file rte_distributor_private.h.

#define RTE_DISTRIB_RETURN_BUF   (2)

worker returns a buffer, no request

Definition at line 33 of file rte_distributor_private.h.

#define RTE_DISTRIB_VALID_BUF   (4)

set if bufptr contains ptr

Definition at line 34 of file rte_distributor_private.h.

#define RTE_DISTRIB_MAX_WORKERS   64

Maximum number of workers allowed. Be aware of increasing the limit, because it is limited by how we track in-flight tags. See in_flight_bitmask and rte_distributor_process

Definition at line 47 of file rte_distributor_private.h.

#define RTE_DISTRIBUTOR_NAMESIZE   32

Length of name for instance

Definition at line 49 of file rte_distributor_private.h.