Relative Content

Tag Archive for cnetworkingdpdk

Mbufs iova-contiguous DPDK

I read packets from a NIC with DPDK into mbufs. My question is – is there a way that the mbufs I read will be IOVA-contiguous? When I iterate over the mbufs and print the iova address differences, I don’t get a constant difference. Is there a possibility so the differences will be constant? (I use huge pages of 1G)

Mempool usecases in DPDK

I’m experimenting with DPDK and I have a question about the Mempool API. As I understand, the Mempool object is used for the rte_rings and to store rte_mbufs. I was wondering – does Mempool have another usage? For example, maybe utilize its caching mechanism to store data other than mbufs?