e1000: Fixing the received/transmitted packets' counters
commit1f67f92c4fdf59a98c2fdf67d3e78deba489a370
authorLeonid Bloch <leonid.bloch@ravellosystems.com>
Wed, 11 Nov 2015 13:52:43 +0000 (11 15:52 +0200)
committerJason Wang <jasowang@redhat.com>
Thu, 12 Nov 2015 07:26:53 +0000 (12 15:26 +0800)
tree54e1e0070e00d131bf88c38620770841f6094184
parent72ea771c9711cba63686d5d3284bc6645d13f7d2
e1000: Fixing the received/transmitted packets' counters

According to Intel's specs, these counters (as the other Statistic
registers) stick at 0xffffffff when this maximal value is reached.
Previously, they would reset after the max. value.

Signed-off-by: Leonid Bloch <leonid.bloch@ravellosystems.com>
Signed-off-by: Dmitry Fleytman <dmitry.fleytman@ravellosystems.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/e1000.c