This will set
Speed to 1000 Mbps Full Duplex
RX Buffers to 4096
TX Buffers to 4096
Autoneg: off

ethtool -g ens32
Ring parameters for ens32:
Pre-set maximums:
RX:             4096
RX Mini:        0
RX Jumbo:       0
TX:             4096
Current hardware settings:
RX:             256
RX Mini:        0
RX Jumbo:       0
TX:             256

/usr/local/bin/1000Mbs.sh

sudo chmod +x 1000Mbs.sh

#!/bin/sh
### BEGIN INIT INFO
# Provides:          1000Mbs.sh
# Required-Start:    $all
# Required-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:
# Short-Description: Halts USB power...
### END INIT INFO

ETHTOOL="/usr/sbin/ethtool"
DEV="ens32"
SPEED="1000 duplex full"
RXBUFFERS="4096"
TXBUFFERS="4096"
NEG="off"
case "$1" in
start)
echo -n "Setting ens32 speed 1000 duplex full autoneg off...";
$ETHTOOL -s $DEV speed $SPEED autoneg $NEG;
echo -n "Setting ens32 rx 4096 tx 4096...";
$ETHTOOL -G $DEV rx $RXBUFFERS tx $TXBUFFERS;
echo " done.";;
stop)
;;
esac
exit 0

/etc/systemd/system/1000Mbs.service

 

[Unit]
After=network.service

[Service]
ExecStart=/usr/local/bin/1000Mbs.sh start

[Install]
WantedBy=default.target
ethtool -g ens32
Ring parameters for ens32:
Pre-set maximums:
RX:             4096
RX Mini:        0
RX Jumbo:       0
TX:             4096
Current hardware settings:
RX:             4096
RX Mini:        0
RX Jumbo:       0
TX:             4096

 

sudo systemctl enable 1000Mbs.service

sudo reboot