From a7dd0c8a278c1735eb6b0f75749a0d76dac350b3 Mon Sep 17 00:00:00 2001 From: Simon Zhang Date: Wed, 17 Apr 2019 19:55:44 +0800 Subject: Predicate a packet whether be marked by PKT_RX_FDIR_ID instead of PKT_RX_FDIR Change-Id: I65b1af5fa0cec4f9789f91f720d1396d06fa0206 Signed-off-by: Simon Zhang --- src/plugins/dpdk/device/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/plugins/dpdk/device/node.c b/src/plugins/dpdk/device/node.c index 4edce1a3677..dd38272ecff 100644 --- a/src/plugins/dpdk/device/node.c +++ b/src/plugins/dpdk/device/node.c @@ -258,7 +258,7 @@ dpdk_process_flow_offload (dpdk_device_t * xd, dpdk_per_thread_data_t * ptd, /* TODO prefetch and quad-loop */ for (n = 0; n < n_rx_packets; n++) { - if ((ptd->flags[n] & PKT_RX_FDIR) == 0) + if ((ptd->flags[n] & PKT_RX_FDIR_ID) == 0) continue; fle = pool_elt_at_index (xd->flow_lookup_entries, -- cgit 1.2.3-korg