qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] e1000: Never increment the RX undersize count r


From: Stefano Garzarella
Subject: Re: [Qemu-devel] [PATCH] e1000: Never increment the RX undersize count register
Date: Fri, 5 Apr 2019 12:31:05 +0200
User-agent: NeoMutt/20180716

On Thu, Apr 04, 2019 at 10:21:26AM -0500, Mark Kanda wrote:
> From: Chris Kenna <address@hidden>
> 
> 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 <address@hidden>
> Reviewed-by: Bhavesh Davda <address@hidden>
> Signed-off-by: Chris Kenna <address@hidden>
> ---
>  hw/net/e1000.c | 1 -
>  1 file changed, 1 deletion(-)

CCing Jason.

LGTM, if we don't discard it, we shouldn't increase the RUC counter.

Reviewed-by: Stefano Garzarella <address@hidden>

Thanks,
Stefano



reply via email to

[Prev in Thread] Current Thread [Next in Thread]