summaryrefslogtreecommitdiffstats
path: root/include/hw/net
diff options
context:
space:
mode:
authorAlistair Francis2017-04-20 18:32:29 +0200
committerPeter Maydell2017-04-20 18:39:17 +0200
commit596b6f51b71eb1dd6f603b3f5aeb0a2f9300b21f (patch)
tree47863821f83234cf7145de9fb7428e6a6870925e /include/hw/net
parentcadence_gem: Correct the multi-queue can rx logic (diff)
downloadqemu-596b6f51b71eb1dd6f603b3f5aeb0a2f9300b21f.tar.gz
qemu-596b6f51b71eb1dd6f603b3f5aeb0a2f9300b21f.tar.xz
qemu-596b6f51b71eb1dd6f603b3f5aeb0a2f9300b21f.zip
cadence_gem: Correct the interupt logic
This patch fixes two mistakes in the interrupt logic. First we only trigger single-queue or multi-queue interrupts if the status register is set. This logic was already used for non multi-queue interrupts but it also applies to multi-queue interrupts. Secondly we need to lower the interrupts if the ISR isn't set. As part of this we can remove the other interrupt lowering logic and consolidate it inside gem_update_int_status(). Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Message-id: 438bcc014f8f8a2f8f68f322cb6a53f4c04688c2.1491947224.git.alistair.francis@xilinx.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/net')
0 files changed, 0 insertions, 0 deletions