summaryrefslogtreecommitdiffstats
path: root/src/net/netdevice.c
diff options
context:
space:
mode:
authorMichael Brown2007-09-17 19:57:32 +0200
committerMichael Brown2007-09-17 19:57:32 +0200
commit387a1a85561bd828d82bc4b69ca18dab5fc10831 (patch)
treeab3b249a9a7a10f7c1c5066c24dd27e1f07ecd1e /src/net/netdevice.c
parentMoved iobuf.h assertions outside the static inline functions, so that (diff)
downloadipxe-387a1a85561bd828d82bc4b69ca18dab5fc10831.tar.gz
ipxe-387a1a85561bd828d82bc4b69ca18dab5fc10831.tar.xz
ipxe-387a1a85561bd828d82bc4b69ca18dab5fc10831.zip
Minor debug message improvement.
Diffstat (limited to 'src/net/netdevice.c')
-rw-r--r--src/net/netdevice.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/netdevice.c b/src/net/netdevice.c
index 460de89cf..59a50205b 100644
--- a/src/net/netdevice.c
+++ b/src/net/netdevice.c
@@ -476,8 +476,9 @@ static void net_step ( struct process *process __unused ) {
* NIC faster than they arrive.
*/
if ( ( iobuf = netdev_rx_dequeue ( netdev ) ) ) {
- DBGC ( netdev, "NETDEV %p processing %p\n",
- netdev, iobuf );
+ DBGC ( netdev, "NETDEV %p processing %p (%p+%zx)\n",
+ netdev, iobuf, iobuf->data,
+ iob_len ( iobuf ) );
netdev->ll_protocol->rx ( iobuf, netdev );
}
}