On 1/31/24 20:53, 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 ("vhost: allocate and free packets in bulk in Tx split")
Cc: sta...@dpdk.org

Signed-off-by: Maxime Coquelin <maxime.coque...@redhat.com>
Signed-off-by: David Marchand <david.march...@redhat.com>
---

Changes in v2:
==============
- Fix descriptors leak (David)
- Rebased on top of next-virtio

---
  lib/vhost/virtio_net.c | 24 ++++++------------------
  1 file changed, 6 insertions(+), 18 deletions(-)


Applied to next-virtio tree.

Thanks,
Maxime

Reply via email to