History

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.

Wentao Wang committed 4 years ago

Commit cf71d591 parent f92de9d1 file · +2 −2Browse files

Unified · Split

drivers/scsi/vmw_pvscsi.h+2−2
@@ -331,8 +331,8 @@ struct PVSCSIRingReqDesc { · 330 unmodified lines
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 /*

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t