How to align the sk_buff 'data' field on an odd word address?
Hello,
I'm using linux on a blackfin BF537E rev 0.2 DSP from analog devices.
Due to a hardware bug, ethernet Tx can't use the DMA to get data from memory if the "data" field of the sk_buff structure isn't aligned on an odd word address.
So, is there a trick to allocate the datagram I give to the "sendto" function on a odd word address?
But I'm not sure it will be sufficient since I'm not able to connect the device "xmit" function (where the sk_buff data field need to be aligned) and the "sock_sendmsg" which is, I hope, my kernel entry point... If some network driver guru can point to me where's the sk_buff data filed is connected to my user-side datagram address, I'm working in MULTICAST.
Thanks for any help.
|