Search Linux Wireless

Re: [PATCH 4/9] rt2x00: Use rt2x00 queue numbering

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

 



> > This function only exists to move the translation in a single location.
> > When the translation isn't needed anymore because skb_get_queue_mapping(skb)
> > or something else is used, then this function can be removed completely. :)
> 
> Ps. Can I assume that skb_get_queue_mapping(skb) or whatever replacement
> for control->queue will make sure the given queue will not exceed the max
> number of supported queues as configured by the driver (through hw->queues)?
> 
> Or should the driver drop such packets or resolve it to the highest queue available?

Well there are two cases.

(1) MQ is not configured -> it always returns 0
(2) MQ is configured, mac80211 will create a device with hw->queues
queues, so it'll be in the range [0 .. hw->queues-1]

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