Skip to content
Snippets Groups Projects
user avatar
Chris Kenna authored
In situations where e1000 receives an undersized Ethernet frame,
QEMU increments the emulated "Receive Undersize Count (RUC)"
register when padding the frame.

This is incorrect because this an expected scenario (e.g. with
VLAN tag stripping) and not an error. As such, QEMU should not
increment the emulated RUC.

Fixes: 3b274301 ("e1000: Implementing various counters")

Reviewed-by: default avatarMark Kanda <mark.kanda@oracle.com>
Reviewed-by: default avatarBhavesh Davda <bhavesh.davda@oracle.com>
Reviewed-by: default avatarStefano Garzarella <sgarzare@redhat.com>
Signed-off-by: default avatarChris Kenna <chris.kenna@oracle.com>
Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
427ceb0f
History