vmw_pvscsi: Expand vcpuHint to 16 bit to aliagn with host side change.
vcpuHint has been expanded to 16 bit on host side to enable interruptions to be routed to more CPUs. Guest side should align with the change. This change has been tested with hosts with 8-bit and 16-bit vcpuHint, on both platforms host side can get correct value. This driver is for ESXi product which only supports x86/x64. They are little-endian. So there is no need to consider big-endian system. PR: 264840 Reviewed by: imp@, Zhenlei Huang
This commit is contained in:
parent
a7222b3cc3
commit
923704f7b8
@ -120,8 +120,8 @@ struct pvscsi_ring_req_desc {
|
||||
uint8_t tag;
|
||||
uint8_t bus;
|
||||
uint8_t target;
|
||||
uint8_t vcpu_hint;
|
||||
uint8_t unused[59];
|
||||
uint16_t vcpu_hint;
|
||||
uint8_t unused[58];
|
||||
};
|
||||
|
||||
struct pvscsi_ring_cmp_desc {
|
||||
|
Loading…
x
Reference in New Issue
Block a user