commit | 16917b87a23b429226527f393270047069d665e9 | [log] [tgz] |
---|---|---|
author | Yuval Mintz <yuvalmin@broadcom.com> | Sun Jul 01 03:18:50 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 05 03:06:44 2012 -0700 |
tree | d233f41b31e29688fab779e6885ede9b83f4867b | |
parent | bf5e53e3717ed28be69d0663c65962d1731e7ee4 [diff] |
net-next: Add netif_get_num_default_rss_queues Most multi-queue networking driver consider the number of online cpus when configuring RSS queues. This patch adds a wrapper to the number of cpus, setting an upper limit on the number of cpus a driver should consider (by default) when allocating resources for his queues. Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>