* [dpdk-dev] [PATCH] test: fix flow classify test
@ 2018-01-04 10:39 Bernard Iremonger
2018-01-18 0:07 ` Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: Bernard Iremonger @ 2018-01-04 10:39 UTC (permalink / raw)
To: dev, anatoly.burakov; +Cc: Bernard Iremonger
Remove the requirement to have a port bound to igb_uio in
order to run this test suite.
Fixes: 9c9befea4f57 ("test: add flow classify unit tests")
Reported by: Anatoly Burakov <anatoly.burakov@intel.com>
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
---
test/test/test_flow_classify.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/test/test/test_flow_classify.c b/test/test/test_flow_classify.c
index 9f331cd..a3bfd1d 100644
--- a/test/test/test_flow_classify.c
+++ b/test/test/test_flow_classify.c
@@ -610,18 +610,15 @@ struct flow_classifier_acl {
struct rte_table_acl_params table_acl_params;
struct rte_flow_classify_table_params cls_table_params;
struct rte_flow_classifier_params cls_params;
- int socket_id;
int ret;
uint32_t size;
- socket_id = rte_eth_dev_socket_id(0);
-
/* Memory allocation */
size = RTE_CACHE_LINE_ROUNDUP(sizeof(struct flow_classifier_acl));
cls = rte_zmalloc(NULL, size, RTE_CACHE_LINE_SIZE);
cls_params.name = "flow_classifier";
- cls_params.socket_id = socket_id;
+ cls_params.socket_id = 0;
cls_params.type = RTE_FLOW_CLASSIFY_TABLE_TYPE_ACL;
cls->cls = rte_flow_classifier_create(&cls_params);
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-18 0:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-04 10:39 [dpdk-dev] [PATCH] test: fix flow classify test Bernard Iremonger
2018-01-18 0:07 ` Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).