net/hns3: remove getting number of queue descriptors from FW
authorHuisong Li <lihuisong@huawei.com>
Sat, 22 Jan 2022 01:51:35 +0000 (09:51 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Jan 2022 13:39:13 +0000 (14:39 +0100)
commitaf1f62b3d1e6bf12830facbb0161981bdce6685d
tree7507db550edbf9def543ec7800030076fdf8b420
parenta65941e9c461bfc050778ed318a90e621d903163
net/hns3: remove getting number of queue descriptors from FW

Application can specify the number of Rx/Tx queue descriptors in DPDK.
So driver does not obtain the default value from firmware and PF.

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Acked-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_ethdev.c
drivers/net/hns3/hns3_ethdev.h
drivers/net/hns3/hns3_ethdev_vf.c