ifcfg-rh: add support to 802-3.[auto-negotiate,speed,duplex] properties

System Internals / NetworkManager - Francesco Giudici [redhat.com] - 22 November 2016 08:24 UTC

NOTE: changed the default value for auto-negotiate from TRUE to FALSE.

Normalization enforces that no values for speed and duplex are there when autonegotiation is on. This is required as autoneg on with specific speed and duplex set means to ethtool to use autonegotiation but advertise that specific speed and duplex only.

autoneg off, speed 0 and duplex NULL means to ignore link negotiation.

12b9d30 ifcfg-rh: add support to 802-3.[auto-negotiate,speed,duplex] properties
libnm-core/nm-connection.c | 25 ++++++
libnm-core/nm-setting-wired.c | 51 ++++++++++--
src/NetworkManager.ver-orig | 3 +
.../plugins/ifcfg-rh/nms-ifcfg-rh-reader.c | 87 ++++++++++++++++++--
.../plugins/ifcfg-rh/nms-ifcfg-rh-writer.c | 51 ++++++++++--
5 files changed, 195 insertions(+), 22 deletions(-)

Upstream: cgit.freedesktop.org


  • Share