DPDK  19.02.0
Data Fields
rte_tm_node_capabilities Struct Reference

#include <rte_tm.h>

Data Fields

int shaper_private_supported
int shaper_private_dual_rate_supported
uint64_t shaper_private_rate_min
uint64_t shaper_private_rate_max
uint32_t shaper_shared_n_max
uint64_t stats_mask
uint32_t sched_n_children_max
uint32_t sched_sp_n_priorities_max
uint32_t sched_wfq_n_children_per_group_max
uint32_t sched_wfq_n_groups_max
uint32_t sched_wfq_weight_max
struct {
   uint32_t   sched_n_children_max
   uint32_t   sched_sp_n_priorities_max
   uint32_t   sched_wfq_n_children_per_group_max
   uint32_t   sched_wfq_n_groups_max
   uint32_t   sched_wfq_weight_max
nonleaf
int cman_wred_packet_mode_supported
int cman_wred_byte_mode_supported
int cman_head_drop_supported
int cman_wred_context_private_supported
uint32_t cman_wred_context_shared_n_max
struct {
   int   cman_wred_packet_mode_supported
   int   cman_wred_byte_mode_supported
   int   cman_head_drop_supported
   int   cman_wred_context_private_supported
   uint32_t   cman_wred_context_shared_n_max
leaf

Detailed Description

Traffic manager node capabilities

Definition at line 704 of file rte_tm.h.

Field Documentation

int shaper_private_supported

Private shaper support for the current node.

Definition at line 706 of file rte_tm.h.

int shaper_private_dual_rate_supported

Dual rate shaping support for private shaper of current node. Valid only when private shaper is supported by the current node.

Definition at line 711 of file rte_tm.h.

uint64_t shaper_private_rate_min

Minimum committed/peak rate (bytes per second) for private shaper of current node. Valid only when private shaper is supported by the current node.

Definition at line 717 of file rte_tm.h.

uint64_t shaper_private_rate_max

Maximum committed/peak rate (bytes per second) for private shaper of current node. Valid only when private shaper is supported by the current node.

Definition at line 723 of file rte_tm.h.

uint32_t shaper_shared_n_max

Maximum number of shared shapers the current node can be part of. The value of zero indicates that shared shapers are not supported by the current node.

Definition at line 729 of file rte_tm.h.

uint32_t sched_n_children_max

Maximum number of children nodes.

Definition at line 736 of file rte_tm.h.

uint32_t sched_sp_n_priorities_max

Maximum number of supported priority levels. The value of zero is invalid. The value of 1 indicates that only priority 0 is supported, which essentially means that Strict Priority (SP) algorithm is not supported.

Definition at line 744 of file rte_tm.h.

uint32_t sched_wfq_n_children_per_group_max

Maximum number of sibling nodes that can have the same priority at any given time, i.e. maximum size of the WFQ sibling node group. The value of zero is invalid. The value of 1 indicates that WFQ algorithm is not supported. The maximum value is sched_n_children_max.

Definition at line 753 of file rte_tm.h.

uint32_t sched_wfq_n_groups_max

Maximum number of priority levels that can have more than one child node at any given time, i.e. maximum number of WFQ sibling node groups that have two or more members. The value of zero states that WFQ algorithm is not supported. The value of 1 indicates that (sched_sp_n_priorities_max - 1) priority levels have at most one child node, so there can be only one priority level with two or more sibling nodes making up a WFQ group. The maximum value is: min(floor(sched_n_children_max / 2), sched_sp_n_priorities_max).

Definition at line 767 of file rte_tm.h.

uint32_t sched_wfq_weight_max

Maximum WFQ weight. The value of 1 indicates that all sibling nodes with same priority have the same WFQ weight, so WFQ is reduced to FQ.

Definition at line 773 of file rte_tm.h.

struct { ... } nonleaf

Items valid only for non-leaf nodes.

int cman_wred_packet_mode_supported

WRED packet mode support for current node.

Definition at line 779 of file rte_tm.h.

int cman_wred_byte_mode_supported

WRED byte mode support for current node.

Definition at line 782 of file rte_tm.h.

int cman_head_drop_supported

Head drop algorithm support for current node.

Definition at line 785 of file rte_tm.h.

int cman_wred_context_private_supported

Private WRED context support for current node.

Definition at line 788 of file rte_tm.h.

uint32_t cman_wred_context_shared_n_max

Maximum number of shared WRED contexts the current node can be part of. The value of zero indicates that shared WRED contexts are not supported by the current node.

Definition at line 795 of file rte_tm.h.

struct { ... } leaf

Items valid only for leaf nodes.

uint64_t stats_mask

Mask of statistics counter types supported by the current node.

See Also
enum rte_tm_stats_type

Definition at line 802 of file rte_tm.h.


The documentation for this struct was generated from the following file: