#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
cls_params.name = "flow_classifier";
cls_params.socket_id = 0;
cls->cls = rte_flow_classifier_create(&cls_params);
+ if (cls->cls == NULL) {
+ printf("Line %i: flow classifier create has failed!\n",
+ __LINE__);
+ rte_free(cls);
+ return TEST_FAILED;
+ }
/* initialise ACL table params */
table_acl_params.n_rule_fields = RTE_DIM(ipv4_defs);