OpenCloudOS-Kernel/drivers/net/ethernet/hisilicon/hns3
Guangbin Huang 0178839ccc net: hns3: disable firmware compatible features when uninstall PF
Currently, the firmware compatible features are enabled in PF driver
initialization process, but they are not disabled in PF driver
deinitialization process and firmware keeps these features in enabled
status.

In this case, if load an old PF driver (for example, in VM) which not
support the firmware compatible features, firmware will still send mailbox
message to PF when link status changed and PF will print
"un-supported mailbox message, code = 201".

To fix this problem, disable these firmware compatible features in PF
driver deinitialization process.

Fixes: ed8fb4b262 ("net: hns3: add link change event report")
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-09-29 11:03:54 +01:00
..
hns3pf net: hns3: disable firmware compatible features when uninstall PF 2021-09-29 11:03:54 +01:00
hns3vf net: hns3: fix change RSS 'hfunc' ineffective issue 2021-09-20 13:28:39 +01:00
Makefile net: hns3: add trace event support for HNS3 driver 2020-01-06 13:26:25 -08:00
hclge_mbx.h net: hns3: add required space in comment 2021-08-28 11:20:05 +01:00
hnae3.c net: hns3: add or modify some comments 2019-10-31 12:03:23 -07:00
hnae3.h net: hns3: remove tc enable checking 2021-09-29 11:03:54 +01:00
hns3_dcbnl.c net: hns3: fix some coding style issues 2019-06-09 13:20:59 -07:00
hns3_debugfs.c net: hns3: add some required spaces 2021-08-31 12:36:42 +01:00
hns3_debugfs.h net: hns3: change the method of getting cmd index in debugfs 2021-08-26 07:24:17 -07:00
hns3_enet.c net: hns3: remove tc enable checking 2021-09-29 11:03:54 +01:00
hns3_enet.h net: hns3: add some required spaces 2021-08-31 12:36:42 +01:00
hns3_ethtool.c net: hns3: fix always enable rx vlan filter problem after selftest 2021-09-29 11:03:54 +01:00
hns3_ethtool.h net: hns3: add support ethtool extended link state 2021-08-16 15:12:14 -07:00
hns3_trace.h net: hns3: rename trace event hns3_over_8bd 2020-09-29 13:14:24 -07:00