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

2020-12-09 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Suanming Mou > Sent: Monday, December 7, 2020 7:59 AM > To: Slava Ovsiienko ; Matan Azrad > > Cc: Raslan Darawsheh ; dev@dpdk.org > Subject: [PATCH] net/mlx5: optimize tunnel offload index pool > > Currently, when creating the index pool, if the trunk si

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

2020-12-06 Thread Suanming Mou
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 in