]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen-netback: respect user provided max_queues
authorWei Liu <wei.liu2@citrix.com>
Thu, 10 Sep 2015 10:18:57 +0000 (11:18 +0100)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Tue, 6 Oct 2015 16:13:57 +0000 (09:13 -0700)
commit40b0bca4eef618182402cca872e99a7e511be1a5
tree082cc7b879547d34c36e2ba6fb2b1cec965ba424
parent9a76951c806bb83baa1ae30049c3d0a9ce2b350b
xen-netback: respect user provided max_queues

Originally that parameter was always reset to num_online_cpus during
module initialisation, which renders it useless.

The fix is to only set max_queues to num_online_cpus when user has not
provided a value.

Acked-by: Konrad Rzeszutek Wilk <Konrad.wilk@oracle>
Reported-by: Johnny Strom <johnny.strom@linuxsolutions.fi>
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 4c82ac3c37363e8c4ded6a5fe1ec5fa756b34df3)
Signed-off-by: Annie Li <annie.li@oracle.com>
drivers/net/xen-netback/netback.c