> -----Original Message----- > From: David Marchand <david.march...@redhat.com> > Sent: Friday, September 16, 2022 5:02 PM > To: dev@dpdk.org > Cc: Maxime Coquelin <maxime.coque...@redhat.com>; Xia, Chenbo > <chenbo....@intel.com> > Subject: [PATCH] vhost: reduce memory footprint when IOMMU is disabled > > If an application does not request IOMMU support, we can avoid > allocating a IOMMU pool. > > This saves 112kB (IOTLB_CACHE_SIZE * sizeof(struct vhost_iotlb_entry)) > per vq. > > Signed-off-by: David Marchand <david.march...@redhat.com> > --- > lib/vhost/iotlb.c | 20 +++++++++++--------- > lib/vhost/socket.c | 4 +++- > lib/vhost/vhost.c | 7 ++++++- > lib/vhost/vhost.h | 5 ++++- > 4 files changed, 24 insertions(+), 12 deletions(-)
The compilation issue seems not related to this patch. Reviewed-by: Chenbo Xia <chenbo....@intel.com>