[PATCH 2/2] net/hns3: fix cannot fully use hardware flow director table

Stephen Hemminger stephen at networkplumber.org
Thu Nov 7 17:21:39 CET 2024


On Thu, 7 Nov 2024 19:56:45 +0800
Jie Hai <haijie1 at huawei.com> wrote:

> From: Dengdui Huang <huangdengdui at huawei.com>
> 
> The hns3 driver checks whether the flow rule is repeatedly inserted based
> on rte_hash. Currently, the rte_hash extendable bucket table feature is not
> enabled. When there are many hash conflicts, the hash table space cannot be
> fully used. So the flow rule maybe cannot be inserted even if the hardware
> flow director table there are still free. This patch fix it by enabling the
> rte_hash extensible bucket table feature.
> 
> Fixes: fcba820d9b9e ("net/hns3: support flow director")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Dengdui Huang <huangdengdui at huawei.com>
> Signed-off-by: Jie Hai <haijie1 at huawei.com>
> ---


Acked-by: Stephen Hemminger <stephen at networkplumber.org>


More information about the dev mailing list