net/hinic: add TCAM filter switch for flow director
authorXiaoyun Wang <cloud.wangxiaoyun@huawei.com>
Sat, 27 Jun 2020 03:55:47 +0000 (11:55 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 7 Jul 2020 21:38:26 +0000 (23:38 +0200)
commit0023e525a52cd5c9463332c5f5b9e95a4c07d938
tree150f37a93d9672d2e04069a7fe502cb83151bd15
parent224cff4bbaa307c6b8e38478d9492af8463720dd
net/hinic: add TCAM filter switch for flow director

When the filter rule needs to use the TCAM method, driver
enables the TCAM filter switch, otherwise disables it, which
can improve the performance of microcode in FDIR scenarios that
does not use TCAM method.

Fixes: 1fe89aa37f36 ("net/hinic: add flow director filter")
Cc: stable@dpdk.org
Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
drivers/net/hinic/base/hinic_pmd_cmd.h
drivers/net/hinic/base/hinic_pmd_niccfg.c
drivers/net/hinic/base/hinic_pmd_niccfg.h
drivers/net/hinic/hinic_pmd_flow.c