Re: [Qemu-devel] [PATCH] spapr-vlan: Don't touch last entry in buffer list

2014-08-27 Thread Alexander Graf
On 22.08.14 03:50, Anton Blanchard wrote: > The last 8 bytes of the buffer list is defined to contain the number > of dropped frames. At the moment we use it to store rx entries, > which trips up ethtool -S: > > rx_no_buffer: 9223380832981355136 > > Fix this by skipping the last buffer list ent

Re: [Qemu-devel] [PATCH] spapr-vlan: Don't touch last entry in buffer list

2014-08-25 Thread David Gibson
On Fri, Aug 22, 2014 at 11:50:57AM +1000, Anton Blanchard wrote: > The last 8 bytes of the buffer list is defined to contain the number > of dropped frames. At the moment we use it to store rx entries, > which trips up ethtool -S: > > rx_no_buffer: 9223380832981355136 > > Fix this by skipping the

[Qemu-devel] [PATCH] spapr-vlan: Don't touch last entry in buffer list

2014-08-21 Thread Anton Blanchard
The last 8 bytes of the buffer list is defined to contain the number of dropped frames. At the moment we use it to store rx entries, which trips up ethtool -S: rx_no_buffer: 9223380832981355136 Fix this by skipping the last buffer list entry. Signed-off-by: Anton Blanchard --- diff --git a/hw/