Search Linux Wireless

Re: atheros hardware needs padding for QoS data

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

 



On Mon, 2007-10-15 at 12:41 +0900, bruno randolf wrote:

> but isn't doing a memmove() quite inefficient? especially since we are dealing 
> with QoS packets that might be important.

It's only ~20 bytes that are moved, should be within one cache line and
we touch the packet data anyway. I don't think it's a problem.

> another solution i thought of was signalling the mac80211 layer that we need 
> padding which could then just adjust it's headerlen. but then different 
> drivers might need different padding in different places (i don't know?). 
> what do you think of this approach?

That could be worthwhile, though the headerlen calculation is called
very very often and adding another branch into it could very well impact
performance worse than doing the memmove.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux