On 9 October 2017 at 15:47, Andrey Smirnov <andrew.smir...@gmail.com> wrote: > On Fri, Oct 6, 2017 at 6:48 AM, Peter Maydell <peter.mayd...@linaro.org> > wrote: >> This looks a bit odd. Doesn't the hardware calculate the CRC here? >> > > It does, it just seemed to me that since the hardware also has a "CRC > error" bit in its status register, there would be few if any users of > the actual calculated CRC value. Given how eTSEC emulation layer gets > away without calculating CRC I thought that it might be possible to > have this optimization here as well.
As a general rule QEMU should just emulate what the hardware does (even if the usual guest software doesn't happen to care about that corner of the specification). thanks -- PMM