net/ice: add error cases for wrong packages
authorSimei Su <simei.su@intel.com>
Thu, 7 Nov 2019 07:34:43 +0000 (15:34 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 11 Nov 2019 13:23:02 +0000 (14:23 +0100)
commit1a5a8a8efd5abe5d66c4a338bb3ee50c916342d6
tree540a1c6b4a75fc6df4ed33d439038e126aa99346
parent2d2c2efeda176962a9ba9b46a10d3f6bf8f30c48
net/ice: add error cases for wrong packages

If the switch/fdir/hash module can't resolve a correct parser,
it should return error.

Fixes: 47d460d63233 ("net/ice: rework switch filter")
Fixes: efc16c621415 ("net/ice: support flow director GTPU tunnel")
Fixes: 5ad3db8d4bdd ("net/ice: enable advanced RSS")

Signed-off-by: Simei Su <simei.su@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/ice_fdir_filter.c
drivers/net/ice/ice_hash.c
drivers/net/ice/ice_switch_filter.c