This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Problems receiving packets on i82559


Hi Andrew,

As u had asked earlier, we added print statements in eth_isr and eth_dsr and
see them but only when we r sending packets.

But when we dont send any packet the eth_isr and eth_dsr statements are not
printed.

Wht cud be the reason tht the interrupts are not being generated?

Thanx,
Nikhil

-----Original Message-----
From: Andrew Lunn [mailto:andrew dot lunn at ascom dot ch]
Sent: Friday, March 07, 2003 2:01 PM
To: Nikhil R.
Cc: ecos-discuss at sources dot redhat dot com
Subject: Re: [ECOS] Problems receiving packets on i82559


Hi

Sounds like your interrupt are not happening. Try printing a
diag_printf in the isr and dsr functions. Make sure they are being
called.

You are receiving while sending because the send code polls the
receiver. Without this poll you rely on interrupts.

          Andrew

On Fri, Mar 07, 2003 at 12:11:11PM +0530, Nikhil R. wrote:
> Hi All,
> 
> We used the i82559 driver in our TCP/IP stack. We have been able to
> initialize and send packets successfully but r not receving any packets
> consistently.
> 
> When the send is happening, we are receiving ARP and IP packets with
> destination Eth address of ff:ff:ff:ff:ff:ff.
> 
> But we r not receiving any other packet with a different destination Eth
> address.
> 
> Once the send stops we are not able to receive even these packets anymore.
> 
> Can anyone throw light on wht the problem could be?
> 
> Thanx in advance,
> Nikhil
> 
> 
> 
> 
> DISCLAIMER:
> This message (including attachment if any) is confidential and may be
privileged. Before opening attachments please check them for viruses and
defects. MindTree Consulting Private Limited (MindTree) will not be
responsible for any viruses or defects or any forwarded attachments emanating
either from within MindTree or outside. If you have received this message by
mistake please notify the sender by return  e-mail and delete this message
from your system. Any unauthorized use or dissemination of this message in
whole or in part is strictly prohibited.  Please note that e-mails are
susceptible to change and MindTree shall not be liable for any improper,
untimely or incomplete transmission.
> 
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> 


DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return  e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited.  Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.

--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]