Re: 32 bit arch optimization suggestion

2023-08-25 Thread Bruce Richardson
On Fri, Aug 25, 2023 at 11:40:32AM +0200, Morten Brørup wrote: > I was wondering... > > How widely is DPDK used with 32 bit architectures? > > Both phys_addr_t and rte_iova_t are cast as uint64_t in rte_common.h. Should > they be uint32_t on 32 bit arch? > I don't think they can be. Even if the

32 bit arch optimization suggestion

2023-08-25 Thread Morten Brørup
I was wondering... How widely is DPDK used with 32 bit architectures? Both phys_addr_t and rte_iova_t are cast as uint64_t in rte_common.h. Should they be uint32_t on 32 bit arch? If so, the rte_mbuf structure has 12 unused byte in the first cache line on 32 bit arch. Now, moving the "next" (