docs: fix syntax issues and struct description in devices

Some description in the device document were inconsistent with the
source code. Also fix some syntax issues to make the sentences more
fluent.

Signed-off-by: Yi Wang <foxywang@tencent.com>
This commit is contained in:
Yi Wang
2026-01-06 19:46:25 +08:00
committed by Rob Bradford
parent 34ee973ee0
commit 7b92a36c4c
8 changed files with 59 additions and 59 deletions

View File

@@ -29,6 +29,7 @@ parameters available for the vDPA device.
struct VdpaConfig {
path: PathBuf,
num_queues: usize,
iommu: bool,
id: Option<String>,
pci_segment: u16,
}
@@ -83,7 +84,7 @@ _Example_
### `pci_segment`
PCI segment number to which the vDPA device should be attached to.
PCI segment number to which the vDPA device should be attached.
This parameter is optional.