]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen-netfront: always set num queues if possible
authorchas williams <3chas3@gmail.com>
Wed, 16 Sep 2015 20:28:25 +0000 (16:28 -0400)
committerJoao Martins <joao.m.martins@oracle.com>
Sun, 27 Mar 2016 01:00:56 +0000 (02:00 +0100)
commitfcc48d92c546dd9fd3bdd6d91e5ff83a32c57e7a
tree9aad7be260d82f49464d336528e1993d01ae846a
parentd4aa30215764d90ea2a66b878dbdc9a3cc76afcb
xen-netfront: always set num queues if possible

If netfront connects with two (or more) queues and then reconnects with
only one queue it fails to delete or rewrite the multi-queue-num-queues
key and netback will try to use the wrong number of queues.

Always write the num-queues field if the backend has multi-queue support.

Signed-off-by: Chas Williams <3chas3@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 812494d9a0cacf77e0a538be18183c7b471812aa)
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
drivers/net/xen-netfront.c