aboutsummaryrefslogtreecommitdiff
path: root/Documentation/networking
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2012-12-27 23:49:39 +0000
committerDavid S. Miller <davem@davemloft.net>2012-12-28 15:24:18 -0800
commit9a57247f31e361f80508c40363366222dbbb6aa5 (patch)
treee125345af6ec8fc6e2788fc694141a38feb6f249 /Documentation/networking
parentfdae0fde5352790030d89edd09f1b43b9bed97f8 (diff)
downloadlinaro-lsk-9a57247f31e361f80508c40363366222dbbb6aa5.tar.gz
rtnl: expose carrier value with possibility to set it
Signed-off-by: Jiri Pirko <jiri@resnulli.us> Acked-by: Flavio Leitner <fbl@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
-rw-r--r--Documentation/networking/operstates.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/networking/operstates.txt b/Documentation/networking/operstates.txt
index 1a77a3cfae5..97694572338 100644
--- a/Documentation/networking/operstates.txt
+++ b/Documentation/networking/operstates.txt
@@ -88,6 +88,10 @@ set this flag. On netif_carrier_off(), the scheduler stops sending
packets. The name 'carrier' and the inversion are historical, think of
it as lower layer.
+Note that for certain kind of soft-devices, which are not managing any
+real hardware, there is possible to set this bit from userpsace.
+One should use TVL IFLA_CARRIER to do so.
+
netif_carrier_ok() can be used to query that bit.
__LINK_STATE_DORMANT, maps to IFF_DORMANT: