> > Add #ifndef MAX_QUEUES to change MAX_QUEUES at compile time if needed. > > Change MAX_QUEUES from 512 to 128 to reduce the number of hugepages > > required by the vhost-switch program. > > > > To change MAX_QUEUES add '-D MAX_QUEUES=512' to the EXTRA_CFLAGS variable, > > before building the application. > > > > Changes in v3: > > Added #ifndef MAX_QUEUES line before #define MAX_QUEUES 128 > > > > Changes in v2: > > remove comment added before #define MAX_QUEUES in v1 patch. > > > > Signed-off-by: Bernard Iremonger <bernard.iremonger at intel.com> > > Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
Applied, thanks