|
@@ -131,8 +131,8 @@ static void virtnet_enqueue_iob ( struct net_device *netdev,
|
131
|
131
|
},
|
132
|
132
|
};
|
133
|
133
|
|
134
|
|
- DBGC ( virtnet, "VIRTIO-NET %p enqueuing iobuf %p on vq %d\n",
|
135
|
|
- virtnet, iobuf, vq_idx );
|
|
134
|
+ DBGC2 ( virtnet, "VIRTIO-NET %p enqueuing iobuf %p on vq %d\n",
|
|
135
|
+ virtnet, iobuf, vq_idx );
|
136
|
136
|
|
137
|
137
|
vring_add_buf ( vq, list, out, in, iobuf, 0 );
|
138
|
138
|
vring_kick ( virtnet->ioaddr, vq, 1 );
|
|
@@ -256,8 +256,8 @@ static void virtnet_process_tx_packets ( struct net_device *netdev ) {
|
256
|
256
|
while ( vring_more_used ( tx_vq ) ) {
|
257
|
257
|
struct io_buffer *iobuf = vring_get_buf ( tx_vq, NULL );
|
258
|
258
|
|
259
|
|
- DBGC ( virtnet, "VIRTIO-NET %p tx complete iobuf %p\n",
|
260
|
|
- virtnet, iobuf );
|
|
259
|
+ DBGC2 ( virtnet, "VIRTIO-NET %p tx complete iobuf %p\n",
|
|
260
|
+ virtnet, iobuf );
|
261
|
261
|
|
262
|
262
|
netdev_tx_complete ( netdev, iobuf );
|
263
|
263
|
}
|
|
@@ -283,8 +283,8 @@ static void virtnet_process_rx_packets ( struct net_device *netdev ) {
|
283
|
283
|
iob_unput ( iobuf, RX_BUF_SIZE );
|
284
|
284
|
iob_put ( iobuf, len - sizeof ( struct virtio_net_hdr ) );
|
285
|
285
|
|
286
|
|
- DBGC ( virtnet, "VIRTIO-NET %p rx complete iobuf %p len %zd\n",
|
287
|
|
- virtnet, iobuf, iob_len ( iobuf ) );
|
|
286
|
+ DBGC2 ( virtnet, "VIRTIO-NET %p rx complete iobuf %p len %zd\n",
|
|
287
|
+ virtnet, iobuf, iob_len ( iobuf ) );
|
288
|
288
|
|
289
|
289
|
/* Pass completed packet to the network stack */
|
290
|
290
|
netdev_rx ( netdev, iobuf );
|