mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-23 00:11:16 +00:00
With an updated Linux kernel the kernel reprograms the same table entry in the MSI-X table multiple times. Fortunately it does so with entry masked (the default.) The costly part of MSI-X table reprogramming is going out to the host kernel to update the GSI routing entries. This change makes three optimisations. 1. If the table entry is unchanged: skip handking updates 2. Only update the GSI routing table if the table entry is unmasked (this skips extra calls to the ioctl() for reprogramming the entries.) 3. Only generate a message on entry unmasking if the global MSI-X enable bit is set. Fixes: #4273 Signed-off-by: Rob Bradford <robert.bradford@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |