Hi,
On 2/2/21 9:38 AM, Wan Junjie wrote:
If vhost device's IOMMU feature is disabled, iotlb mempool allocation
is unnecessary.
Reported-by: Peng He <redacted>
Signed-off-by: Wan Junjie <redacted>
Welcome to the community, looking forward for more contributions!
Reviewed-by: Zhihong Wang <redacted>
And welcome back Zhihong! :)
---
lib/librte_vhost/vhost.c | 4 ++--
lib/librte_vhost/vhost_user.c | 6 +++++-
2 files changed, 7 insertions(+), 3 deletions(-)
The patch looks good to me, however this is more an optimization than a
fix. As we are late in the release cycle, I will postpone it to next
release.
Reviewed-by: Maxime Coquelin <redacted>
Thanks,
Maxime