linux/drivers/net/ethernet/hisilicon/hns
Jun He 3a31b64e3e net: hns: fix bug that alloc skb fail lead to port unavailable
When hns_nic_poll_rx_skb alloc skb fail, it will break receive cycle and
read new fbd_num to start new receive cycle. It recomputes cycle num is
fbd_num minus clean_count, actually this cycle num is too big because
it drop out receive cycle. It brings about the port unavailable.

So we will goto out when alloc skb fail to fix this bug.

Signed-off-by: Jun He <hjat2005@huawei.com>
Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-06-21 04:51:55 -04:00
..
hnae.c net: hns: delete redundancy ring enable operations 2016-06-21 04:51:55 -04:00
hnae.h net: hns: delete redundancy ring enable operations 2016-06-21 04:51:55 -04:00
hns_ae_adapt.c net: hns: delete redundancy ring enable operations 2016-06-21 04:51:55 -04:00
hns_dsaf_gmac.c net: hns: add dsaf misc operation method 2016-06-04 21:32:41 -04:00
hns_dsaf_gmac.h
hns_dsaf_mac.c net: hns: register phy device in each mac initial sequence 2016-06-04 21:32:41 -04:00
hns_dsaf_mac.h net: hns: add dsaf misc operation method 2016-06-04 21:32:41 -04:00
hns_dsaf_main.c net: hns: fix bug of getting the wrong tcam data 2016-06-21 04:51:55 -04:00
hns_dsaf_main.h net: hns: add spin lock for tcam table operation 2016-06-21 04:51:55 -04:00
hns_dsaf_misc.c net: hns: bug fix about led control logic when link down 2016-06-21 04:51:55 -04:00
hns_dsaf_misc.h net: hns: add dsaf misc operation method 2016-06-04 21:32:41 -04:00
hns_dsaf_ppe.c net: hns: add dsaf misc operation method 2016-06-04 21:32:41 -04:00
hns_dsaf_ppe.h net: hns: separate debug dsaf device from service dsaf device 2016-04-26 01:09:17 -04:00
hns_dsaf_rcb.c net: hns: use platform_get_irq instead of irq_of_parse_and_map 2016-06-04 21:32:40 -04:00
hns_dsaf_rcb.h net: hns: add a new dsaf mode for debug port 2016-04-26 01:09:17 -04:00
hns_dsaf_reg.h net: hns: bugfix about pfc pause frame statistics 2016-06-21 04:51:55 -04:00
hns_dsaf_xgmac.c net: hns: add dsaf misc operation method 2016-06-04 21:32:41 -04:00
hns_dsaf_xgmac.h
hns_enet.c net: hns: fix bug that alloc skb fail lead to port unavailable 2016-06-21 04:51:55 -04:00
hns_enet.h net: hns: enet specify a reference to dsaf by fwnode_handle 2016-06-04 21:32:40 -04:00
hns_ethtool.c net: hns: add get_coalesce_range api for hns 2016-06-21 04:51:55 -04:00
Makefile net: add Hisilicon Network Subsystem basic ethernet support 2015-09-20 21:42:58 -07:00