net/hns3: clear hash map on flow director clear
authorChengwen Feng <fengchengwen@huawei.com>
Fri, 7 May 2021 09:08:16 +0000 (17:08 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 11 May 2021 16:27:25 +0000 (18:27 +0200)
commit7d01f89fa6a149157f77ef11a2b5ebec890d7db8
tree07f7af73d0ac57d7a9531af7456edde04095f6cf
parentf4e5c18ffa2656d253bc334171854e60463afbbb
net/hns3: clear hash map on flow director clear

The fdir hash map hold the pointers of fdir rule elements, it needs to
be set to NULL when clear all fdir rules.

Fixes: fcba820d9b9e ("net/hns3: support flow director")
Cc: stable@dpdk.org
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_fdir.c