Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Wentao Wang and committed by
Martin K. Petersen
cf71d59c f92de9d1

+2 -2
+2 -2
drivers/scsi/vmw_pvscsi.h
··· 331 331 u8 tag; 332 332 u8 bus; 333 333 u8 target; 334 - u8 vcpuHint; 335 - u8 unused[59]; 334 + u16 vcpuHint; 335 + u8 unused[58]; 336 336 } __packed; 337 337 338 338 /*