ethtool: add ring settings

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

This is the initial support for ring settings and only allows getting/setting, nothing is yet implemented in nm-device.

Also add unit test.

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

7109ac667 ethtool: add ring settings
libnm-core/nm-setting-ethtool.c | 123 ++++++++++++++++++++++++-
libnm-core/nm-setting-ethtool.h | 25 +++++
libnm-core/tests/test-setting.c | 89 +++++++++++++++++-
libnm/libnm.ver | 5 +
shared/nm-libnm-core-intern/nm-ethtool-utils.c | 8 ++
shared/nm-libnm-core-intern/nm-ethtool-utils.h | 15 ++-
6 files changed, 258 insertions(+), 7 deletions(-)

Upstream: cgit.freedesktop.org


  • Share