net/ice/base: fix direction of flow that matches any
authorYuying Zhang <yuying.zhang@intel.com>
Thu, 12 May 2022 07:42:00 +0000 (07:42 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Thu, 19 May 2022 09:20:36 +0000 (11:20 +0200)
commit8b95092b7f691a888f7b1a80872b549b08ee05ad
tree7a0e39b5bbb1e924f9776b71763ded3751f943f6
parentb375bfd2cbbee7f012a6f8095047dac0d1d17ac9
net/ice/base: fix direction of flow that matches any

The tx/rx packets were both dropped when creating drop any rule
for ingress direction only, the root cause is the recipe didn't
contain direction flag matching.

This patch adds the packet flag which represents the direction of
source interface to solve the issue.

Fixes: 92317961a731 ("net/ice: support drop any and steer all to queue")
Cc: stable@dpdk.org
Signed-off-by: Yuying Zhang <yuying.zhang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/base/ice_protocol_type.h
drivers/net/ice/base/ice_switch.c