aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/flow.c
diff options
context:
space:
mode:
authorEyal Bari <ebari@cisco.com>2018-05-16 12:15:32 +0300
committerDamjan Marion <dmarion.lists@gmail.com>2018-05-17 11:07:22 +0000
commit4b11d0316b4142c018c8dafcc9ef5d5717268948 (patch)
tree814b91f18c041f03a5c088f5ab584b81b54e8461 /src/plugins/dpdk/device/flow.c
parent70a26ac05f2ab9d4cc0669599b09f654de580f36 (diff)
flow:redirect to node
Change-Id: I4b6577b496c56f27f07dd0066fcfdfd0cebb6f1a Signed-off-by: Eyal Bari <ebari@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/device/flow.c')
-rw-r--r--src/plugins/dpdk/device/flow.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/dpdk/device/flow.c b/src/plugins/dpdk/device/flow.c
index a0eb95f8fa0..af0c4b6e6bf 100644
--- a/src/plugins/dpdk/device/flow.c
+++ b/src/plugins/dpdk/device/flow.c
@@ -220,11 +220,10 @@ dpdk_flow_ops_fn (vnet_main_t * vnm, vnet_flow_dev_op_t op, u32 dev_instance,
goto done;
}
-
*private_data = fe - xd->flow_entries;
/* install entry in the lookup table */
- memset (fle, ~1, sizeof (*fle));
+ memset (fle, -1, sizeof (*fle));
if (flow->actions & VNET_FLOW_ACTION_MARK)
fle->flow_id = flow->mark_flow_id;
if (flow->actions & VNET_FLOW_ACTION_REDIRECT_TO_NODE)