mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 15:45:05 +00:00
hv: add max payload to vrp
It seems important that passthru device's max payload settings match the settings on the native device otherwise passthru device may not work. So we have to set vrp's max payload capacity as native root port otherwise we may accidentally change passthru device's max payload since during guest OS's pci device enumeration, pass-thru device will renegotiate its max payload's setting with vrp. Tracked-On: #5915 Signed-off-by: Rong Liu <rong.l.liu@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
@@ -672,6 +672,7 @@ struct acrn_intr_monitor {
|
||||
struct vrp_config
|
||||
{
|
||||
uint16_t phy_bdf;
|
||||
uint8_t max_payload; /* dev cap's max payload */
|
||||
uint8_t primary_bus;
|
||||
uint8_t secondary_bus;
|
||||
uint8_t subordinate_bus;
|
||||
|
||||
Reference in New Issue
Block a user