Skip to content

Commit

Permalink
net/ice: fix flow director
Browse files Browse the repository at this point in the history
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: 1a2fc17 ("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>
  • Loading branch information
yingwana3 authored and Ferruh Yigit committed Nov 8, 2019
1 parent 16e255c commit 05e7bdf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ice/ice_fdir_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 05e7bdf

Please sign in to comment.