[dpdk-dev] [PATCH v5 3/6] net/axgbe: use common rte bit operation APIs instead
Thomas Monjalon
thomas at monjalon.net
Mon Dec 2 10:12:28 CET 2019
02/12/2019 07:09, Gavin Hu (Arm Technology China):
> Hi Bruce, Thomas,
>
> This series of patches was reported a compilation issue[1] on 32bit Ubuntu.
> On mainstream 64-bit OS, "unsigned long" is 64-bit in size and we uses the 64-bit variant of APIs. But the 32-bit OS expect 32-bit 'unsigned long' arguments.
> This is where the error happens.
Please could you be more specific? What is the exact error?
> My question is how 32-bit OSes shall we support, put another way, can we ignore this compilation issue?
> If we still need to care, how about making 'obsolete' of 'unsigned long' and use 'uint32' instead to be multi-OS friendly?
Which unsigned long?
If it is in the (not merged) bit API, it can still be changed no?
More information about the dev
mailing list