qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tests/qtest/libqos/e1000e: Correctly group register accesses


From: Thomas Huth
Subject: Re: [PATCH] tests/qtest/libqos/e1000e: Correctly group register accesses
Date: Mon, 12 Dec 2022 12:59:44 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0

On 10/11/2022 12.45, Akihiko Odaki wrote:
Add a newline after E1000_TCTL write and make it clear that E1000_TCTL
write is what enabling transmit.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
  tests/qtest/libqos/e1000e.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/tests/qtest/libqos/e1000e.c b/tests/qtest/libqos/e1000e.c
index 80b3e3db90..0e5cceafe4 100644
--- a/tests/qtest/libqos/e1000e.c
+++ b/tests/qtest/libqos/e1000e.c
@@ -152,6 +152,7 @@ static void e1000e_pci_start_hw(QOSGraphObject *obj)
/* Enable transmit */
      e1000e_macreg_write(&d->e1000e, E1000_TCTL, E1000_TCTL_EN);
+
      e1000e_macreg_write(&d->e1000e, E1000_RDBAL,
                             (uint32_t)d->e1000e.rx_ring);
      e1000e_macreg_write(&d->e1000e, E1000_RDBAH,

Thanks, queued:

 https://gitlab.com/thuth/qemu/-/commits/testing-next/

 Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]