diff options
author | Bob Liu <bob.liu@oracle.com> | 2015-11-14 11:12:11 +0800 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2016-01-04 09:56:02 -0500 |
commit | 81f351615772365d46ceeac3e50c9dd4e8f9dc89 (patch) | |
tree | dc006e8946dcec46556674e9699156db8cea7cdb /ipc/shm.c | |
parent | eb5df87fab0ae7114b83dc7f338b27d039374767 (diff) |
xen/blkfront: separate per ring information out of device info
Split per ring information to a new structure "blkfront_ring_info".
A ring is the representation of a hardware queue, every vbd device can associate
with one or more rings depending on how many hardware queues/rings to be used.
This patch is a preparation for supporting real multi hardware queues/rings.
We also add a backpointer to 'struct blkfront_info' (dev_info) which
is not needed (we could use containers_of) but further patch
("xen/blkfront: pseudo support for multi hardware queues/rings")
will make allocation of 'blkfront_ring_info' dynamic.
Signed-off-by: Arianna Avanzini <avanzini.arianna@gmail.com>
Signed-off-by: Bob Liu <bob.liu@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions