On Wed, 2020-11-04 at 13:51 +0800, Gris Ge wrote:
On Wed, Nov 04, 2020 at 05:27:38AM +0000, Vishal Deep Ajmera wrote:
> Hi,
>
> We are using NetworkManager in our deployments and want to enable
> flow-control using nmcli or NetworkConnection configuration files.
>
> Equivalent command using ethtool is:
>
> # ethtool -A <if-name> rx on tx on
>
> Can someone point me to configuration setting in NetworkManager?
Hi Thomas,
Any idea?
Hi,
ethtool's "-A" (pause parameters) are currently not supported by
NetworkManager.
The workarounds could be (in possible order of preference):
- I am not sure, but I guess you would only need to set those
parameters once per interface. NetworkManager would not touch it.
Hence, I expect you also could set it via a udev rule when the
interface gets added.
- use a dispatcher script in /etc/NetworkManager/dispatcher.d (see `man
NetworkManager)
- in general, any scripting solution that works for you.
- use initscripts instead of NetworkManager (which supports
a ETHTOOL_OPTS setting).
Btw, no feature request for this exists. If you think this should be added,
please report an RFE at [1].
[1]
https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%...
> Unfortunately we cannot enable auto-negotiation for the port as
it
> is
> of FIBRE type.
Can you elaborate what you mean with this?
best,
Thomas