It should be safe adding __rte_restrict to the "ring_table" and "obj_table"
pointers.
I don't know if it makes any real difference; these functions are called from
applications via function pointers where the function type doesn't have
__rte_restrict to the arrays. If __rte_restrict were added
Note upfront: that change doesn't introduce any functional
or performance changes.
It is just a code-reordering for:
- improve code modularity and re-usability
- ability in future to re-use the same code to introduce new functionality
There is no real need for enqueue_elems()/dequeue_elems()
to
2 matches
Mail list logo