Re: [dpdk-dev] [PATCH v5 2/7] ethdev: allocate max space for internal queue array

2021-10-11 Thread Andrew Rybchenko
On 10/12/21 2:06 AM, Ananyev, Konstantin 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 withou

Re: [dpdk-dev] [PATCH v5 2/7] ethdev: allocate max space for internal queue array

2021-10-11 Thread Ananyev, Konstantin
> >>> 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 con

Re: [dpdk-dev] [PATCH v5 2/7] ethdev: allocate max space for internal queue array

2021-10-11 Thread Andrew Rybchenko
On 10/11/21 7:25 PM, Ananyev, Konstantin 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 of

Re: [dpdk-dev] [PATCH v5 2/7] ethdev: allocate max space for internal queue array

2021-10-11 Thread Ananyev, Konstantin
> > 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 q

Re: [dpdk-dev] [PATCH v5 2/7] ethdev: allocate max space for internal queue array

2021-10-11 Thread Andrew Rybchenko
On 10/7/21 2:27 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 o

[dpdk-dev] [PATCH v5 2/7] ethdev: allocate max space for internal queue array

2021-10-07 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