On Thu, 2010-03-25 at 14:33 +0800, Kalle Valo wrote: > Zhu Yi <yi.zhu@xxxxxxxxx> writes: > > > Mac80211 drivers can now pass paged SKBs to mac80211 via > > ieee80211_rx{_irqsafe}. The implementation currently use > > skb_linearize() in a few places i.e. management frame handling, > > software decryption, defragmentation and A-MSDU process. We can > > optimize them one by one later. > > I think ieee80211_rx{_irqsafe} documentation should now mention that > paged skbs are supported. Better to make this suppot explicit for the > driver authors. Good idea it should be documented somewhere (after the patch is accepted). Maybe the developer wiki page? For the code itself, I think Linux drivers can always assume the network stacks support paged buffers. In case some stack doesn't support paged buffer, it should do skb_linearize() itself in the very beginning of its rcv handling (e.g. sctp_rcv, tipc_recv_msg, etc). Thanks, -yi -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html