Re: [PATCH 00/71] replace use of fixed size rte_memcpy

2024-03-01 Thread Ajit Khaparde
On Fri, Mar 1, 2024 at 4:55 AM Konstantin Ananyev wrote: > > > > > The DPDK has a lot of "cargo cult" usage of rte_memcpy. > > This patch set replaces cases where rte_memcpy is used with a fixed > > size constant size. > > > > Typical example is: > > rte_memcpy(mac_addrs, mac.addr_bytes, RTE

Re: [PATCH 00/71] replace use of fixed size rte_memcpy

2024-03-01 Thread David Marchand
Hello Stephen, On Fri, Mar 1, 2024 at 12:00 AM Stephen Hemminger wrote: > > The DPDK has a lot of "cargo cult" usage of rte_memcpy. > This patch set replaces cases where rte_memcpy is used with a fixed > size constant size. > > Typical example is: > rte_memcpy(mac_addrs, mac.addr_bytes, R

RE: [PATCH 00/71] replace use of fixed size rte_memcpy

2024-03-01 Thread Konstantin Ananyev
> The DPDK has a lot of "cargo cult" usage of rte_memcpy. > This patch set replaces cases where rte_memcpy is used with a fixed > size constant size. > > Typical example is: > rte_memcpy(mac_addrs, mac.addr_bytes, RTE_ETHER_ADDR_LEN); > which can be replaced with: > memcpy(mac_addrs

RE: [PATCH 00/71] replace use of fixed size rte_memcpy

2024-03-01 Thread Hemant Agrawal
For DPAAx Series- Acked-by: Hemant Agrawal smime.p7s Description: S/MIME cryptographic signature

Re: [PATCH 00/71] replace use of fixed size rte_memcpy

2024-03-01 Thread Bruce Richardson
On Thu, Feb 29, 2024 at 02:57:47PM -0800, Stephen Hemminger wrote: > The DPDK has a lot of "cargo cult" usage of rte_memcpy. > This patch set replaces cases where rte_memcpy is used with a fixed > size constant size. > > Typical example is: > rte_memcpy(mac_addrs, mac.addr_bytes, RTE_ETHER_A

[PATCH 00/71] replace use of fixed size rte_memcpy

2024-02-29 Thread Stephen Hemminger
The DPDK has a lot of "cargo cult" usage of rte_memcpy. This patch set replaces cases where rte_memcpy is used with a fixed size constant size. Typical example is: rte_memcpy(mac_addrs, mac.addr_bytes, RTE_ETHER_ADDR_LEN); which can be replaced with: memcpy(mac_addrs, mac.addr_byte