Présentation de dcbtool, Options de dcbtool, Options – Dell Intel PRO Family of Adapters Manuel d'utilisation

Page 25

Advertising
background image

Les statistiques de chaque file d’attente du pilote ixgbe peuvent être examinées à l’aide de l’utilitaire ethtool : 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

Présentation de dcbtool

dcbtool permet d’interroger et de définir les paramètres DCB d’une interface Ethernet compatible avec DCB. Il se connecte à

l’interface client de dcbd pour effectuer ces opérations. dcbtool fonctionne en mode interactif s’il est exécuté sans commande.

En mode interactif, dcbtool fonctionne également comme "event listener" et imprime les événements reçus de dcbd alors

qu’ils arrivent.

Synopsis

dcbtool -h

dcbtool -v

dcbtool [-rR]

dcbtool [-rR] [commande] [arguments de la commande]

Options

-h Affiche le message d’utilisation de dcbtool.
-v

Affiche les informations sur la version de dcbtool.

-r

Affiche les messages bruts de l’interface client dcbd ainsi que les sorties lisibles.

-R Affiche uniquement les messages bruts de l’interface client dcbd.

Advertising