NET driver skb alignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




    I tripped over a feature in another OS that allowed aligning the network buffers to any ^2 boundary.
    I have a driver that that would substantially simplify the code.

    Is there any reason I can not ask for a read SKB that is sufficiently much larger than I need and then align it by altering the data pointer ?
    It there a way I can persuade Linux to give me xmit skb's aligned as I want them ?



-- 
Dave Lynch 					  	    DLA Systems
Software Development:  				         Embedded Linux
717.627.3770 	       dhlii@xxxxxxxxxx 	  http://www.dlasys.net
fax: 1.253.369.9244 			           Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too numerous to list.

"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux