summaryrefslogtreecommitdiff
path: root/kernel/power/energy_model.c
diff options
context:
space:
mode:
authorEli Cohen <elic@nvidia.com>2023-06-07 22:00:06 +0300
committerMichael S. Tsirkin <mst@redhat.com>2023-06-27 10:47:09 -0400
commitbc9a2b3e686e32ebd764d92e66e21c01e23ffb16 (patch)
tree4cba099bd513b3c5b73fb6619f54dfc6c6899187 /kernel/power/energy_model.c
parent33bd91fd24367ad664de6c05d0e0206d0b149767 (diff)
vdpa/mlx5: Support interrupt bypassing
Add support for generation of interrupts from the device directly to the VM to the VCPU thus avoiding the overhead on the host CPU. When supported, the driver will attempt to allocate vectors for each data virtqueue. If a vector for a virtqueue cannot be provided it will use the QP mode where notifications go through the driver. In addition, we add a shutdown callback to make sure allocated interrupts are released in case of shutdown to allow clean shutdown. Signed-off-by: Eli Cohen <elic@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Message-Id: <20230607190007.290505-1-dtatulea@nvidia.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'kernel/power/energy_model.c')
0 files changed, 0 insertions, 0 deletions