Coia Prant
a31da7a87d
lib: added params_size for v18 driver compatibility
...
In vGPU 18.x (R570)
- Parameters size for `NV0000_CTRL_CMD_VGPU_CREATE_DEVICE` was 40 bytes
- Parameters size for `NV0080_CTRL_CMD_GPU_GET_VIRTUALIZATION_MODE` was 8 bytes
Signed-off-by: Coia Prant <coiaprant@gmail.com>
2025-06-02 13:54:05 -07:00
Coia Prant
0ff7938678
nvidia(ctrl0080gpu): sync vGPU 18.x (R570) fields
...
Synchronizing fields for vGPU 18.x (R570)
Signed-off-by: Coia Prant <coiaprant@gmail.com>
2025-06-02 13:54:05 -07:00
Coia Prant
bb613be50a
nvidia(ctrl0000vgpu): sync vGPU 18.x (R570) fields
...
Synchronizing fields for vGPU 18.x (R570)
Signed-off-by: Coia Prant <coiaprant@gmail.com>
2025-06-02 13:54:05 -07:00
Coia Prant
e83bb8135b
nvidia(ctrla081): sync vGPU 18.x (R570) fields
...
Synchronizing fields for vGPU 18.x (R570)
Signed-off-by: Coia Prant <coiaprant@gmail.com>
2025-06-02 13:54:05 -07:00
Coia Prant
df0090a542
nvidia(ctrla081): replace R550 link reference
...
Latest fields in line 126-128
Signed-off-by: Coia Prant <coiaprant@gmail.com>
2025-06-02 13:54:05 -07:00
bennaber
ff3e6e4b81
lib: added params_size of 5232 bytes for v18 driver compatibility ( #43 )
...
Co-authored-by: plaguenarr <plaguenarr@MacBook-Pro-von-plaguenarr.local>
2025-04-01 05:53:54 -04:00
Matt Bilker
ba66a6c6ee
lib: do not take mdev UUID as 17.x may get the vGPU info multiple times
...
- See #37
2024-09-25 04:35:50 +00:00
Matt Bilker
0d5e6d68d1
cargo: version 2.5.0
v2.5.0
2024-09-17 03:21:50 +00:00
Matt Bilker
2728daec52
nvidia(ctrl0000vgpu): combine use statements in tests
2024-09-17 03:21:01 +00:00
vdheijden
f53fb6b3c1
lib: Add handling of NV0000_CTRL_CMD_VGPU_CREATE_DEVICE for 17.0 host driver ( #35 )
2024-09-16 23:18:56 -04:00
Matt Bilker
f74929011f
cargo: version 2.4.1
v2.4.1
2024-07-29 10:15:58 +00:00
Matt Bilker
037b3feba7
utils: fix Proxmox format
...
- Closes #34
2024-07-29 10:15:23 +00:00
Matt Bilker
d116525334
cargo: version 2.4.0
v2.4.0
2024-03-19 07:21:26 +00:00
Matt Bilker
953b9c6b92
cargo: upgrade dependencies
...
- Drop support for Rust 1.48 as Proxmox 8 uses Debian 12 as its base.
2024-03-19 07:20:50 +00:00
Matt Bilker
77508a97d9
nvidia(ctrla081): convert vgpu_extra_params
to array of u32
2024-03-19 07:18:11 +00:00
Matt Bilker
e829f2bba6
format: support hex formatting slices of any type that can be converted to bytes
2024-03-19 07:17:19 +00:00
Matt Bilker
ce3c6bbe14
cargo: upgrade toml to 0.8.11
2024-03-19 06:35:13 +00:00
Matthew Bilker
cad308eceb
Merge pull request #33 from polloloco/master
2024-03-04 12:47:42 -05:00
PolloLoco
d7bf3a1c04
WIP: Add support for 17.0 host driver while keeping backwards compat with 16.x
2024-02-28 22:18:14 +01:00
Matt Bilker
44d5bb32ec
nvidia(ctrla082): print extra data if any byte is non-zero
2023-02-07 05:50:09 +00:00
Matt Bilker
d91bbc5e60
nvidia(ctrla081): print extra data if any byte is non-zero
2023-02-07 05:49:56 +00:00
Matt Bilker
1492be813b
lib: pretty print RM request structure so numbers are prefixed with 0x
2023-02-06 23:15:34 +00:00
Matt Bilker
91d0101765
nvidia(ctrla081): move unknown section to end of parent struct
...
- This aligns `NVA081_CTRL_VGPU_CONFIG_GET_VGPU_TYPE_INFO_PARAMS` with how
`NVA081_CTRL_CMD_VGPU_CONFIG_SET_INFO` uses the same
`NVA081_CTRL_VGPU_CONFIG_INFO` structure.
2023-02-06 23:15:34 +00:00
Matt Bilker
46dee6336c
nvidia(ctrla082): print whole signature if any byte is non-zero
2023-02-06 23:15:34 +00:00
Matt Bilker
6200b6b341
nvidia(ctrla081): print whole signature if any byte is non-zero
2023-02-06 23:15:28 +00:00
Matt Bilker
59660e42f8
Merge pull request #28 from polloloco/master
...
Fix bug where table keys were always parsed as a string
2023-01-15 22:18:20 -05:00
PolloLoco
686b7fb384
Apparently table keys are always strings... Fixed now
2023-01-16 00:06:02 +01:00
Matt Bilker
71ae908446
Merge pull request #27 from polloloco/master
...
Add [vm.<id>] section as syntactic sugar for proxmox users
2023-01-14 14:33:55 -05:00
PolloLoco
688747fc84
Formatting
2023-01-14 19:14:49 +01:00
PolloLoco
f139fa775c
Enable 'proxmox' feature by default
2023-01-14 19:14:39 +01:00
PolloLoco
b5609cb219
Add syntactic sugar for proxmox users (behind proxmox feature flag)
2023-01-14 14:45:09 +01:00
Matt Bilker
3c35e581cf
nvidia(ctrla082): rename some fields to match A081
2022-12-07 12:30:22 +00:00
Matt Bilker
3ce87825cd
nvidia(ctrl0080gpu): add forgotten repr(C)
2022-12-07 12:18:49 +00:00
Matt Bilker
72abe3c927
nvidia: refactor everything out of the main class and use official naming and structs where possible
2022-12-07 12:16:25 +00:00
Matt Bilker
17d81e0dbd
lib: small style change in test harness
2022-12-05 16:44:39 +00:00
Matt Bilker
e900173ea1
lib: fix vGPU config struct being too short under strict size checking
2022-12-05 16:42:53 +00:00
Matt Bilker
6fad6a3934
lib: fix NV2080_CTRL_CMD_BUS_GET_PCI_INFO handling for real
...
- I broke the handling in the last commit because the 0x10de is in the lower half of the integers
2022-12-05 16:41:19 +00:00
Matt Bilker
1eed7d216b
lib: fix NV2080_CTRL_CMD_BUS_GET_PCI_INFO handling
...
- I broke the handling in the last commit because of the 0x10de being ignored
2022-12-05 04:39:30 +00:00
Matt Bilker
556469352c
lib: fix NV2080_CTRL_CMD_BUS_GET_PCI_INFO structure size
...
- The change to `check_size` broke this ioctl
2022-12-05 04:19:18 +00:00
Matt Bilker
1841077f87
lib: remove explicit lifetimes where unnecessary
2022-12-05 02:18:27 +00:00
Matt Bilker
a24d5209eb
Merge pull request #22 from polloloco/fix-profile-overrides-on-r525
...
Fix profile overrides on R525 vgpu driver
2022-12-04 20:58:16 -05:00
PolloLoco
1dc58764d6
Add new VgpuConfig struct used in vgpu 15.0 (520.60.12)
2022-12-04 09:46:22 +01:00
Matt Bilker
aa56da6917
cargo: version 2.3.1
v2.3.1
2022-10-13 07:48:56 +00:00
Matt Bilker
fddf049830
Merge pull request #19 from tonymanou/bool_coercion
...
Fix boolean value coercion
2022-10-13 03:41:02 -04:00
tonymanou
5baf345f19
lib: fix boolean value coercion
2022-10-13 09:04:41 +02:00
Matt Bilker
6e54853c9f
cargo: version 2.3.0
v2.3.0
2022-09-21 04:37:20 +00:00
Matt Bilker
ccf1744821
format: fix compatibility with Rust 1.48
2022-09-21 04:36:54 +00:00
Matt Bilker
2f18efb8e5
lib: trim trailing NUL bytes from the signature field
2022-09-21 04:35:44 +00:00
Matt Bilker
087a5c8713
lib: rework the configuration macros to make them more succinct
...
- Surprisingly, this ended up having more lines of code, but in my
opinion the the code is cleaner.
2022-08-25 10:40:09 +00:00
Matt Bilker
1878829903
lib: limit boolean values to 0 or 1
2022-08-24 19:35:47 +00:00