Re: [PATCH v3 00/30] replace rte_memcpy of fixed size with memcpy

2024-04-04 Thread Tyler Retzlaff
On Tue, Apr 02, 2024 at 02:50:16PM -0700, Stephen Hemminger wrote: > The DPDK has a lot of unnecessary 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_AD

RE: [PATCH v3 00/30] replace rte_memcpy of fixed size with memcpy

2024-04-04 Thread Konstantin Ananyev
> The DPDK has a lot of unnecessary 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,

[PATCH v3 00/30] replace rte_memcpy of fixed size with memcpy

2024-04-02 Thread Stephen Hemminger
The DPDK has a lot of unnecessary 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_bytes