NetworkManager/src/devices
Dan Williams 18fd3e45d8 dcb: separate DCB enable/disable and wait for carrier changes (rh #799241) (rh #1081991)
Non-git-master versions of lldpad refuse to touch a device that doesn't
have a carrier.  And when enabling/disabling DCB, the kernel driver will
reconfigure itself and may turn carrier off for a few seconds.  So we
must ensure that before enabling/disabling DCB, the carrier is already
on.  Next we must ensure that *after* enabling/disabling DCB, the
carrier is back on before doing further DCB setup.

There's a race condition between enabling/disabling DCB and receiving
the carrier event in NetworkManager that has to be handled carefully.
Because the carrier may not yet be down after the dcbtool call to
enable/disable DCB returns, we need to wait for a couple seconds for
the carrier to go down, and then again for it to come back up.
Otherwise we might see the still-on carrier, proceed with DCB setup,
and the carrier finally goes down halfway through the setup, which
will fail the operations with "DCB not enabled, link down, or DCB
not supported" errors from lldpad.
2014-04-02 09:37:15 -05:00
..
adsl devices: rename "atm" plugin to "adsl", and "bt" to "bluetooth" 2014-03-19 14:56:47 -04:00
bluetooth devices: rename "atm" plugin to "adsl", and "bt" to "bluetooth" 2014-03-19 14:56:47 -04:00
wimax core: consolidate auto-activation recheck signals 2014-03-03 09:32:41 -06:00
wwan wwan: disconnect modem signals when disposing NMDeviceModem 2014-03-21 17:54:10 -05:00
nm-device-bond.c core: make assumed activations go through all the stages 2013-11-08 16:46:45 -06:00
nm-device-bond.h core: move software device creation logic out of NMManager 2013-09-12 18:34:23 -04:00
nm-device-bridge.c core: make assumed activations go through all the stages 2013-11-08 16:46:45 -06:00
nm-device-bridge.h core: support slave devices in nm_platform_generate_connection() 2013-11-08 16:46:43 -06:00
nm-device-ethernet.c dcb: separate DCB enable/disable and wait for carrier changes (rh #799241) (rh #1081991) 2014-04-02 09:37:15 -05:00
nm-device-ethernet.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-factory.c devices: fix compilation of nm_device_factory_new_link() 2014-03-04 11:07:33 +01:00
nm-device-factory.h devices: rework device plugin interface to be more flexible 2014-03-03 09:32:41 -06:00
nm-device-generic.c core: updating a Generic setting should set the interface name 2013-12-02 15:32:31 -06:00
nm-device-generic.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-gre.c devices: fix up parent/peer tracking in some virtual devices 2014-03-06 09:47:09 -05:00
nm-device-gre.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-infiniband.c core: remove redundant sysctl utilities 2013-11-15 10:49:43 -05:00
nm-device-infiniband.h core: move software device creation logic out of NMManager 2013-09-12 18:34:23 -04:00
nm-device-macvlan.c devices: fix up parent/peer tracking in some virtual devices 2014-03-06 09:47:09 -05:00
nm-device-macvlan.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-olpc-mesh.c core: don't ref the Manager singleton 2014-03-03 09:32:40 -06:00
nm-device-olpc-mesh.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-private.h core: support renaming of NMDevice (changes of ifname) 2014-03-12 17:13:02 +01:00
nm-device-team.c team: replace NL chars in team config when passing to libteamdctl (rh #1051517) 2014-03-12 10:44:29 +01:00
nm-device-team.h core: support slave devices in nm_platform_generate_connection() 2013-11-08 16:46:43 -06:00
nm-device-tun.c core: make NMDeviceTun 'mode' immutable and set at construct time 2014-01-30 11:53:32 +01:00
nm-device-tun.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-veth.c devices: fix up parent/peer tracking in some virtual devices 2014-03-06 09:47:09 -05:00
nm-device-veth.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-vlan.c core: add nm_connection_provider_get() 2014-03-03 09:32:40 -06:00
nm-device-vlan.h core: move software device creation logic out of NMManager 2013-09-12 18:34:23 -04:00
nm-device-vxlan.c platform, devices: add support for vxlan devices 2014-03-06 09:48:15 -05:00
nm-device-vxlan.h platform, devices: add support for vxlan devices 2014-03-06 09:48:15 -05:00
nm-device-wifi.c wifi: fix some warnings caused by hidden SSID patches (23a5ae2f) (rh #1069844) 2014-03-13 11:04:56 -05:00
nm-device-wifi.h api/wifi: add AccessPoints property 2014-01-23 17:34:12 -06:00
nm-device.c core: fix bug with ignore-carrier and master/slave devices (rh #1083521) 2014-04-02 09:15:54 -05:00
nm-device.h wifi: bypass available check for hidden APs during activation (rh #1069844) 2014-03-12 08:42:55 -05:00