Re: [Qemu-devel] [PATCH 4/6] e1000: Fixing the received/transmitted octets' counters

2015-10-22 Thread Jason Wang
On 10/21/2015 08:20 PM, Leonid Bloch wrote: > On Tue, Oct 20, 2015 at 9:16 AM, Jason Wang wrote: >> > >> > >> > On 10/18/2015 03:53 PM, Leonid Bloch wrote: >>> >> Previously, the lower parts of these counters (TORL, TOTL) were >>> >> resetting after reaching their maximal values, and since the c

Re: [Qemu-devel] [PATCH 4/6] e1000: Fixing the received/transmitted octets' counters

2015-10-21 Thread Leonid Bloch
On Tue, Oct 20, 2015 at 9:16 AM, Jason Wang wrote: > > > On 10/18/2015 03:53 PM, Leonid Bloch wrote: >> Previously, the lower parts of these counters (TORL, TOTL) were >> resetting after reaching their maximal values, and since the continuation >> of counting in the higher parts (TORH, TOTH) was t

Re: [Qemu-devel] [PATCH 4/6] e1000: Fixing the received/transmitted octets' counters

2015-10-20 Thread Jason Wang
On 10/18/2015 03:53 PM, Leonid Bloch wrote: > Previously, the lower parts of these counters (TORL, TOTL) were > resetting after reaching their maximal values, and since the continuation > of counting in the higher parts (TORH, TOTH) was triggered by an > overflow event of the lower parts, the cou

[Qemu-devel] [PATCH 4/6] e1000: Fixing the received/transmitted octets' counters

2015-10-18 Thread Leonid Bloch
Previously, the lower parts of these counters (TORL, TOTL) were resetting after reaching their maximal values, and since the continuation of counting in the higher parts (TORH, TOTH) was triggered by an overflow event of the lower parts, the count was not correct. Additionally, TORH and TOTH were