Re: [PATCH 1/2] vhost: fix memory leak in Virtio Tx split path

2024-01-31 Thread Maxime Coquelin
Hi David, On 1/31/24 14:19, David Marchand wrote: On Wed, Jan 31, 2024 at 10:31 AM Maxime Coquelin wrote: When vIOMMU is enabled and Virtio device is bound to kernel driver in guest, rte_vhost_dequeue_burst() will often return early because of IOTLB misses. This patch fixes a mbuf leak occur

Re: [PATCH 1/2] vhost: fix memory leak in Virtio Tx split path

2024-01-31 Thread David Marchand
On Wed, Jan 31, 2024 at 10:31 AM Maxime Coquelin wrote: > > When vIOMMU is enabled and Virtio device is bound to kernel > driver in guest, rte_vhost_dequeue_burst() will often return > early because of IOTLB misses. > > This patch fixes a mbuf leak occurring in this case. > > Fixes: 242695f6122a (

[PATCH 1/2] vhost: fix memory leak in Virtio Tx split path

2024-01-31 Thread Maxime Coquelin
When vIOMMU is enabled and Virtio device is bound to kernel driver in guest, rte_vhost_dequeue_burst() will often return early because of IOTLB misses. This patch fixes a mbuf leak occurring in this case. Fixes: 242695f6122a ("vhost: allocate and free packets in bulk in Tx split") Cc: sta...@dpdk