summaryrefslogtreecommitdiff
path: root/drivers/scsi/vmw_pvscsi.h
diff options
context:
space:
mode:
authorWentao Wang <wwentao@vmware.com>2022-06-02 08:57:00 +0000
committerMartin K. Petersen <martin.petersen@oracle.com>2022-06-07 21:30:56 -0400
commitcf71d59c2eceadfcde0fb52e237990a0909880d7 (patch)
treebcd161bc6c7921ad70aecc2e76c565925e682ee0 /drivers/scsi/vmw_pvscsi.h
parentf92de9d110429e39929a49240d823251c2fe903e (diff)
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>
Diffstat (limited to 'drivers/scsi/vmw_pvscsi.h')
-rw-r--r--drivers/scsi/vmw_pvscsi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/vmw_pvscsi.h b/drivers/scsi/vmw_pvscsi.h
index 51a82f7803d3..9d16cf925483 100644
--- a/drivers/scsi/vmw_pvscsi.h
+++ b/drivers/scsi/vmw_pvscsi.h
@@ -331,8 +331,8 @@ struct PVSCSIRingReqDesc {
u8 tag;
u8 bus;
u8 target;
- u8 vcpuHint;
- u8 unused[59];
+ u16 vcpuHint;
+ u8 unused[58];
} __packed;
/*