net/hns3: fix Tx push capability
authorMin Hu (Connor) <humin29@huawei.com>
Mon, 30 Aug 2021 08:26:51 +0000 (16:26 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 9 Sep 2021 17:35:40 +0000 (19:35 +0200)
commitfe9c27a33752c5dbb17dcfb855c6dd5e6dcb6e6c
tree3e0d94190b01a4bab4d9fea032c2920932084774
parent3fb0df3138e1f07dd3d79f80306c1d72eb4eaa77
net/hns3: fix Tx push capability

This patch fixes Tx push capability to be compatible with Kunpeng 920,
as Tx push is only supported on Kunpeng 930.

Fixes: 23e317dd1fbf ("net/hns3: support Tx push quick doorbell for performance")
Cc: stable@dpdk.org
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_cmd.c
drivers/net/hns3/hns3_cmd.h