ethtool: add coalesce settings

System Internals / NetworkManager - Antonio Cardace [redhat.com] - 13 May 2020 08:15 EDT

This is the initial support for coalesce 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

b0240db06 ethtool: add coalesce settings
libnm-core/nm-setting-ethtool.c | 186 +++++++++++++++++++++++--
libnm-core/nm-setting-ethtool.h | 43 ++++++
libnm-core/tests/test-setting.c | 85 +++++++++++
libnm/libnm.ver | 5 +
shared/nm-libnm-core-intern/nm-ethtool-utils.c | 44 ++++++
shared/nm-libnm-core-intern/nm-ethtool-utils.h | 36 ++++-
src/platform/tests/test-link.c | 10 +-
7 files changed, 392 insertions(+), 17 deletions(-)

Upstream: cgit.freedesktop.org


  • Share