> On 19.11.2020., at 16:14, Solis JR, M. (Mauricio) via lists.fd.io > <[email protected]> wrote: > > Hi, > > I am trying to figure out where VPP allocates memory for the DPDK TX queues. > > In dpdk/common.c > I am seeing a call to: vec_validate_aligned (xd->tx_queues, xd->tx_q_used - > 1, CLIB_CACHE_LINE_BYTES) > I'm not if this allocates memory for each queue since I'm not seeing a size > other than for alignment. > > A bit further down, > rte_eth_tx_queue_setup is called, but no queue memory is actually provided. > > Can someone shed light as to how VPP allocates memory for the TX rings?
VPP doesn’t allocate TX descriptor memory, that memory is allocated by DPDK. — Damjan
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18100): https://lists.fd.io/g/vpp-dev/message/18100 Mute This Topic: https://lists.fd.io/mt/78366962/21656 Mute #vpp:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp Mute #vnet:https://lists.fd.io/g/vpp-dev/mutehashtag/vnet Mute #dpdk:https://lists.fd.io/g/vpp-dev/mutehashtag/dpdk Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
