Re: [RFC v2] mac80211: assign needed_headroom/tailroom for netdevs

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Tomas Winkler <tomasw@...>
Cc: David Miller <davem@...>, <linville@...>, <netdev@...>, <linux-wireless@...>
Date: Monday, May 5, 2008 - 11:22 am

> I've did some measurement of the TX path  on an embedded system (2.6.23 k=
ernel)

Yeah, I figured.


Right. Not all hardware supports this though, but even when it does I
don't see what we can do unless we want to do all this inside mac80211
which I'd rather not.

SKBs don't have a way to say "I need N bytes writable headroom but I can
do s/g operation for the rest" which is what we'd need. If that was
available, we could even work with clones, then we could pull away the
ethernet header and build the 802.11/device headers in separate buffers,
demoting the old 'skb head' buffer to a data buffer...

johannes
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC v2] mac80211: assign needed_headroom/tailroom for n..., Johannes Berg, (Mon May 5, 11:22 am)