API Reference Manual  1.45.1
odp_cls_capability_t Struct Reference

Classification capabilities This capability structure defines system level classification capability. More...

#include <classification.h>

Collaboration diagram for odp_cls_capability_t:
[legend]

Data Fields

odp_cls_pmr_terms_t supported_terms
 PMR terms supported by the classifier. More...
 
uint32_t max_pmr
 Maximum number of single-term PMRs. More...
 
uint32_t max_pmr_per_cos
 Maximum number of PMRs per CoS.
 
uint32_t max_terms_per_pmr
 Maximum number of terms per composite PMR.
 
uint32_t max_cos
 Maximum number of CoS supported.
 
uint32_t max_cos_stats
 Maximum number of concurrent CoS stats. More...
 
uint32_t max_hash_queues
 Maximum number of queues supported per CoS. More...
 
odp_pktin_hash_proto_t hash_protocols
 Protocol header combination supported for Hashing.
 
odp_bool_t pmr_range_supported
 A Boolean to denote support of PMR range.
 
odp_support_t random_early_detection
 Support for Random Early Detection.
 
odp_threshold_types_t threshold_red
 Supported threshold type for RED.
 
odp_support_t back_pressure
 Support for Back Pressure to the remote peer.
 
odp_threshold_types_t threshold_bp
 Supported threshold type for BP.
 
uint64_t max_mark
 Maximum value of odp_pmr_create_opt_t::mark.
 
odp_cls_stats_capability_t stats
 Statistics counters capabilities.
 

Detailed Description

Classification capabilities This capability structure defines system level classification capability.

Examples
odp_bench_pktio_sp.c, and odp_sysinfo.c.

Definition at line 530 of file api/spec/classification.h.

Field Documentation

◆ supported_terms

odp_cls_pmr_terms_t odp_cls_capability_t::supported_terms

PMR terms supported by the classifier.

A bit mask of one bit for each of odp_pmr_term_t.

Examples
odp_bench_pktio_sp.c, and odp_sysinfo.c.

Definition at line 534 of file api/spec/classification.h.

◆ max_pmr

uint32_t odp_cls_capability_t::max_pmr

Maximum number of single-term PMRs.

Depending on the implementation, using several/composite terms for a single PMR may end up incurring more than one PMR element from this total capacity.

Examples
odp_sysinfo.c.

Definition at line 541 of file api/spec/classification.h.

◆ max_cos_stats

uint32_t odp_cls_capability_t::max_cos_stats

Maximum number of concurrent CoS stats.

Maximum number of CoSes that can have statistics enabled at the same time. If this value is zero, then CoS level statistics are not supported.

Definition at line 557 of file api/spec/classification.h.

◆ max_hash_queues

uint32_t odp_cls_capability_t::max_hash_queues

Maximum number of queues supported per CoS.

If the value is 1, then hashing is not supported.

Examples
odp_sysinfo.c.

Definition at line 562 of file api/spec/classification.h.


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