diff options
author | Chris Kenna <chris.kenna@oracle.com> | 2019-04-04 10:21:26 -0500 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2019-05-17 17:00:12 +0800 |
commit | 427ceb0fecf7afcfd76ae65f7197188b2842d385 (patch) | |
tree | 70d6931599929a0f57c3ee18734facab652c9bfb /net | |
parent | 23bfaf77fa801ba30bb136de7cec47728eb02f4b (diff) |
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: 3b2743017749 ("e1000: Implementing various counters")
Reviewed-by: Mark Kanda <mark.kanda@oracle.com>
Reviewed-by: Bhavesh Davda <bhavesh.davda@oracle.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Chris Kenna <chris.kenna@oracle.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions