Re: [dpdk-dev] [PATCH 4/4] net/mlx5: fix constant type in MP allocation

2021-06-07 Thread Matan Azrad
From: Michael Baum: > The mlx5_mprq_alloc_mp function makes shifting to the numeric constant 1, > for sending it as a parameter to rte_mempool_create function. > > The rte_mempool_create function expects to get void pointer (64 bits, > uintptr_t) and instead gets a 32-bit variable, because the

[dpdk-dev] [PATCH 4/4] net/mlx5: fix constant type in MP allocation

2021-06-01 Thread Michael Baum
The mlx5_mprq_alloc_mp function makes shifting to the numeric constant 1, for sending it as a parameter to rte_mempool_create function. The rte_mempool_create function expects to get void pointer (64 bits, uintptr_t) and instead gets a 32-bit variable, because the numeric constant size is a 32-bit