net/ice: fix flow rule checking
authorJeff Guo <jia.guo@intel.com>
Tue, 19 Jan 2021 08:07:31 +0000 (16:07 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 19 Jan 2021 17:30:00 +0000 (18:30 +0100)
commitd559d2048e368400feb455fa2b082eee81d2f5cc
tree8bfdc0c37d1b18538211abdb7b7596c38df284ae
parent9baf3ecf5237c38dd82c04711aca963a5eebaf69
net/ice: fix flow rule checking

Add empty item into the pattern mapping list when checking the ptype is
supported or not, since we do support the NUll pattern for rte flow in
ice pmd.

Fixes: 68b6240ee9f0 ("net/ice: refactor packet type parsing")

Signed-off-by: Jeff Guo <jia.guo@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_generic_flow.c