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 numeric constant
> size is a 32-bit.
> In case the shift is greater than 32 the variable will lose its value even
> though
> the function can get 64-bit argument.
>
> Change the size of the numeric constant 1 to 64-bit.
>
> Fixes: 3a22f3877c9d ("net/mlx5: replace external mbuf shared memory")
> Cc: [email protected]
>
> Signed-off-by: Michael Baum <[email protected]>
Acked-by: Matan Azrad <[email protected]>
- [dpdk-dev] [PATCH 1/4] regex/mlx5: fix size of setup const... Michael Baum
- [dpdk-dev] [PATCH 2/4] compress/mlx5: fix constant si... Michael Baum
- Re: [dpdk-dev] [PATCH 2/4] compress/mlx5: fix con... Matan Azrad
- Re: [dpdk-dev] [dpdk-stable] [PATCH 2/4] compress... Thomas Monjalon
- Re: [dpdk-dev] [dpdk-stable] [PATCH 2/4] comp... Michael Baum
- [dpdk-dev] [PATCH 3/4] vdpa/mlx5: fix constant type i... Michael Baum
- [dpdk-dev] [PATCH 4/4] net/mlx5: fix constant type in... Michael Baum
- Re: [dpdk-dev] [PATCH 4/4] net/mlx5: fix constant... Matan Azrad
- Re: [dpdk-dev] [PATCH 1/4] regex/mlx5: fix size of se... Matan Azrad
- [dpdk-dev] [PATCH v2 1/4] regex/mlx5: fix size of set... Michael Baum
- [dpdk-dev] [PATCH v2 2/4] compress/mlx5: fix cons... Michael Baum
- [dpdk-dev] [PATCH v2 3/4] vdpa/mlx5: fix constant... Michael Baum
- [dpdk-dev] [PATCH v2 4/4] net/mlx5: fix constant ... Michael Baum

