* [dpdk-dev] [PATCH] net/ice: fix flow director
@ 2019-10-29 18:13 Ying Wang
2019-10-30 5:38 ` Ye Xiaolong
0 siblings, 1 reply; 2+ messages in thread
From: Ying Wang @ 2019-10-29 18:13 UTC (permalink / raw)
To: xiaolong.ye, qi.z.zhang; +Cc: dev, qiming.yang, ying.a.wang
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 Wang <ying.a.wang@intel.com>
---
drivers/net/ice/ice_fdir_filter.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ice/ice_fdir_filter.c b/drivers/net/ice/ice_fdir_filter.c
index 736ccd54e..9389b1f02 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 */
--
2.15.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [PATCH] net/ice: fix flow director
2019-10-29 18:13 [dpdk-dev] [PATCH] net/ice: fix flow director Ying Wang
@ 2019-10-30 5:38 ` Ye Xiaolong
0 siblings, 0 replies; 2+ messages in thread
From: Ye Xiaolong @ 2019-10-30 5:38 UTC (permalink / raw)
To: Ying Wang; +Cc: qi.z.zhang, dev, qiming.yang
On 10/30, Ying Wang wrote:
>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 Wang <ying.a.wang@intel.com>
>---
> drivers/net/ice/ice_fdir_filter.c | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/drivers/net/ice/ice_fdir_filter.c b/drivers/net/ice/ice_fdir_filter.c
>index 736ccd54e..9389b1f02 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 */
>--
>2.15.1
>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
Applied to dpdk-next-net-intel. Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-30 5:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-29 18:13 [dpdk-dev] [PATCH] net/ice: fix flow director Ying Wang
2019-10-30 5:38 ` Ye Xiaolong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).