rsriram writes:
> Hi,
>
> I need a clarification..
>
> For receive descriptors we need to provide 4k memory for our adapter.
> I am given to understand that earlier mac implementation had 2k limitation.
>
> Do we still have any such limitation in MAC OS.
> I am working on 10.3.9.
10.3 is limited to mbufs of 2KB in size.
10.4 has 4KB mbufs available.
The 10.3 limitation is really unfortunate. The 64-bit support which
came in around 10.2.7 broke device support for M_EXT mbufs by making
it impossible to get a DMA address for an M_EXT mbuf in a standard
way. This means you cannot allocate your own 4KB (or larger) buffers
and wrap them in M_EXT mbufs, because no other driver will be able to
forward anything your driver received.
Drew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden
This email sent to email@hidden