summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2015-03-24 12:18:48 -0500
committerDan Williams <dcbw@redhat.com>2015-03-27 15:11:33 -0500
commit32e1d6a9a96fcf32518e8f7b7770041ce933655c (patch)
treeeffa364b25d5c0a5c44c3ef3f8fa28abe4f36dd1
parent8173f0f9e8045638f491e55150352576682879dd (diff)
downloadNetworkManager-32e1d6a9a96fcf32518e8f7b7770041ce933655c.tar.gz
platform: update code documentation for nm_platform_link_get_physical_port_id()
-rw-r--r--src/platform/nm-platform.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/platform/nm-platform.c b/src/platform/nm-platform.c
index d51c142e04..39bf75a3fb 100644
--- a/src/platform/nm-platform.c
+++ b/src/platform/nm-platform.c
@@ -1008,9 +1008,15 @@ nm_platform_link_get_mtu (int ifindex)
}
/**
- * nm_platform_link_get_mtu:
+ * nm_platform_link_get_physical_port_id:
* @ifindex: Interface index
*
+ * The physical port ID, if present, indicates some unique identifier of
+ * the parent interface (eg, the physical port of which this link is a child).
+ * Two links that report the same physical port ID can be assumed to be
+ * children of the same physical port and may share resources that limit
+ * their abilities.
+ *
* Returns: physical port ID for the interface, or %NULL on error
* or if the interface has no physical port ID.
*/