Re: [dpdk-dev] [PATCH] net/mlx5: fix indexed pool 32-bits build error

2020-04-19 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Suanming Mou > Sent: Saturday, April 18, 2020 4:45 AM > To: Matan Azrad ; Slava Ovsiienko > > Cc: ferruh.yi...@intel.com; Raslan Darawsheh ; > dev@dpdk.org > Subject: [PATCH] net/mlx5: fix indexed pool 32-bits build error > > Currently, 32-bits compiler

[dpdk-dev] [PATCH] net/mlx5: fix indexed pool 32-bits build error

2020-04-17 Thread Suanming Mou
Currently, 32-bits compiler treats int64_t as long long int different with 64-bits. The indexed pool dump function build will be failed in 32-bits mode. As the maximum supported entries of the indexed pool is UINT32_MAX, use the 64 bits to record the pool statistics is waste of memory. Align the s