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: Re: FreeBSD-Stack not responding


On Wed, Jul 31, 2002 at 07:00:59AM -0500, Bob Ray wrote:
> 
> >Is this problem - or better - how can this
> >problem be only PPC8xx related?
> >I assume the stack is tested and working
> >for someone else.
> 
> I suggest you look buffer alignment (are the
> rx buffers on a 32-bit boundary???).

The ethernet rx buffers lay on a 32 Byte! boundary
achieved by the macro

#define ROUNDUP(b,s) (((unsigned long)(b) + (s-1)) & ~(s-1))

-- 

-- 
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]