linux/drivers/net/ethernet/hisilicon
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
..
hns ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
hns3 net: hns3: disable firmware compatible features when uninstall PF 2021-09-29 11:03:54 +01:00
hip04_eth.c ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
hisi_femac.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
hix5hd2_gmac.c of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
hns_mdio.c net: hns: Fix spelling mistake "maped" -> "mapped" 2021-09-27 12:21:16 +01:00
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00