ADQ Setup Script Prerequisites
The ADQ setup script can be used to configure ADQ parameters such as traffic classes, priority, filters, poller settings, and ethtool parameters through a python script.
The script is called adqsetup.py and it can be found in the scripts directory of the ice driver version 1.9.7 tar file (or later). A major benefit of the script is that it can also maintain persistent ADQ settings across system reboots.
Refer to the README file located in the scripts/adqsetup subdirectory of the ice driver package for more information on the script's usage, support, and configuration settings.
Dependencies: Python 2.7 or Python 3.5 (or later)
- If you get a /usr/bin/env: 'python': No such file or directory error when you run the script, please install Python. If you have already installed Python, then try
whereis python and you should see a message like python: /usr/bin/python2.7 /usr/bin/python3.6 /usr/bin/python3.6m /usr/bin/python3.9 on the first line of the output.Either run the version you wish to use manually:
python3.6 adqsetup.py help ; or,Create a python symbolic link on the path:
ln -s /usr/bin/python3.6 /usr/local/bin/python - When using the pollers feature, if your driver does not have independent poller support (as in ice driver versions before 1.9.7) , you will see the following error:
** Setting independent poller ** devlink answers: Invalid argument