We are adding a new device named igb, yet another Intel NIC. As the new
implementation derives from e1000e, overhaul e1000e implementation first.
e1000 has many commonalities with e1000e so we also apply the corresponding
changes to the device if possible.
This was spun off from:
https://patchew.org/QEMU/20230112095743.20123-1-akihiko.odaki@daynix.com/
The changes from the series are as follows:
- Fixed code alignment in e1000.c. (Philippe Mathieu-Daudé)
- "e1000: Configure ResettableClass" and e1000e's corresponding patch was based
on the old version so they are now updated. (Philippe Mathieu-Daudé)
- Added "e1000e: Remove extra pointer indirection"
The series was composed on patches submitted earlier for e1000e. The below
are links to Patchew:
03: https://patchew.org/QEMU/20221103060103.83363-1-akihiko.odaki@daynix.com/
04: https://patchew.org/QEMU/20221125135254.54760-1-akihiko.odaki@daynix.com/
05: https://patchew.org/QEMU/20221119054913.103803-1-akihiko.odaki@daynix.com/
06: https://patchew.org/QEMU/20221119055304.105500-1-akihiko.odaki@daynix.com/
08 includes: https://patchew.org/QEMU/20221119060156.110010-1-akihiko.odaki@daynix.com/
10: https://patchew.org/QEMU/20221125140105.55925-1-akihiko.odaki@daynix.com/
11: https://patchew.org/QEMU/20221125142608.58919-1-akihiko.odaki@daynix.com/
13: https://patchew.org/QEMU/20221201095351.63392-1-akihiko.odaki@daynix.com/
14: https://patchew.org/QEMU/20221201100113.64387-1-akihiko.odaki@daynix.com/
15: https://patchew.org/QEMU/20230107143328.102534-1-akihiko.odaki@daynix.com/
Akihiko Odaki (19):
e1000e: Fix the code style
hw/net: Add more MII definitions
fsl_etsec: Use hw/net/mii.h
e1000: Use hw/net/mii.h
e1000: Mask registers when writing
e1000e: Mask registers when writing
e1000: Use more constant definitions
e1000e: Use more constant definitions
e1000: Use memcpy to intialize registers
e1000e: Use memcpy to intialize registers
e1000e: Remove pending interrupt flags
e1000e: Improve software reset
e1000: Configure ResettableClass
e1000e: Configure ResettableClass
e1000e: Introduce e1000_rx_desc_union
e1000e: Set MII_ANER_NWAY
e1000e: Remove extra pointer indirection
tests/qtest/e1000e-test: Fix the code style
tests/qtest/libqos/e1000e: Remove duplicate register definitions
hw/net/e1000.c | 254 ++++++++----------
hw/net/e1000_regs.h | 61 ++---
hw/net/e1000e.c | 88 +++---
hw/net/e1000e_core.c | 519 ++++++++++++++++++------------------
hw/net/e1000e_core.h | 68 +++--
hw/net/e1000x_common.c | 10 +-
hw/net/e1000x_common.h | 54 ++--
hw/net/fsl_etsec/etsec.c | 11 +-
hw/net/fsl_etsec/etsec.h | 17 --
hw/net/fsl_etsec/miim.c | 5 +-
hw/net/trace-events | 4 +-
include/hw/net/mii.h | 14 +-
tests/qtest/e1000e-test.c | 2 +-
tests/qtest/libqos/e1000e.c | 26 +-
tests/qtest/libqos/e1000e.h | 5 -
15 files changed, 541 insertions(+), 597 deletions(-)
--
2.39.0