diff options
author | Jian Shen <shenjian15@huawei.com> | 2019-03-06 04:26:37 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-08 23:42:37 +0100 |
commit | d394d33bee22421b39a0bcdc51ca6d68ba308625 (patch) | |
tree | 11e4c9faa587ce162314f53b255e79f423735d8b /drivers/dma-buf | |
parent | net: add missing documentation in linux/skbuff.h (diff) | |
download | linux-d394d33bee22421b39a0bcdc51ca6d68ba308625.tar.xz linux-d394d33bee22421b39a0bcdc51ca6d68ba308625.zip |
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 '')
0 files changed, 0 insertions, 0 deletions