From: Alessandro Rubini <redacted>
Date: Tue, 20 Dec 2011 08:30:50 +0100
Allocation of the queues is based on a parameter. If the parameter was
a size, instead of a lenght, all would be fine, wouldn't it? If you
agree, then this patch is turning the lenght into a size, in a way.
That doesn't make any sense either, queues are sized by TX descriptor
slots not bytes.
Now, how could we deal with the fact that the size explodes if the MTU
is increased?
Maybe... set the initial parameter appropriately? This is enormously
better than fixing it up after the fact.
Maybe I set the number of TX entries based upon my expected packet
load of small packets. If I happen to set my MTU to 9000 that's
irrelevant to the setting.