From owner-freebsd-net@freebsd.org Mon Aug 8 23:22:13 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2854FBB37BA for ; Mon, 8 Aug 2016 23:22:13 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 067F01AB2 for ; Mon, 8 Aug 2016 23:22:12 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.0.6] (97-123-234-71.albq.qwest.net [97.123.234.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id CFFC71928CE; Mon, 8 Aug 2016 23:22:10 +0000 (UTC) Subject: Re: Question about em_irq_fast To: Sreekanth Rupavatharam References: <6dd67a05-d484-593f-98f2-60a062c0daa3@freebsd.org> <135A343D-5624-404F-8A18-94744395E5C4@juniper.net> <07f2b16a-8764-48c6-ebd4-1d6d2ce44442@freebsd.org> <523AA4A9-BBF0-40D2-A98E-6C608AC1C11F@juniper.net> Cc: "freebsd-net@freebsd.org" , Jack Vogel From: Sean Bruno Message-ID: <86e67e5c-7b32-6cc7-02f1-a0227e12e674@freebsd.org> Date: Mon, 8 Aug 2016 17:22:05 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <523AA4A9-BBF0-40D2-A98E-6C608AC1C11F@juniper.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cSF4RNtGpOXc6Q8B48xKeLhtr9Eag2DKg" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2016 23:22:13 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --cSF4RNtGpOXc6Q8B48xKeLhtr9Eag2DKg Content-Type: multipart/mixed; boundary="vrQf16iBuNh1cJJKcel4IMV9EJQkS6dQW" From: Sean Bruno To: Sreekanth Rupavatharam Cc: "freebsd-net@freebsd.org" , Jack Vogel Message-ID: <86e67e5c-7b32-6cc7-02f1-a0227e12e674@freebsd.org> Subject: Re: Question about em_irq_fast References: <6dd67a05-d484-593f-98f2-60a062c0daa3@freebsd.org> <135A343D-5624-404F-8A18-94744395E5C4@juniper.net> <07f2b16a-8764-48c6-ebd4-1d6d2ce44442@freebsd.org> <523AA4A9-BBF0-40D2-A98E-6C608AC1C11F@juniper.net> In-Reply-To: <523AA4A9-BBF0-40D2-A98E-6C608AC1C11F@juniper.net> --vrQf16iBuNh1cJJKcel4IMV9EJQkS6dQW Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 08/08/16 15:40, Sreekanth Rupavatharam wrote: > Quite possibly, but my question remains. If the register doesn=E2=80=99= t have any specific value for just a received packet(no other events), ho= w is a value of 0 considered to be wrong? Or to flip the question around,= what should be the value of the register for just receive of a packet? >=20 > Thanks, >=20 > -Sreekanth >=20 >=20 > On 8/8/16, 2:02 PM, "Sean Bruno" wrote: >=20 > It sounds like QEMU is spamming packets and interrupts incorrectly = as > normal hardware doesn't have this issue. >=20 As far as I can tell from the data sheets, the value should be non-zero. If its zero, then something has gone awry. Looking at the various spec sheets for various compatible devices, on a rx interrupt, we should see RXQ0 or TXQ0 set. sean --vrQf16iBuNh1cJJKcel4IMV9EJQkS6dQW-- --cSF4RNtGpOXc6Q8B48xKeLhtr9Eag2DKg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJXqRQeXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kM0AH/1R5RW+fFPkurFCWW3qRQd6q NwIJMGo7+q4myZ/yHaK5QFUG3B6aTXJ4XLYyNt8UQMqtrQfGfRyHwHxXhmnEPjJS HapvkE1pGuK9A1lYyazgAC5Y9xJxZ2EZi2Z9B2r2jYmMvK6Bmd4CkMxxxsdxpX+v lkX2zRRFlRrSlL7W08tXd52Xz2ITtNWlX4yXcHhXwBwH9ePMKlZvsYhpH3F3AIth 3i+FoISrvQ5sDCsSUY+0h1d8XwQywwPmY8mlJdO5aYk0lAfUwNJ19wAkrzphm0l/ qRDuetgxESJvQH5NVyVR0+NDGAuPxL0OdWovLHCFpuq2QtxOSYXFXzwBLq4owlA= =y4Eg -----END PGP SIGNATURE----- --cSF4RNtGpOXc6Q8B48xKeLhtr9Eag2DKg--