Re: Question about em_irq_fast

2016-08-08 Thread Sean Bruno
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

Re: Question about em_irq_fast

2016-08-08 Thread Sreekanth Rupavatharam
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, -Sree

Re: Question about em_irq_fast

2016-08-08 Thread Sean Bruno
On 08/08/16 13:14, Sreekanth Rupavatharam wrote: > > > Thanks, > > -Sreekanth > >> On Aug 8, 2016, at 12:09 PM, Sean Bruno wrote: >> >> Is this with the "lem" driver or the "em" driver under QEMU? >> > It's for lem driver under qemu. My question is mainly about there being no > specific bit

Re: Question about em_irq_fast

2016-08-08 Thread Sreekanth Rupavatharam
Thanks, -Sreekanth > On Aug 8, 2016, at 12:09 PM, Sean Bruno wrote: > > Is this with the "lem" driver or the "em" driver under QEMU? > It's for lem driver under qemu. My question is mainly about there being no specific bit for a packet received in this register or am I missing something he

Re: Question about em_irq_fast

2016-08-08 Thread Sean Bruno
On 08/05/16 12:01, Sreekanth Rupavatharam wrote: > We have this code snippet in em_irq_fast > > ifp = > adapter->ifp; > > > > > reg_icr = E100

Question about em_irq_fast

2016-08-05 Thread Sreekanth Rupavatharam
We have this code snippet in em_irq_fast ifp = adapter->ifp; reg_icr = E1000_READ_REG(&adapter->hw, E1000_ICR); /* Hot eject? */ if (reg_icr == 0x) return FILTER_STRAY; /* Definitely not our interrupt. */ if (reg