From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XM74O-00049J-JL for qemu-devel@nongnu.org; Mon, 25 Aug 2014 23:05:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XM74K-0007FH-LS for qemu-devel@nongnu.org; Mon, 25 Aug 2014 23:05:16 -0400 Date: Tue, 26 Aug 2014 13:02:50 +1000 From: David Gibson Message-ID: <20140826030250.GN9923@voom.redhat.com> References: <20140822115057.443a221c@kryten> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1HuzLmPZrG5RH6bG" Content-Disposition: inline In-Reply-To: <20140822115057.443a221c@kryten> Subject: Re: [Qemu-devel] [PATCH] spapr-vlan: Don't touch last entry in buffer list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anton Blanchard Cc: aik@ozlabs.ru, qemu-ppc@nongnu.org, paulus@samba.org, agraf@suse.de, qemu-devel@nongnu.org --1HuzLmPZrG5RH6bG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: >=20 > rx_no_buffer: 9223380832981355136 >=20 > Fix this by skipping the last buffer list entry. >=20 > Signed-off-by: Anton Blanchard Huh. I obviously missed that bit of the llan spec in PAPR. Reviewed-by: David Gibson --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --1HuzLmPZrG5RH6bG Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJT+/jZAAoJEGw4ysog2bOSRMUQAOW95mYZwtQ2V2W5d4xsFoBM kQIoP4Zkq2t4CY5vE13We+zhBMFwVcE6TTLxyPxADxgQlpDiSzJfcooJ3LW64Pv3 dkU2u3gnwsEG/oDXYd8GFYDBBj3K1cjgSBBLpS/LBXwmp3u1HBEMat8M0LU9fnJB Q1WNpT45FDZ6crWYoGoDRu18Efplhgxfp8Zz3Kh2oz5IU3t0n17wxiUAF3iht1le 9JkTjGsj4B0gts8cC6uP00dASlDRL0bHtQKbBpvedImYREUbwFla5S5uM1TYxOPP kgPBuKiGWQQimV5Ex98xLqNDVN9MxsRoMmhUtWVr8gsXUxg4IxIfBPJgHFYnlqQH L/DjElGgXSxW+hmRwHvYwU9ncvlKpOCwxqzmUANkOClSRKe6+s4FXyQ2qsCrDKuZ K4m6uH9PkFVqlDkLwOMu/0mE/Mhjh/uDytJEtSDZzyH7el+FMpzgr0tnKWS+VW1y lQTh5tY0yrZt5i2dfumL0pOGLIEPOAuidf4rwWT+kPJOUmLo44T/3Gxcz/nzqOPp SS+1W6Rz+D2dvX1uXRzc1p27oFCQn/bbt92MgP3klfUD2YDdPBTvjlBU9P3wAd4c 3VvUTHpmfvxvwxmiIN7WIHfOEYQvkp8qCJDHPX3GRLyfQtCxfrl6NWtzShcRKL35 ZZpjwE1jLCp3h6KvPLGM =4yKb -----END PGP SIGNATURE----- --1HuzLmPZrG5RH6bG--