site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Andrew Gallatin