]> git.ipfire.org Git - thirdparty/qemu.git/commit
e1000: Count CRC in Tx statistics
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 23 Feb 2023 10:20:15 +0000 (19:20 +0900)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 23 May 2023 20:15:45 +0000 (23:15 +0300)
commitf9f42e708f33fc54b2943b8f585d1d8f258cba49
treede412b5a76ec3a45c5b4ac39bbe04e7848965fff
parent926a8380f2eb2dcb3c455b4382f4dac5c980ecba
e1000: Count CRC in Tx statistics

The Software Developer's Manual 13.7.4.5 "Packets Transmitted (64 Bytes)
Count" says:
> This register counts the number of packets transmitted that are
> exactly 64 bytes (from <Destination Address> through <CRC>,
> inclusively) in length.

It also says similar for the other Tx statistics registers. Add the
number of bytes for CRC to those registers.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
(cherry picked from commit c50b152485d4e10dfa1e1d7ea668f29a5fb92e9c)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(Mjt: pick this for 7.2 too: a fix by its own and makes next patch to apply cleanly)
hw/net/e1000.c