diff options
author | Simon Zhang <yuwei1.zhang@intel.com> | 2019-04-17 19:55:44 +0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-04-17 13:05:31 +0000 |
commit | a7dd0c8a278c1735eb6b0f75749a0d76dac350b3 (patch) | |
tree | 1f5f010d3da6966c676a876fa68c6e9ac0da3ef0 /src/plugins | |
parent | 80f6fd53feaa10b4a798582100724075897c0944 (diff) |
Predicate a packet whether be marked by PKT_RX_FDIR_ID instead of PKT_RX_FDIR
Change-Id: I65b1af5fa0cec4f9789f91f720d1396d06fa0206
Signed-off-by: Simon Zhang <yuwei1.zhang@intel.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/dpdk/device/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |