net/ice: fix ESP flow director with SPI as input set
authorSimei Su <simei.su@intel.com>
Tue, 13 Jul 2021 02:10:24 +0000 (10:10 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Fri, 16 Jul 2021 08:11:30 +0000 (10:11 +0200)
commita02d9d9bae6ed3ad0021af7aee6f6f2241f9dacf
tree9e6aa08334983b2f1f3d25f7c0231a57b5bc40d4
parent0a37b22875d67f37a561012e30456ad51bd79061
net/ice: fix ESP flow director with SPI as input set

FDIR can't work when SPI as inputset for both ESP over IP and ESP
over UDP flow. This patch fixes this issue by adding the corresponding
input set for ESP over IP and ESP over UDP when parsing input set. Also,
it adds input set bit for NAT_T_ESP to distinguish ESP over IP and ESP
over UDP.

Fixes: 70feafc1a3f2 ("net/ice: support ESP/NATT flow director to match outer IP")

Signed-off-by: Simei Su <simei.su@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_fdir_filter.c
drivers/net/ice/ice_generic_flow.h