> > 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