|
static __rte_experimental __rte_always_inline struct rte_graph_feature_arc_mbuf_dynfields * | rte_graph_feature_arc_mbuf_dynfields_get (struct rte_mbuf *mbuf, const int dyn_offset) |
|
static __rte_experimental __rte_always_inline int | rte_graph_feature_is_valid (rte_graph_feature_t feature) |
|
static __rte_experimental __rte_always_inline int | rte_graph_feature_data_is_valid (rte_graph_feature_data_t feature_data) |
|
static __rte_experimental __rte_always_inline struct rte_graph_feature_arc * | rte_graph_feature_arc_get (rte_graph_feature_arc_t arc) |
|
static __rte_experimental __rte_always_inline struct rte_graph_feature_data * | __rte_graph_feature_data_get (struct rte_graph_feature_arc *arc, rte_graph_feature_data_t fdata) |
|
static __rte_experimental __rte_always_inline rte_edge_t | __rte_graph_feature_data_edge_get (struct rte_graph_feature_data *fdata) |
|
static __rte_experimental __rte_always_inline uint16_t | __rte_graph_feature_data_app_cookie_get (struct rte_graph_feature_data *fdata) |
|
static __rte_experimental __rte_always_inline rte_graph_feature_data_t | __rte_graph_feature_data_next_feature_get (struct rte_graph_feature_data *fdata) |
|
static __rte_experimental __rte_always_inline uint16_t | rte_graph_feature_data_app_cookie_get (struct rte_graph_feature_arc *arc, rte_graph_feature_data_t fdata) |
|
static __rte_experimental __rte_always_inline int | rte_graph_feature_data_next_feature_get (struct rte_graph_feature_arc *arc, rte_graph_feature_data_t *fdata, rte_edge_t *next_edge) |
|
static __rte_experimental __rte_always_inline struct rte_graph_feature_data * | rte_graph_feature_data_get (struct rte_graph_feature_arc *arc, rte_graph_feature_data_t fdata) |
|
static __rte_experimental __rte_always_inline int | rte_graph_feature_data_first_feature_get (struct rte_graph_feature_arc *arc, uint32_t index, rte_graph_feature_data_t *fdata, rte_edge_t *edge) |
|
static __rte_experimental __rte_always_inline uint64_t | rte_graph_feature_arc_is_any_feature_enabled (struct rte_graph_feature_arc *arc) |
|
static __rte_experimental __rte_always_inline void | rte_graph_feature_arc_prefetch (struct rte_graph_feature_arc *arc) |
|
static __rte_experimental __rte_always_inline void | rte_graph_feature_arc_feature_data_prefetch (struct rte_graph_feature_arc *arc, rte_graph_feature_data_t fdata) |
|
- Warning
- EXPERIMENTAL: All functions in this file may be changed or removed without prior notice.
Fast path Graph feature arc API
Definition in file rte_graph_feature_arc_worker.h.
Get dynfield offset to feature arc specific fields in mbuf
Feature arc mbuf dynamic field is separate to utilize mbuf->dynfield2 instead of dynfield1
This arc specific dynamic offset is registered as part of rte_graph_feature_arc_init() and copied in each arc for fast path access. This avoids node maintaining dynamic offset for feature arc and if we are lucky, field would be allocated from mbuf->dynfield2. Otherwise each node has to maintain at least two dynamic offset in fast path
- Parameters
-
mbuf | Pointer to mbuf |
dyn_offset | Retrieved from arc->mbuf_dyn_offset |
- Returns
- NULL: On Failure Non-NULL pointer on Success
Definition at line 307 of file rte_graph_feature_arc_worker.h.