PKT_RX_FDIR is a bit flag, not a bit position.
Change-Id: Ib31ec9257e906b045522fa7c2b515b7b0c13bb32
Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
/* TODO prefetch and quad-loop */
for (n = 0; n < n_rx_packets; n++)
{
/* TODO prefetch and quad-loop */
for (n = 0; n < n_rx_packets; n++)
{
- if ((ptd->flags[n] & (1 << PKT_RX_FDIR)) == 0)
+ if ((ptd->flags[n] & PKT_RX_FDIR) == 0)
continue;
fle = pool_elt_at_index (xd->flow_lookup_entries,
continue;
fle = pool_elt_at_index (xd->flow_lookup_entries,