Skip to content

Commit 38ef55f

Browse files
committed
Add SR-IOV max-vfs property document
Signed-off-by: Gris Ge <fge@redhat.com>
1 parent b906357 commit 38ef55f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

devel/yaml_api.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
* [Ethernet Auto Negotiation](#ethernet-auto-negotiation)
5252
* [SR-IOV](#sr-iov)
5353
* [SR-IOV Total VFS Count](#sr-iov-total-vfs-count)
54+
* [Maximum supported SR-IOV VFS count](#maximum-supported-sr-iov-vfs-count)
5455
* [SR-IOV VF Specific Settings](#sr-iov-vf-specific-settings)
5556
* [Bond Interface](#bond-interface)
5657
* [Bond Mode](#bond-mode)
@@ -1062,6 +1063,7 @@ interfaces:
10621063
ethernet:
10631064
sr-iov:
10641065
total-vfs: 2
1066+
max-vfs: 63
10651067
vfs:
10661068
- id: 0
10671069
mac-address: 00:11:22:33:00:FF
@@ -1085,6 +1087,16 @@ interfaces:
10851087

10861088
The `total-vfs` property defines the SRIOV VF count of PF interface.
10871089

1090+
#### Maximum supported SR-IOV VFS count
1091+
1092+
New in nmstate 2.2.59
1093+
1094+
The `max-vfs` property defines the maximum supported SR-IOV VFs count.
1095+
Nmstate will raise error if desired `total-vfs` count exceeded the maximum
1096+
supported one.
1097+
1098+
The `max-vfs` property is for query only which will be ignored when apply.
1099+
10881100
#### SR-IOV VF Specific Settings
10891101

10901102
The `vfs` section holds VF specific settings:

0 commit comments

Comments
 (0)