summaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorRick Farrington <ricardo.farrington@cavium.com>2018-08-28 21:32:55 +0300
committerDavid S. Miller <davem@davemloft.net>2018-08-30 05:47:52 +0300
commitb943f17e06493fd2c7fd00743093ad5dcdb90e7f (patch)
treec11e87c4f0720b3b86a99c01a19b24b58f162606 /tools/testing
parent9ecc660ea1a7a5cebf403fb74ad363400d645463 (diff)
downloadlinux-b943f17e06493fd2c7fd00743093ad5dcdb90e7f.tar.xz
liquidio: fix race condition in instruction completion processing
In lio_enable_irq, the pkt_in_done count register was being cleared to zero. However, there could be some completed instructions which were not yet processed due to budget and limit constraints. So, only write this register with the number of actual completions that were processed. Signed-off-by: Rick Farrington <ricardo.farrington@cavium.com> Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions