Re: [dpdk-dev] [PATCH v6 1/6] ethdev: allocate max space for internal queue array

2021-10-13 Thread Andrew Rybchenko
On 10/13/21 4:36 PM, Konstantin Ananyev wrote: > At queue configure stage always allocate space for maximum possible > number (RTE_MAX_QUEUES_PER_PORT) of queue pointers. > That will allow 'fast' inline functions (eth_rx_burst, etc.) to refer > pointer to internal queue data without extra checking

[dpdk-dev] [PATCH v6 1/6] ethdev: allocate max space for internal queue array

2021-10-13 Thread Konstantin Ananyev
At queue configure stage always allocate space for maximum possible number (RTE_MAX_QUEUES_PER_PORT) of queue pointers. That will allow 'fast' inline functions (eth_rx_burst, etc.) to refer pointer to internal queue data without extra checking of current number of configured queues. That would help