ifcfg-rh: add support for ethtool ring settings

System Internals / NetworkManager - Antonio Cardace [redhat.com] - 20 May 2020 08:55 UTC

Also update unit tests.

https://bugzilla.redhat.com/show_bug.cgi?id=1614700

e04e5a5c2 ifcfg-rh: add support for ethtool ring settings
shared/nm-libnm-core-intern/nm-ethtool-utils.c | 13 ++
shared/nm-libnm-core-intern/nm-ethtool-utils.h | 10 +
.../plugins/ifcfg-rh/nms-ifcfg-rh-reader.c | 249 ++++++++++++++-------
src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-utils.c | 89 +++++---
src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-utils.h | 3 +-
.../plugins/ifcfg-rh/nms-ifcfg-rh-writer.c | 17 ++
...fg-test_write_wired_auto_negotiate_on.cexpected | 2 +-
.../plugins/ifcfg-rh/tests/test-ifcfg-rh.c | 45 ++--
8 files changed, 306 insertions(+), 122 deletions(-)

Upstream: cgit.freedesktop.org


  • Share