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

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

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

2021-10-01 Thread Pavan Nikhilesh Bhagavatula
>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 wou

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

2021-10-01 Thread Ferruh Yigit
On 10/1/2021 3:02 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 v3 1/7] ethdev: allocate max space for internal queue array

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