On Mon, Jun 10, 2024 at 3:40 PM Konstantin Ananyev <konstantin.anan...@huawei.com> wrote: > > When the rte_memcpy() size is 16, the same 16 bytes are copied twice. > > In the case where the size is known to be 16 at build time, omit the > > duplicate copy. > > > > Reduced the amount of effectively copy-pasted code by using #ifdef > > inside functions instead of outside functions. > > > > Suggested-by: Stephen Hemminger <step...@networkplumber.org> > > Signed-off-by: Morten Brørup <m...@smartsharesystems.com> > > Acked-by: Bruce Richardson <bruce.richard...@intel.com> > Acked-by: Konstantin Ananyev <konstantin.anan...@huawei.com>
Applied, thanks for the cleanup. -- David Marchand