[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1 5/5] cadence_gem: Add debug msgs for rx desc move
From: |
Peter Crosthwaite |
Subject: |
[Qemu-devel] [PATCH v1 5/5] cadence_gem: Add debug msgs for rx desc movement |
Date: |
Fri, 15 Feb 2013 14:51:40 +1000 |
Add some helpful messages that show the rx descriptor pointer moving as packets
are rxed.
Signed-off-by: Peter Crosthwaite <address@hidden>
---
hw/cadence_gem.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/hw/cadence_gem.c b/hw/cadence_gem.c
index 61f1801..de7d15a 100644
--- a/hw/cadence_gem.c
+++ b/hw/cadence_gem.c
@@ -724,7 +724,9 @@ static ssize_t gem_receive(NetClientState *nc, const
uint8_t *buf, size_t size)
s->rx_desc_addr = last_desc_addr;
if (rx_desc_get_wrap(desc)) {
s->rx_desc_addr = s->regs[GEM_RXQBASE];
+ DB_PRINT("wrapping RX descriptor list\n");
} else {
+ DB_PRINT("incrementing RX descriptor list\n");
s->rx_desc_addr += 8;
}
--
1.7.0.4
- [Qemu-devel] [PATCH v1 0/5] Zynq GEM updates, Peter Crosthwaite, 2013/02/14
- [Qemu-devel] [PATCH v1 1/5] cadence_gem: Flush queued packets, Peter Crosthwaite, 2013/02/14
- [Qemu-devel] [PATCH v1 2/5] cadence_gem: factor out can_rx() logic replication, Peter Crosthwaite, 2013/02/14
- [Qemu-devel] [PATCH v1 3/5] cadence_gem: fix interrupt events, Peter Crosthwaite, 2013/02/14
- [Qemu-devel] [PATCH v1 4/5] cadence_gem: Dont reset rx desc pointer on rx_en, Peter Crosthwaite, 2013/02/14
- [Qemu-devel] [PATCH v1 5/5] cadence_gem: Add debug msgs for rx desc movement,
Peter Crosthwaite <=
- Re: [Qemu-devel] [PATCH v1 0/5] Zynq GEM updates, Peter Crosthwaite, 2013/02/20
- Re: [Qemu-devel] [PATCH v1 0/5] Zynq GEM updates, Peter Maydell, 2013/02/28