Re: [dpdk-dev] [PATCH v5 3/6] net/axgbe: use common rte bit operation APIs instead

2019-12-02 Thread Thomas Monjalon
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

Re: [dpdk-dev] [PATCH v5 3/6] net/axgbe: use common rte bit operation APIs instead

2019-12-01 Thread 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. My que

[dpdk-dev] [PATCH v5 3/6] net/axgbe: use common rte bit operation APIs instead

2019-11-27 Thread Joyce Kong
Remove its own bit operation APIs and use the common one, this can reduce the code duplication largely. Signed-off-by: Joyce Kong Reviewed-by: Gavin Hu --- drivers/net/axgbe/axgbe_common.h | 29 + drivers/net/axgbe/axgbe_ethdev.c | 14 +++--- drivers/net/axgb