summaryrefslogtreecommitdiffstats
path: root/block/blk-exec.c
diff options
context:
space:
mode:
authorEli Cohen <eli@mellanox.com>2020-08-04 18:20:43 +0200
committerMichael S. Tsirkin <mst@redhat.com>2020-08-06 00:39:19 +0200
commitaac50c0bd434794b9950181349099e709ca4edad (patch)
treefa327338edce163e18e1d9da46a0d7715c00b3a9 /block/blk-exec.c
parentvdpa: remove hard coded virtq num (diff)
downloadlinux-aac50c0bd434794b9950181349099e709ca4edad.tar.xz
linux-aac50c0bd434794b9950181349099e709ca4edad.zip
net/vdpa: Use struct for set/get vq state
For now VQ state involves 16 bit available index value encoded in u64 variable. In the future it will be extended to contain more fields. Use struct to contain the state, now containing only a single u16 for the available index. In the future we can add fields to this struct. Reviewed-by: Parav Pandit <parav@mellanox.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Eli Cohen <eli@mellanox.com> Link: https://lore.kernel.org/r/20200804162048.22587-8-eli@mellanox.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'block/blk-exec.c')
0 files changed, 0 insertions, 0 deletions