Skip to content

Commit cf71d59

Browse files
Wentao Wangmartinkpetersen
authored andcommitted
scsi: vmw_pvscsi: Expand vcpuHint to 16 bits
vcpuHint has been expanded to 16 bit on host to enable routing 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. Link: https://lore.kernel.org/r/EF35F4D5-5DCC-42C5-BCC4-29DF1729B24C@vmware.com Signed-off-by: Wentao Wang <wwentao@vmware.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent f92de9d commit cf71d59

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/scsi/vmw_pvscsi.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@ struct PVSCSIRingReqDesc {
331331
u8 tag;
332332
u8 bus;
333333
u8 target;
334-
u8 vcpuHint;
335-
u8 unused[59];
334+
u16 vcpuHint;
335+
u8 unused[58];
336336
} __packed;
337337

338338
/*

0 commit comments

Comments
 (0)