summary refs log tree commit diff stats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2023-05-23 11:42:57 +0900
committerJason Wang <jasowang@redhat.com>2023-05-23 15:20:15 +0800
commitf0b1df5c4502b5ec89f83417924935ab201511d0 (patch)
treeeba013e6bf39778c538e8119fb6014e806897646 /hw/net/virtio-net.c
parente209716749cda1581cfc8e582591c0216c30ab0d (diff)
downloadfocaccia-qemu-f0b1df5c4502b5ec89f83417924935ab201511d0.tar.gz
focaccia-qemu-f0b1df5c4502b5ec89f83417924935ab201511d0.zip
igb: Clear IMS bits when committing ICR access
The datasheet says contradicting statements regarding ICR accesses so it
is not reliable to determine the behavior of ICR accesses. However,
e1000e does clear IMS bits when reading ICR accesses and Linux also
expects ICR accesses will clear IMS bits according to:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/ethernet/intel/igb/igb_main.c?h=v6.2#n8048

Fixes: 3a977deebe ("Intrdocue igb device emulation")
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Sriram Yagnaraman <sriram.yagnaraman@est.tech>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions