]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
dpdk: fix mempool cache error message
authorLukas Sismis <lsismis@oisf.net>
Wed, 12 Oct 2022 12:24:07 +0000 (14:24 +0200)
committerVictor Julien <vjulien@oisf.net>
Thu, 13 Oct 2022 09:25:31 +0000 (11:25 +0200)
src/runmode-dpdk.c

index 5d1f081025758f289c71203ca84921370990f8f1..f4b3e27fe15cb4a1d783e95b92936257f084bc74 100644 (file)
@@ -450,7 +450,8 @@ static int ConfigSetMempoolCacheSize(DPDKIfaceConfig *iconf, const char *entry_s
 
     if (iconf->mempool_cache_size <= 0 || iconf->mempool_cache_size > RTE_MEMPOOL_CACHE_MAX_SIZE) {
         SCLogError(SC_ERR_INVALID_VALUE,
-                "Interface %s requires to have positive memory pool size and be less than %" PRIu32,
+                "Interface %s requires to have mempool cache size set to a positive number smaller "
+                "than %" PRIu32,
                 iconf->iface, RTE_MEMPOOL_CACHE_MAX_SIZE);
         SCReturnInt(-ERANGE);
     }