linux_dsm_epyc7002/drivers/net/ethernet/hisilicon
Peng Li 3a5a5f06d4 net: hns3: revert to old channel when setting new channel num fail
After setting new channel num, it needs free old ring memory and
allocate new ring memory. If there is no enough memory and allocate
new ring memory fail, the ring may initialize fail. To make sure
the network interface can work normally, driver should revert the
channel to the old configuration.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-09-11 09:08:45 +01:00
..
hns net: hns: Move static keyword to the front of declaration 2019-09-05 12:38:42 +02:00
hns3 net: hns3: revert to old channel when setting new channel num fail 2019-09-11 09:08:45 +01:00
hip04_eth.c net: hisilicon: Fix dma_map_single failed on arm64 2019-08-06 14:14:01 -07:00
hisi_femac.c net: Remove dev_err() usage after platform_get_irq() 2019-07-30 14:37:35 -07:00
hix5hd2_gmac.c net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
hns_mdio.c net: hisilicon: Use devm_platform_ioremap_resource 2019-07-12 15:37:18 -07:00
Kconfig net: hisilicon: Add support for HI13X1 to hip04_eth 2019-07-09 14:29:26 -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