[dpdk-dev] [PATCH 2/4] net/szedata2: use dynamically allocated queues
Ferruh Yigit
ferruh.yigit at intel.com
Fri Apr 6 15:20:33 CEST 2018
On 4/4/2018 2:42 PM, Matej Vido wrote:
> Previously the queues were the part of private data structure of the
> Ethernet device.
> Now the queues are allocated at setup thus numa-aware allocation is
> possible.
Hi Matej,
Yes by default [rt]x_queues are allocated via rte_zmalloc, which uses SOCKET_ID_ANY.
And in burst functions, we do:
nb_rx = (*dev->rx_pkt_burst)(dev->data->rx_queues[queue_id], rx_pkts, nb_pkts);
So there is an access to rx_queues in each rte_eth_rx_burst() call.
I wonder if you observe any performance difference with this update?
And what about moving to the ethdev layer instead of keeping local to the PMD?
>
> Signed-off-by: Matej Vido <vido at cesnet.cz>
<...>
More information about the dev
mailing list