]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Sep 2015 04:39:21 +0000 (21:39 -0700)
commit10441d6862b8b3a627b33ee7520c2cbe5bf8e59f
tree03c55647d64b259b499bacec9c63922526f82d7a
parent8695bd01db29f18e5b7598e2f852c9f5dcf53f5b
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>
drivers/net/xen-netfront.c