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

This patch adds getting device capabilities from firmware, so driver can
supply different capabilities and specifications to upper level
applications base on different versions of hardware network engine.

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