net/ice: fix flow director
authorYing A Wang <ying.a.wang@intel.com>
Tue, 29 Oct 2019 18:13:41 +0000 (02:13 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Nov 2019 22:15:04 +0000 (23:15 +0100)
commit05e7bdf57ae7453a52a8752119ab3d7f4cf2b7a6
treee51a8037d9be5550add0da69de09e49af052580a
parent16e255c4b9daff83ee1e7993107539af2e05da44
net/ice: fix flow director

Flow director rule can't be created when the flow table is nearly full.
The patch fixed this issue to enable created flows reaching the maximum
number.

Fixes: 1a2fc1799f09 ("net/ice: reject duplicated flow for flow director")

Signed-off-by: Ying A Wang <ying.a.wang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/ice_fdir_filter.c