[ovs-dev] [QoS fixes 10/10] netdev-linux: Avoid minor number 0 in traffic control.

Justin Pettit jpettit at nicira.com
Tue Jul 20 05:27:45 UTC 2010


On Jul 16, 2010, at 3:52 PM, Ben Pfaff wrote:

>     if (queue_id < 0xf000) {
> -        *priority = TC_H_MAKE(1 << 16, queue_id);
> +        *priority = TC_H_MAKE(1 << 16, queue_id + 1);

The number of HTB queues is hardcoded to 0xf000 in netdev-linux.c, so will increasing the minor handle by one cause any issues here?  I'm guessing you considered this, but I'm fairly ignorant on the kernel TC stuff and just want to double check.

--Justin






More information about the dev mailing list