Mellanox: automatic firmware update

Latest firmware version
http://www.mellanox.com/page/mlxup_firmware_tool

URL=https://www.mellanox.com/downloads/firmware/mlxup/4.12.0/SFX/linux_x64/mlxup
# short url
URL=https://bit.ly/2NQWo5t

wget ${URL} -qO /tmp/mlxup
chmod +x /tmp/mlxup
/tmp/mlxup -y

Links
http://www.mellanox.com/supportdownloader/
http://www.mellanox.com/page/firmware_table_ConnectX3EN