OpenCloudOS-Kernel/drivers/net/ethernet/hisilicon/hns3
Jian Shen d394d33bee net: hns3: add dma_rmb() for rx description
HW can not guarantee complete write desc->rx.size, even though
HNS3_RXD_VLD_B has been set. Driver needs to add dma_rmb()
instruction to make sure desc->rx.size is always valid.

Fixes: e559709505 ("net: hns3: Add handling of GRO Pkts not fully RX'ed in NAPI poll")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-03-08 14:42:37 -08:00
..
hns3pf net: hns3: fix setting of the hns reset_type for rdma hw errors 2019-02-24 20:27:50 -08:00
hns3vf net: hns3: fix get VF RSS issue 2019-02-24 20:27:50 -08:00
Makefile net: hns3: Add debugfs framework registration 2018-11-23 17:28:59 -08:00
hclge_mbx.h net: hns3: add support to config depth for tx|rx ring separately 2019-02-24 20:27:50 -08:00
hnae3.c net: hns3: Check variable is valid before assigning it to another 2019-02-21 16:29:04 -08:00
hnae3.h net: hns3: add support to config depth for tx|rx ring separately 2019-02-24 20:27:50 -08:00
hns3_dcbnl.c net: hns3: use HNS3_NIC_STATE_RESETTING to indicate resetting 2018-11-07 11:42:17 -08:00
hns3_debugfs.c net: hns3: Add "tm map" status information query function 2018-12-15 10:54:18 -08:00
hns3_enet.c net: hns3: add dma_rmb() for rx description 2019-03-08 14:42:37 -08:00
hns3_enet.h net: hns3: add support to config depth for tx|rx ring separately 2019-02-24 20:27:50 -08:00
hns3_ethtool.c net: hns3: add support to config depth for tx|rx ring separately 2019-02-24 20:27:50 -08:00