User Manual

Rev 2.0-3.0.0
Mellanox Technologies
67
Usage:
Options:
Example: set skprio 0-2 to UP0, and skprio 3-7 to UP1 on eth4
4.5.8.3 Additional Tools
tc tool compiled with the sch_mqprio module is required to support kernel v2.6.32 or higher.
This is a part of
iproute2 package v2.6.32-19 or higher. Otherwise, an alternative custom sysfs
interface is available.
mlnx_qos tool (package: ofed-scripts) requires python >= 2.5
tc_wrap.py (package: ofed-scripts) requires python >= 2.5
tc_wrap.py -i <interface> [options]
--version show program's version number and exit
-h, --help show this help message and exit
-u SKPRIO_UP, --skprio_up=SKPRIO_UP maps sk_prio to UP. LIST is <=16 comma separated
UP. index of element is sk_prio.
-i INTF, --interface=INTF Interface name
UP 0
skprio: 0
skprio: 1
skprio: 2 (tos: 8)
skprio: 7
skprio: 8
skprio: 9
skprio: 10
skprio: 11
skprio: 12
skprio: 13
skprio: 14
skprio: 15
UP 1
skprio: 3
skprio: 4 (tos: 24)
skprio: 5
skprio: 6 (tos: 16)
UP 2
UP 3
UP 4
UP 5
UP 6
UP 7