summary refs log tree commit diff stats
path: root/hw/lm32/lm32_boards.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2016-04-04 12:13:10 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2016-05-27 09:40:23 +1000
commit5c29dd8c28c3c7718cc37b38c5171b3caf629928 (patch)
tree953ecb3e14535f981afd606f662a146b6f785577 /hw/lm32/lm32_boards.c
parent8836630f5d2df198dca2da9a1f1fb2d2a0c310a0 (diff)
downloadfocaccia-qemu-5c29dd8c28c3c7718cc37b38c5171b3caf629928.tar.gz
focaccia-qemu-5c29dd8c28c3c7718cc37b38c5171b3caf629928.zip
hw/net/spapr_llan: Provide counter with dropped rx frames to the guest
The last 8 bytes of the receive buffer list page (that has been supplied
by the guest with the H_REGISTER_LOGICAL_LAN call) contain a counter
for frames that have been dropped because there was no suitable receive
buffer available. This patch introduces code to use this field to
provide the information about dropped rx packets to the guest.
There it can be queried with "ethtool -S eth0 | grep rx_no_buffer".

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/lm32/lm32_boards.c')
0 files changed, 0 insertions, 0 deletions