File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,24 @@ To incorporate NVMe-MI responder support, add the `nvme-mi` feature:
35
35
cargo build --features nvme-mi
36
36
```
37
37
38
+ We also support a test client for PLDM for File Transfer (type 7). When
39
+ ` mctp-dev ` is assigned an MCTP EID, it will perform PLDM operations to
40
+ read a file from the bus owner EID.
41
+
42
+ The PLDM client expects to find the File record as the first PDR entry, and
43
+ will attempt to transfer the entire file. Upon completion, the file size and
44
+ sha256 checksum will be printed:
45
+
46
+ ```
47
+ 11:06:34 [INFO] Transfer complete. 16384 bytes, sha256 b4d3f1859dc8170c1e1f34b936aff05339a7723b6680894380c23dd84ff7e22b
48
+ ```
49
+
50
+ To enable the PLDM File functionality, add the ` pldm ` feature:
51
+
52
+ ``` sh
53
+ cargo build --features pldm
54
+ ```
55
+
38
56
# Running
39
57
40
58
1 . Run ` qemu ` with a usbredir connection to a pty:
You can’t perform that action at this time.
0 commit comments