projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
332d76d
)
scsi: vmw_pvscsi: Expand vcpuHint to 16 bits
author
Wentao Wang
<wwentao@vmware.com>
Thu, 2 Jun 2022 08:57:00 +0000
(08:57 +0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 22 Jun 2022 12:21:57 +0000
(14:21 +0200)
[ Upstream commit
cf71d59c2eceadfcde0fb52e237990a0909880d7
]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/vmw_pvscsi.h
patch
|
blob
|
history
diff --git
a/drivers/scsi/vmw_pvscsi.h
b/drivers/scsi/vmw_pvscsi.h
index 51a82f7803d3c7ede3643dc2ea04fee0cc387989..9d16cf925483744813ab5804f573a1d464673f4a 100644
(file)
--- a/
drivers/scsi/vmw_pvscsi.h
+++ b/
drivers/scsi/vmw_pvscsi.h
@@
-331,8
+331,8
@@
struct PVSCSIRingReqDesc {
u8 tag;
u8 bus;
u8 target;
- u
8
vcpuHint;
- u8 unused[5
9
];
+ u
16
vcpuHint;
+ u8 unused[5
8
];
} __packed;
/*