Skip to content
Snippets Groups Projects
Commit 427ceb0f authored by Chris Kenna's avatar Chris Kenna Committed by Jason Wang
Browse files

e1000: Never increment the RX undersize count register


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>
parent 23bfaf77
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment