Question about em_irq_fast

Sean Bruno sbruno at freebsd.org
Mon Aug 8 23:22:13 UTC 2016



On 08/08/16 15:40, Sreekanth Rupavatharam wrote:
> Quite possibly, but my question remains. If the register doesn’t have any specific value for just a received packet(no other events), how 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?
> 
> Thanks,
> 
> -Sreekanth
> 
> 
> On 8/8/16, 2:02 PM, "Sean Bruno" <sbruno at freebsd.org> wrote:
> 
>     It sounds like QEMU is spamming packets and interrupts incorrectly as
>     normal hardware doesn't have this issue.
> 


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20160808/603ccf1f/attachment.sig>


More information about the freebsd-net mailing list