aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorJuergen Gross <[email protected]>2022-06-02 22:23:47 +0300
committerJuergen Gross <[email protected]>2022-06-06 08:54:35 +0200
commit02a9e681a3f7998074f39ec265080bf934871530 (patch)
tree8cb2d7887ecc0d5a875bbebbaed870a2e45f44d7 /include/linux/fpga/fpga-mgr.h
parent9bf22421dc8a69cade3c994771637e9693ff0216 (diff)
xen/grants: support allocating consecutive grants
For support of virtio via grant mappings in rare cases larger mappings using consecutive grants are needed. Support those by adding a bitmap of free grants. As consecutive grants will be needed only in very rare cases (e.g. when configuring a virtio device with a multi-page ring), optimize for the normal case of non-consecutive allocations. Signed-off-by: Juergen Gross <[email protected]> Reviewed-by: Boris Ostrovsky <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions