On Monday 21 April 2008, Johannes Berg wrote: > > > > 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] Excellent. That means the same assumptions can be made about the queue parameter as with the old solution. :) Ivo -- 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