ethtool: introduce EEE support
Summary
This MR adds EEE (Energy Efficient Ethernet) configuration support via ethtool.
Purpose
This may be required in situations where EEE must be explicitely switched on or off on a connection. Examples for switching off EEE include running the Precision Time Protocol (IEEE1588), which has much worse timing precision on most hardware once EEE is enabled. In other situations, e.g. when running battery powered equipment, users may want to explicitly enable EEE in order to save Energy and expand battery lifetime.
Checklist
Please read https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/CONTRIBUTING.md before opening the merge request. In particular, check that:
-
the subject for all commits is concise and explicative -
the message for all commits explains the reason for the change -
the source is properly formatted -
any relevant documentation is up to date -
you have added unit tests if applicable