summaryrefslogtreecommitdiff
path: root/include/video/omapvrfb.h
diff options
context:
space:
mode:
authorYufeng Mo <moyufeng@huawei.com>2021-11-10 16:42:52 +0300
committerDavid S. Miller <davem@davemloft.net>2021-11-10 17:20:43 +0300
commit3b6db4a0492beed36545a2bc6075117faecebfe2 (patch)
tree0cecd062f3232c56923dd70afaea647791af2cf5 /include/video/omapvrfb.h
parent0b653a81a26d66ffe526a54c2177e24fb1400301 (diff)
downloadlinux-3b6db4a0492beed36545a2bc6075117faecebfe2.tar.xz
net: hns3: sync rx ring head in echo common pull
When the driver processes rx packets, the head pointer is updated only after the number of received packets reaches 16. However, hardware relies on the head pointer to calculate the number of FBDs. As a result, the hardware calculates the FBD incorrectly. Therefore, the driver proactively updates the head pointer in each common poll to ensure that the number of FBDs calculated by the hardware is correct. Fixes: 68752b24f51a ("net: hns3: schedule the polling again when allocation fails") Signed-off-by: Yufeng Mo <moyufeng@huawei.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/video/omapvrfb.h')
0 files changed, 0 insertions, 0 deletions