[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1DC40B07CD6EC041A66726C271A73AE61955F646@IRSMSX102.ger.corp.intel.com>
Date: Tue, 29 May 2012 14:45:34 +0000
From: "Berg, Johannes" <johannes.berg@...el.com>
To: Eric Dumazet <eric.dumazet@...il.com>
CC: David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
"Guy, Wey-Yi W" <wey-yi.w.guy@...el.com>
Subject: RE: [PATCH net-next] iwlwifi: dont pull too much payload in skb head
> > We may want to move this code into mac80211 later though since it also
> > has an if (pull in everything, even reallocating if necessary, if it's
> > a management frame), but that can wait, I think we're the only driver
> > using paged RX.
>
> This is OK, these frames wont be injected in linux IP/TCP stack.
Right.
> Or maybe you would like an optimized version of skb_header_pointer(),
> avoiding the copy if the whole blob can be part of _one_ fragment ?
Hmm. I guess that would work, but I'm not sure it's worth the effort since there typically aren't many management frames. We'd have to replace all skb->data, the entire mac80211 assumes that management frames are linear.
johannes
--
--------------------------------------------------------------------------------------
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052
Powered by blists - more mailing lists