Re: [dpdk-dev] [PATCH] vhost: avoid iotlb mempool allocation while IOMMU disabled

2021-01-31 Thread Xia, Chenbo
Hi Junjie, > -Original Message- > From: Wan Junjie > Sent: Saturday, January 30, 2021 12:39 AM > To: maxime.coque...@redhat.com; Xia, Chenbo > Cc: dev@dpdk.org; Wan Junjie ; Peng He > ; Zhihong Wang > Subject: [PATCH] vhost: avoid iotlb mempool allocation while IOMMU disabled > > If vh

[dpdk-dev] [PATCH] vhost: avoid iotlb mempool allocation while IOMMU disabled

2021-01-29 Thread Wan Junjie
If vhost device's IOMMU feature is disabled, iotlb mempool allocation is unnecessary. Reported-by: Peng He Signed-off-by: Wan Junjie Reviewed-by: Zhihong Wang --- lib/librte_vhost/vhost.c | 6 -- lib/librte_vhost/vhost_user.c | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) d