ifconfig eth0 txqueuelen 10000
ip link set dev eth0 txqueuelen 10000
vi /etc/sysconfig/network-scripts/ifcfg-ens32
''/etc/NetworkManager/dispatcher.d/99-set-tx-queue-length-up''
#!/bin/bash
# Set TX queue length on enp1s0 to 2000
if [ "$1" == "ens32" ] && [ "$2" == "up" ] ; then
ip link set dev ens32 txqueuelen 4000
fi
chmod +x /etc/NetworkManager/dispatcher.d/99-set-tx-queue-length-up