Testen, Dcbtool-übersicht, Dcbtool-optionen – Dell Intel PRO Family of Adapters Benutzerhandbuch
Seite 25: Optionen

Testen
Für Tests in einem Back-to-Back-Setup verwenden Sie die folgenden tc-Befehle, um die qdisc und die Filter für die TCP-
Anschlüsse 5000 bis 5007 einzurichten. Verwenden Sie anschließend ein Tool, wie iperf, um UDP- bzw. TCP-Verkehr an den
Anschlüsse 5000 bis 5007 zu generieren.
Die Statistik für jede Warteschlange des ixgbe-Treibers kann mit dem Ethtool-Utility überprüft werden: ethtool -S ethX
# tc qdisc add dev ethX root handle 1: multiq
# tc filter add dev ethX protocol ip parent 1: \
u32 match ip dport 5000 0xffff action skbedit queue_mapping 0
# tc filter add dev ethX protocol ip parent 1: \
u32 match ip sport 5000 0xffff action skbedit queue_mapping 0
# tc filter add dev ethX protocol ip parent 1: \
u32 match ip dport 5001 0xffff action skbedit queue_mapping 1
# tc filter add dev ethX protocol ip parent 1: \
u32 match ip sport 5001 0xffff action skbedit queue_mapping 1
# tc filter add dev ethX protocol ip parent 1: \
u32 match ip dport 5002 0xffff action skbedit queue_mapping 2
# tc filter add dev ethX protocol ip parent 1: \
u32 match ip sport 5002 0xffff action skbedit queue_mapping 2
# tc filter add dev ethX protocol ip parent 1: \
u32 match ip dport 5003 0xffff action skbedit queue_mapping 3
# tc filter add dev ethX protocol ip parent 1: \
u32 match ip sport 5003 0xffff action skbedit queue_mapping 3
# tc filter add dev ethX protocol ip parent 1: \
u32 match ip dport 5004 0xffff action skbedit queue_mapping 4
# tc filter add dev ethX protocol ip parent 1: \
u32 match ip sport 5004 0xffff action skbedit queue_mapping 4
# tc filter add dev ethX protocol ip parent 1: \
u32 match ip dport 5005 0xffff action skbedit queue_mapping 5
# tc filter add dev ethX protocol ip parent 1: \
u32 match ip sport 5005 0xffff action skbedit queue_mapping 5
# tc filter add dev ethX protocol ip parent 1: \
u32 match ip dport 5006 0xffff action skbedit queue_mapping 6
# tc filter add dev ethX protocol ip parent 1: \
u32 match ip sport 5006 0xffff action skbedit queue_mapping 6
# tc filter add dev ethX protocol ip parent 1: \
u32 match ip dport 5007 0xffff action skbedit queue_mapping 7
# tc filter add dev ethX protocol ip parent 1: \
u32 match ip sport 5007 0xffff action skbedit queue_mapping 7
dcbtool-Übersicht
dcbtool wird für die Abfrage und Einrichtung der DCB-Einstellungen einer DCB-fähigen Ethernet-Schnittstelle verwendet. Um
diese Vorgänge durchzuführen, stellt es stellt eine Verbindung zur Client-Schnittstelle von dcbd her. Wenn dcbtool ohne Befehl
gestartet wird, wird es im interaktiven Modus ausgeführt. Im interaktiven Modus agiert dcbtool auch als Ereignis-Listener und
druckt die von dcbd erhaltenen Ereignisse beim Empfang aus.
Kurzfassung
dcbtool -h
dcbtool -v
dcbtool [-rR]
dcbtool [-rR] [Befehl] [Befehlsargumente]
Optionen