bge on 64-bit pci: corrupt packets

Brian Fundakowski Feldman green at freebsd.org
Fri Jul 9 19:59:49 PDT 2004


On Thu, Jul 01, 2004 at 10:48:29PM -0400, Jonathan Chen wrote:
> Hi all,
> 
> I've been experiencing a problem with using bge on 64-bit pci slots.  After 
> looking at this for the whole day, I still have no idea what the problem 
> is.  Perhaps one of you can help...

If you suspect it to be an alignment problem, it's easy to test.  Look for
the bus_dma_tag_create() calls -- all of them use PAGE_SIZE (4096+) or
ETHER_ALIGN (2).  Did you try changing the ETHER_ALIGNS to 8?

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green at FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\


More information about the freebsd-hackers mailing list