From: Ying A Wang Date: Tue, 29 Oct 2019 18:13:41 +0000 (+0800) Subject: net/ice: fix flow director X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;ds=sidebyside;h=05e7bdf57ae7453a52a8752119ab3d7f4cf2b7a6;hp=16e255c4b9daff83ee1e7993107539af2e05da44;p=dpdk.git 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 Acked-by: Xiaolong Ye --- diff --git a/drivers/net/ice/ice_fdir_filter.c b/drivers/net/ice/ice_fdir_filter.c index 736ccd54e7..9389b1f023 100644 --- a/drivers/net/ice/ice_fdir_filter.c +++ b/drivers/net/ice/ice_fdir_filter.c @@ -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 */