diff options
author | Jiri Pirko <jiri@resnulli.us> | 2012-12-28 00:49:39 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-29 00:24:18 +0100 |
commit | 9a57247f31e361f80508c40363366222dbbb6aa5 (patch) | |
tree | e125345af6ec8fc6e2788fc694141a38feb6f249 /Documentation/networking/operstates.txt | |
parent | net: allow to change carrier via sysfs (diff) | |
download | linux-9a57247f31e361f80508c40363366222dbbb6aa5.tar.xz linux-9a57247f31e361f80508c40363366222dbbb6aa5.zip |
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/operstates.txt')
-rw-r--r-- | Documentation/networking/operstates.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/networking/operstates.txt b/Documentation/networking/operstates.txt index 1a77a3cfae54..97694572338b 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: |