diff options
author | Jian Shen <shenjian15@huawei.com> | 2019-03-06 11:26:37 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-08 14:42:37 -0800 |
commit | d394d33bee22421b39a0bcdc51ca6d68ba308625 (patch) | |
tree | 11e4c9faa587ce162314f53b255e79f423735d8b /drivers/net/vxlan.c | |
parent | 161e613755e93c45cc47e75ab046f0f8de9e6d49 (diff) |
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: e55970950556 ("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>
Diffstat (limited to 'drivers/net/vxlan.c')
0 files changed, 0 insertions, 0 deletions