]> git.droids-corp.org - dpdk.git/commit
net/ice: fix order of flow filter parser list
authorYuying Zhang <yuying.zhang@intel.com>
Tue, 2 Nov 2021 10:45:05 +0000 (10:45 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Thu, 4 Nov 2021 10:47:43 +0000 (11:47 +0100)
commit7f89f41860d64a4880197d35a47df05e7d56a6b1
tree195b7aa8cf10a8a5a22b5e443fd6f7940f95b12e
parentde39080bd68254c15f7779e89c88b5cc9842aa36
net/ice: fix order of flow filter parser list

The order of flow filter parser list was not definite and
linked to the register order of parsers. It caused ACL filter
covered by switch filter in some cases.

This patch fixed order of parser list to guarantee the usage
of each filter. Below lists the order.
ACL filter > Switch filter > FDIR > Hash filter.

Fixes: e4a0a7599d97 ("net/ice: fix flow priority support in non-pipeline mode")
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/ice_generic_flow.c