On Fri, Jun 24, 2016 at 10:02 AM, Gerd Hoffmann <kra...@redhat.com> wrote:
>   Hi,
>
>> > First thing I've noticed is that the virtio-net driver floods the
>> > terminal with debug messages for each and every package.  That is
>> > clearly a nonstarter and must be fixed.
>>
>> All the more verbose virtio-net messages require log level 2, and
>> logging every packet at level 2 seems to be in line with the rest of
>> the iPXE networking stack. What debug messages are you seeing?
>
> VIRTIO-NET 0x3e9ba378 rx complete iobuf 0x3e9c85f8 len 52
> VIRTIO-NET 0x3e9ba378 enqueuing iobuf 0x3e9c7df8 on vq 0
> vring_add_buf: 0x3e9be022 14 - 12 10  8  6  4
> VIRTIO-NET 0x3e9ba378 rx complete iobuf 0x3e9c8df8 len 52
> VIRTIO-NET 0x3e9ba378 enqueuing iobuf 0x3e9c85f8 on vq 0
> vring_add_buf: 0x3e9be024  0 - 14 12 10  8  6
> VIRTIO-NET 0x3e9ba378 rx complete iobuf 0x3e9c4df8 len 52
> VIRTIO-NET 0x3e9ba378 enqueuing iobuf 0x3e9c8df8 on vq 0
> vring_add_buf: 0x3e9be026  2 -  0 14 12 10  8
> VIRTIO-NET 0x3e9ba378 rx complete iobuf 0x3e9c55f8 len 52
> VIRTIO-NET 0x3e9ba378 enqueuing iobuf 0x3e9c4df8 on vq 0
> vring_add_buf: 0x3e9be028  4 -  2  0 14 12 10
> VIRTIO-NET 0x3e9ba378 rx complete iobuf 0x3e9c5df8 len 52
> VIRTIO-NET 0x3e9ba378 enqueuing iobuf 0x3e9c55f8 on vq 0
> vring_add_buf: 0x3e9be02a  6 -  4  2  0 14 12
> VIRTIO-NET 0x3e9ba378 rx complete iobuf 0x3e9c65f8 len 52
> VIRTIO-NET 0x3e9ba378 enqueuing iobuf 0x3e9c5df8 on vq 0
> vring_add_buf: 0x3e9be02c  8 -  6  4  2  0 14
> VIRTIO-NET 0x3e9ba378 rx complete iobuf 0x3e9c6df8 len 52
> VIRTIO-NET 0x3e9ba378 enqueuing iobuf 0x3e9c65f8 on vq 0
> vring_add_buf: 0x3e9be02e 10 -  8  6  4  2  0
>
> When booting e1000 or rtl8139 I don't see any messages.

Thanks, I guess we can remove these if building with
DEBUG=virtio-net:2 was intentional and it interferes with other
output. But then again, if you build for example with DEBUG=tcp:2,
you'll see a debug message for each transmitted or received packet
also.

> cheers,
>   Gerd
>
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to