From: Harry van Haaren Date: Fri, 1 May 2020 11:08:14 +0000 (+0100) Subject: test/flow_classify: enable multi-sockets system X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8978ab3b0392d1279d92c706e9e0b00703a85c18;p=dpdk.git test/flow_classify: enable multi-sockets system This commit fixes failures of the flow_classify_autotest when ran on dual-socket servers, as the sample application does not support more than a single socket. Increasing the NB_SOCKETS value allows the test to run successfully. Fixes: 9c9befea4f57 ("test: add flow classify unit tests") Cc: stable@dpdk.org Signed-off-by: Harry van Haaren Tested-by: Ferruh Yigit Tested-by: Bernard Iremonger Acked-by: Bernard Iremonger --- diff --git a/app/test/test_flow_classify.c b/app/test/test_flow_classify.c index ff5265c6af..ef0b6fdd5c 100644 --- a/app/test/test_flow_classify.c +++ b/app/test/test_flow_classify.c @@ -23,7 +23,7 @@ #define FLOW_CLASSIFY_MAX_RULE_NUM 100 #define MAX_PKT_BURST 32 -#define NB_SOCKETS 1 +#define NB_SOCKETS 4 #define MEMPOOL_CACHE_SIZE 256 #define MBUF_SIZE 512 #define NB_MBUF 512