API Reference Manual 1.51.0
Loading...
Searching...
No Matches
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.
 
uint32_t max_pmr
 Maximum number of single-term PMRs.
 
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_pmr_priority
 Maximum priority value of a PMR.
 
uint32_t max_cos
 Maximum number of CoS supported.
 
uint32_t max_cos_stats
 Maximum number of concurrent CoS stats.
 
uint32_t max_hash_queues
 Maximum number of queues supported per CoS.
 
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.
 
odp_cls_aggr_capability_t aggr
 Event aggregator related 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 581 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 585 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 592 of file api/spec/classification.h.

◆ max_pmr_per_cos

uint32_t odp_cls_capability_t::max_pmr_per_cos

Maximum number of PMRs per CoS.

Examples
odp_sysinfo.c.

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

◆ max_terms_per_pmr

uint32_t odp_cls_capability_t::max_terms_per_pmr

Maximum number of terms per composite PMR.

Examples
odp_sysinfo.c.

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

◆ max_pmr_priority

uint32_t odp_cls_capability_t::max_pmr_priority

Maximum priority value of a PMR.

Examples
odp_sysinfo.c.

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

◆ max_cos

uint32_t odp_cls_capability_t::max_cos

Maximum number of CoS supported.

Examples
odp_bench_pktio_sp.c, and odp_sysinfo.c.

Definition at line 604 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 611 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 616 of file api/spec/classification.h.

◆ hash_protocols

odp_pktin_hash_proto_t odp_cls_capability_t::hash_protocols

Protocol header combination supported for Hashing.

Examples
odp_sysinfo.c.

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

◆ pmr_range_supported

odp_bool_t odp_cls_capability_t::pmr_range_supported

A Boolean to denote support of PMR range.

Examples
odp_sysinfo.c.

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

◆ random_early_detection

odp_support_t odp_cls_capability_t::random_early_detection

Support for Random Early Detection.

Examples
odp_sysinfo.c.

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

◆ threshold_red

odp_threshold_types_t odp_cls_capability_t::threshold_red

Supported threshold type for RED.

Examples
odp_sysinfo.c.

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

◆ back_pressure

odp_support_t odp_cls_capability_t::back_pressure

Support for Back Pressure to the remote peer.

Examples
odp_sysinfo.c.

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

◆ threshold_bp

odp_threshold_types_t odp_cls_capability_t::threshold_bp

Supported threshold type for BP.

Examples
odp_sysinfo.c.

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

◆ max_mark

uint64_t odp_cls_capability_t::max_mark

Maximum value of odp_pmr_create_opt_t::mark.

Examples
odp_sysinfo.c.

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

◆ stats

odp_cls_stats_capability_t odp_cls_capability_t::stats

Statistics counters capabilities.

Examples
odp_sysinfo.c.

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

◆ aggr

odp_cls_aggr_capability_t odp_cls_capability_t::aggr

Event aggregator related capabilities.

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


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