nm-device now applies ethtool ring settings during stage 2 "device config" of the connection activation.
ring settings will be then restored (according to what the state was before the connection got activated on the device) when the connection is deactivated during the device cleanup.
One thing to be noted is that unset ring settings (in the profile) will not be touched at all by NetworkManager so that if the NIC driver sets some default values these will be preserved unless specifically overridden by the connection profile.
2ce0e714b nm-device: apply ethtool ring settings when activating a connection
src/devices/nm-device.c | 131 +++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 123 insertions(+), 8 deletions(-)