mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-14 18:00:35 +01:00
libnm-core: improve SR-IOV VF vlan support documentation
Currently kernel only support one VLAN per VF. This must be specified in the methods documentation. Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
This commit is contained in:
parent
4fd7ce914b
commit
c50a03f2f1
1 changed files with 3 additions and 2 deletions
|
|
@ -471,7 +471,7 @@ _nm_sriov_vf_attribute_validate_all(const NMSriovVF *vf, GError **error)
|
|||
* @vf: the #NMSriovVF
|
||||
* @vlan_id: the VLAN id
|
||||
*
|
||||
* Adds a VLAN to the VF.
|
||||
* Adds a VLAN to the VF. Currently kernel only supports one VLAN per VF.
|
||||
*
|
||||
* Returns: %TRUE if the VLAN was added; %FALSE if it already existed
|
||||
*
|
||||
|
|
@ -535,7 +535,8 @@ vlan_id_compare(gconstpointer a, gconstpointer b, gpointer user_data)
|
|||
* @vf: the #NMSriovVF
|
||||
* @length: (out) (allow-none): on return, the number of VLANs configured
|
||||
*
|
||||
* Returns the VLANs currently configured on the VF.
|
||||
* Returns the VLANs currently configured on the VF. Currently kernel only
|
||||
* supports one VLAN per VF.
|
||||
*
|
||||
* Returns: (transfer none) (array length=length): a list of VLAN ids configured on the VF.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue