Due to a hardware bug in the SFC9000 family, the firmware must
transfer raw GMAC statistics to host memory before aggregating them
into the cooked (speed-independent) MAC statistics. Extend the stats
buffer to support this.
The length of the buffer is explicit in the MAC_STATS command, so this
change is backward-compatible on both sides.
Signed-off-by: Ben Hutchings <firstname.lastname@example.org>
Signed-off-by: David S. Miller <email@example.com>
(cherry picked from commit 8704a2c8e9db24157a7b08d1678bf840f2318779)