From: Bruce Richardson <bruce.richardson@intel.com>
To: "Morten Brørup" <mb@smartsharesystems.com>
Cc: <dev@dpdk.org>, Ruifeng Wang <ruifeng.wang@arm.com>,
<konstantin.v.ananyev@yandex.ru>, <olivier.matz@6wind.com>
Subject: Re: 32 bit arch optimization suggestion
Date: Fri, 25 Aug 2023 10:50:36 +0100 [thread overview]
Message-ID: <ZOh5bLhYu6mJV8cT@bricha3-MOBL.ger.corp.intel.com> (raw)
In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35D87B3C@smartserver.smartshare.dk>
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
prev parent reply other threads:[~2023-08-25 9:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-25 9:40 Morten Brørup
2023-08-25 9:50 ` Bruce Richardson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZOh5bLhYu6mJV8cT@bricha3-MOBL.ger.corp.intel.com \
--to=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=konstantin.v.ananyev@yandex.ru \
--cc=mb@smartsharesystems.com \
--cc=olivier.matz@6wind.com \
--cc=ruifeng.wang@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).