xen/blkback: get the number of hardware queues/rings from blkfront
authorBob Liu <bob.liu@oracle.com>
Sat, 14 Nov 2015 03:12:17 +0000 (11:12 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 4 Jan 2016 17:21:06 +0000 (12:21 -0500)
commitd62d86000316d7ef38e1c2e9602c3ce6d1cb57bd
treeaa9fa8a5fce0608532787214b8f40a5075871a6d
parent2fb1ef4f1226ea6d6d3481036cabe01a4415b68c
xen/blkback: get the number of hardware queues/rings from blkfront

Backend advertises "multi-queue-max-queues" to front, also get the negotiated
number from "multi-queue-num-queues" written by blkfront.

Signed-off-by: Bob Liu <bob.liu@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkback/blkback.c
drivers/block/xen-blkback/common.h
drivers/block/xen-blkback/xenbus.c