Re: [dpdk-dev] [PATCH v2] ethdev: limit maximum number of queues

2019-11-27 Thread David Marchand
On Wed, Nov 27, 2019 at 3:31 PM Thomas Monjalon wrote: > > A buffer overflow happens in testpmd with some drivers > since the queue arrays are limited to RTE_MAX_QUEUES_PER_PORT. > > The advertised capabilities of mlx4, mlx5 and softnic > for the number of queues were the maximum number: UINT16_MA

[dpdk-dev] [PATCH v2] ethdev: limit maximum number of queues

2019-11-27 Thread Thomas Monjalon
A buffer overflow happens in testpmd with some drivers since the queue arrays are limited to RTE_MAX_QUEUES_PER_PORT. The advertised capabilities of mlx4, mlx5 and softnic for the number of queues were the maximum number: UINT16_MAX. They must be limited by the configured RTE_MAX_QUEUES_PER_PORT t