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 address space of the process is 32 bits, the underlying physical address still has more bits. Even in the "olden days" with 32-bit CPUs we had PAE mode where physical addresses were 36 bits and the page table entries expanded out to 64-bits to accomodate this.
/Bruce

