net/hns3: support get device version when dump register
authorChengwen Feng <fengchengwen@huawei.com>
Wed, 31 Mar 2021 10:01:42 +0000 (18:01 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 8 Apr 2021 16:57:09 +0000 (18:57 +0200)
commit214917f66bf2852c7b758550fdcab1738cad8fa4
treeb4ac6605fa2e29a23c9db3c7a735468c428d587a
parent38d5b71c27d6fd9324cbaeed972df382c2c7a34b
net/hns3: support get device version when dump register

Support get device version which is equal to the firmware version
when dump register.

Fixes: 936eda25e8da ("net/hns3: support dump register")
Cc: stable@dpdk.org
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_regs.c