]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: set VF's default reset_type to HNAE3_NONE_RESET
authorHuazhong Tan <tanhuazhong@huawei.com>
Tue, 21 Jan 2020 08:42:07 +0000 (16:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jan 2020 10:46:20 +0000 (11:46 +0100)
commitc7764097b308474facf5df31caf9209f28d22a5c
treef378f672c3cc87f31591a66d3f1ed0eda4bbe9d9
parentad57fbf715339fd992d722edba5ff214ad62cbf7
net: hns3: set VF's default reset_type to HNAE3_NONE_RESET

reset_type means what kind of reset the driver is handling now,
so after initializing or reset, the reset_type of VF should be
set to HNAE3_NONE_RESET, otherwise, this unknown default value
may be a little misleading when the device is running.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c