API Reference Manual 1.51.0
Loading...
Searching...
No Matches
odp_cache_stash_region_t Struct Reference

Region specific cache stashing configuration. More...

#include <schedule_types.h>

Data Fields

struct { 
 
   uint32_t   offset 
 Byte offset into a region to start caching from. More...
 
   uint32_t   len 
 Length in bytes to cache. More...
 
} l2 
 L2 cache stashing.
 
struct { 
 
   uint32_t   offset 
 Byte offset into a region to start caching from. More...
 
   uint32_t   len 
 Length in bytes to cache. More...
 
} l3 
 L3 cache stashing.
 

Detailed Description

Region specific cache stashing configuration.

Region specific cache stashing configuration for different cache levels. Application can, for example, configure caching of certain portions of a region to L2 while configuring another portion to be cached to L3 or alternatively caching to both levels by configuring overlapping offsets and byte counts.

Examples
odp_l2fwd.c, and odp_sched_perf.c.

Definition at line 288 of file api/spec/schedule_types.h.

Field Documentation

◆ offset

uint32_t odp_cache_stash_region_t::offset

Byte offset into a region to start caching from.

Depending on the implementation, this might be rounded down to a more suitable boundary.

Examples
odp_l2fwd.c, and odp_sched_perf.c.

Definition at line 296 of file api/spec/schedule_types.h.

◆ len

uint32_t odp_cache_stash_region_t::len

Length in bytes to cache.

Depending on the implementation, this might be rounded up to a more suitable boundary.

Examples
odp_l2fwd.c, and odp_sched_perf.c.

Definition at line 303 of file api/spec/schedule_types.h.


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