> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jerin Jacob

> Probably we can remove rte_dmadev_fill_sg() variant and keep sg only
> for copy to save 8B.

Perhaps the scatter/gather functions can be on a separate cache line, following 
the cache line with the simple functions?
Of course, this is only beneficial if the SG functions are not used with simple 
functions.
This means that we reserve space for 8 simple functions and 8 SG functions.

And if one or two functions are used with both simple and SG functions, it/they 
can be present in both cache lines. (This is somewhat dirty, but would be a 
typical implementation for a DPDK flow data structure.)

-Morten

Reply via email to