diff options
author | Anton Blanchard <anton@samba.org> | 2014-08-22 11:50:57 +1000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-09-08 12:50:52 +0200 |
commit | 439ce1401bac1687c711cb6acf4ee8f3f457c05e (patch) | |
tree | 3192a4e751af6404bcb3de01c35fe2aa2db6da0b /target-ppc/translate.c | |
parent | 32420522482ffc20f8e9423af4f41f4e05ce3a56 (diff) |
spapr-vlan: Don't touch last entry in buffer list
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 <anton@samba.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/translate.c')
0 files changed, 0 insertions, 0 deletions