net/hns3: get device specifications from firmware
authorWei Hu (Xavier) <xavier.huwei@huawei.com>
Tue, 25 Aug 2020 11:52:56 +0000 (19:52 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:07 +0000 (18:55 +0200)
commit9c740336f02443b5916aa6c09d8488323126fd44
tree7b93f060efdd36429085eb1b34fb005d342f1b37
parent43875235815818833ed91b7cd307590fce191d2d
net/hns3: get device specifications from firmware

This patch adds getting PF/VF device specifications from firmware.

Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Hongbo Zheng <zhenghongbo3@huawei.com>
drivers/net/hns3/hns3_cmd.h
drivers/net/hns3/hns3_dcb.c
drivers/net/hns3/hns3_dcb.h
drivers/net/hns3/hns3_ethdev.c
drivers/net/hns3/hns3_ethdev.h
drivers/net/hns3/hns3_ethdev_vf.c