[dpdk-dev] [PATCH] net/mlx5: optimize tunnel offload index pool

Raslan Darawsheh rasland at nvidia.com
Wed Dec 9 10:12:33 CET 2020


Hi,

> -----Original Message-----
> From: Suanming Mou <suanmingm at nvidia.com>
> Sent: Monday, December 7, 2020 7:59 AM
> To: Slava Ovsiienko <viacheslavo at nvidia.com>; Matan Azrad
> <matan at nvidia.com>
> Cc: Raslan Darawsheh <rasland at nvidia.com>; dev at dpdk.org
> Subject: [PATCH] net/mlx5: optimize tunnel offload index pool
> 
> Currently, when creating the index pool, if the trunk size is not
> configured, the index pool default trunk size will be 4096.
> 
> The maximum tunnel offload supported now is 256(MLX5_MAX_TUNNELS),
> create the index pool with trunk size 4096 wastes the memory.
> 
> This commits changes the tunnel offload index pool trunk size to
> MLX5_MAX_TUNNELS to save the memory.
> 
> Signed-off-by: Suanming Mou <suanmingm at nvidia.com>
> Reviewed-by: Gregory Etelson <getelson at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list