• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
4k mbuf alignment on intel?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

4k mbuf alignment on intel?


  • Subject: 4k mbuf alignment on intel?
  • From: Andrew Gallatin <email@hidden>
  • Date: Fri, 20 Oct 2006 13:55:27 -0400 (EDT)

I'm trying to track down some weird mbuf corruption problems with my
driver on mac pros, without any access to mac pro hardware.  One thing
that came to my mind is that I currently assume 4k mbufs as returned
by mbuf_allocpacket(..4096..) are aligned on a 4k physical address
boundary.  If the hardware attempts a DMA across a 4K boundary, it
will wrap around and scribble over the first part of the page, so this
might explain the mbuf corruption.

4KB mbufs has been always been aligned on 4KB boundaries on ppc.  Is
it true on Intel?

If this is not true, how does one allocate one's own
external storage in the face of the mbuf kpi?

Thanks,

Drew


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: 4k mbuf alignment on intel?
      • From: Terry Lambert <email@hidden>
  • Prev by Date: Re: SocketFilter, Sockets & PCB
  • Next by Date: Re: panic.log on Intel?
  • Previous by thread: Re: SocketFilter, Sockets & PCB
  • Next by thread: Re: 4k mbuf alignment on intel?
  • Index(es):
    • Date
    • Thread