tests/qtest/libqos/e1000e: Use e1000_regs.h
commit0e283d845e9040a4a20dfb2c7122c9e95afca46f
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 13 Oct 2022 05:52:45 +0000 (13 14:52 +0900)
committerThomas Huth <thuth@redhat.com>
Fri, 28 Oct 2022 07:39:21 +0000 (28 09:39 +0200)
treec4abee8a7950a685f38924e7f3667d4acf04353c
parent73df4f92273d80556777b9f2084898bd1889315e
tests/qtest/libqos/e1000e: Use e1000_regs.h

The register definitions in tests/qtest/libqos/e1000e.c had names
different from hw/net/e1000_regs.h, which made it hard to understand
what test codes corresponds to the implementation. Use
hw/net/e1000_regs.h from tests/qtest/libqos/e1000e.c to remove
these duplications.

E1000E_CTRL_EXT_TXLSFLOW is removed from E1000E_CTRL_EXT settings
because hw/net/e1000_regs.h does not have the definition and it is for
TCP segmentation offload, which does not matter for the implemented
tests.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20221013055245.28102-1-akihiko.odaki@daynix.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/net/e1000_regs.h
tests/qtest/libqos/e1000e.c