]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_ethdev/rte_flow.c
app/testpmd: fix missing count action fields
[dpdk.git] / lib / librte_ethdev / rte_flow.c
index b2afba0895c579e18067df3a08201305ff3d115d..2e87e59f3f8a4df41359197a102f500822715ca3 100644 (file)
@@ -84,7 +84,7 @@ static const struct rte_flow_desc_data rte_flow_desc_action[] = {
        MK_FLOW_ACTION(FLAG, 0),
        MK_FLOW_ACTION(QUEUE, sizeof(struct rte_flow_action_queue)),
        MK_FLOW_ACTION(DROP, 0),
-       MK_FLOW_ACTION(COUNT, 0),
+       MK_FLOW_ACTION(COUNT, sizeof(struct rte_flow_action_count)),
        MK_FLOW_ACTION(RSS, sizeof(struct rte_flow_action_rss)),
        MK_FLOW_ACTION(PF, 0),
        MK_FLOW_ACTION(VF, sizeof(struct rte_flow_action_vf)),