Commit a119113e authored by Shi Jing's avatar Shi Jing Committed by s00851154
Browse files

net/hinic3: fix version showed in ethtool

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IAWIA2


CVE: NA

--------------------------------

Fix the version in the output of ethtool commands from empty to the
right version.

Fixes: 3b469ecc ("Add Huawei Intelligent Network Card Driver: hinic3")
Signed-off-by: default avatarShi Jing <shijing34@huawei.com>
parent 30113d28
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@

#include "mpu_cmd_base_defs.h"

#define HINIC3_DRV_VERSION ""
#define HINIC3_DRV_VERSION "15.17.1.1"
#define HINIC3_DRV_DESC "Intelligent Network Interface Card Driver"
#define HIUDK_DRV_DESC "Intelligent Network Unified Driver"

+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
#include "hinic3_dcb.h"

#define HINIC3_NIC_DRV_NAME	"hinic3"
#define HINIC3_NIC_DRV_VERSION	""
#define HINIC3_NIC_DRV_VERSION	"15.17.1.1"

#define HINIC3_FUNC_IS_VF(hwdev)	(hinic3_func_type(hwdev) == TYPE_VF)