Re: chainloading, ignore receive packets.

Itay Gazit <[email protected]>
Newsgroups gmane.network.etherboot.user
Message-ID <[email protected]>
My _irq() function is empty.
I saw in many of the gPXE device drivers, their irq() function is empy.
Is there any WA to overcome the issue?

Thanks,

Itay


On Mon, Aug 3, 2009 at 12:02 AM, Michael Brown <[email protected]>wrote:

>  On Thursday 30 July 2009 08:15:10 Itay Gazit wrote:
> > I tried to perform chainloaing over Mellanox ConnectX EN ROM gPXE ver
> > 0.9.5. After loading undionly.kpxe I noticed all receive packets where
> > ignored. In debugging I found all packets were thrown away by the
> 'return'
> > of this part of code under undinet.c -> undinet_poll()
> > "
> > if ( ! undinet_isr_triggered() ) {
> >    /* Allow interrupt to occur */
> >    __asm__ __volatile__ ( REAL_CODE ( "sti\n\t"
> >           "nop\n\t"
> >           "nop\n\t"
> >           "cli\n\t" ) : : );
> >    return;
> >   }
> > "
> >
> > After ignoring this part of code chainloading worked fine.
> >
> > Is there something missing in my driver? Or it's a known issue?
>
> Most probably your driver is failing to generate interrupts, or to
> acknowledge
> them at the correct time.  Is your irq() method defined?.
>
> Michael
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
Etherboot-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/etherboot-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.