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 will optimize them one by one later. [...] > --- a/include/net/mac80211.h > +++ b/include/net/mac80211.h > @@ -1822,7 +1822,10 @@ void ieee80211_restart_hw(struct ieee80211_hw *hw); > * ieee80211_rx - receive frame > * > * Use this function to hand received frames to mac80211. The receive > - * buffer in @skb must start with an IEEE 802.11 header. > + * buffer in @skb must start with an IEEE 802.11 header. In case of a > + * paged @skb is used, the driver is recommended to put the ieee80211 > + * header of the frame on the linear part of the @skb to avoid memory > + * allocation and/or memcpy by the stack. This is much better now. Thank you. -- Kalle Valo -- 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