net/ice: fix flow API framework
authorYing A Wang <ying.a.wang@intel.com>
Mon, 28 Oct 2019 17:43:36 +0000 (01:43 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Nov 2019 22:15:04 +0000 (23:15 +0100)
commit4e27d3ed02bd9d24daadc347ec1c130dab766065
treee5d04b6c8d4836d776aff970e3da90a086a70f60
parent260dd6952600b5b44d0a1ce70a582116e6bd74fa
net/ice: fix flow API framework

In non-pipeline mode, switch should be used as FDIR'S backup.
The patch fixed rule can't be created when FDIR'S flow table is full.

Fixes: 7615a6895009 ("net/ice: rework for generic flow enabling")

Signed-off-by: Ying A Wang <ying.a.wang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/ice_generic_flow.c