Re: [PATCH 1/3] Kernel interfaces for multiqueue aware socket

From: Dimitris Michailidis
Date: Wed Dec 15 2010 - 21:43:48 EST


Changli Gao wrote:
On Thu, Dec 16, 2010 at 9:14 AM, Fenghua Yu <fenghua.yu@xxxxxxxxx> wrote:
SKF_AD_QUEUE doesn't know number of rx queues. Thus user application can't
specify right SKF_AD_QUEUE.

It is wrong. AFAIK, you can get the queue number through
/sys/class/net/eth*/queues/ or /proc/interrupts

The number of Rx queues is also available through ETHTOOL_GRXRINGS though few drivers support it currently.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/