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>
This commit is contained in:
Ying A Wang 2019-10-30 02:13:41 +08:00 committed by Ferruh Yigit
parent 16e255c4b9
commit 05e7bdf57a

View File

@ -366,6 +366,7 @@ ice_fdir_init_filter_list(struct ice_pf *pf)
.hash_func = rte_hash_crc,
.hash_func_init_val = 0,
.socket_id = rte_socket_id(),
.extra_flag = RTE_HASH_EXTRA_FLAGS_EXT_TABLE,
};
/* Initialize hash */