test: fix flow classify test
PATCH 1/1 test: fix flow classify test
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 <[email protected]>
Signed-off-by Bernard Iremonger <[email protected]>
--- test/test/test_flow_classify.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
test/test/test_flow_classify.c +1 -4
@@ -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);
Signature · 1 line
1.9.1
Thomas Monjalon
Applied04/01/2018 11:39, Bernard Iremonger:
Quoted 4 lines
Remove the requirement to have a port bound to
igb_uioin order to run this test suite.Fixes 9c9befea4f57 ("test: add flow classify unit tests")
Quoted 3 lines
Reported by: Anatoly Burakov <[email protected]>
Signed-off-by Bernard Iremonger <[email protected]>
Applied, thanks