summaryrefslogtreecommitdiff
path: root/trafgen.8
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2016-09-22 23:55:38 +0300
committerTobias Klauser <tklauser@distanz.ch>2016-10-04 17:20:33 +0200
commitd2801f74136a3b8d7b0f6841d7cb964ebe1d9479 (patch)
treec10eff7449cd7b5ec843be01d91a3e044bf73802 /trafgen.8
parentf014afe52c3a4a5556475471bac54a5103552eba (diff)
trafgen: man: Add description for 'pfc()' function
Add explanation for 'pfc()' function parameters. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen.8')
-rw-r--r--trafgen.827
1 files changed, 27 insertions, 0 deletions
diff --git a/trafgen.8 b/trafgen.8
index 9708f8a..a8e1edb 100644
--- a/trafgen.8
+++ b/trafgen.8
@@ -372,6 +372,33 @@ Destination MAC address - 01:80:C2:00:00:01
.in -4
+.sp
+.I PFC
+:
+.B pfc(pri|prio(<number>)=<number>, time(<number>)=<number>)
+.sp
+.in +4
+.B code
+- MAC Control opcode (default: 0x0101)
+.sp
+.B pri|prio
+- Priority enable vector (default: 0)
+.sp
+.B pri|prio(<number>)
+- Enable/disable (0 - disable, 1 - enable) pause for priority <number> (default: 0)
+.sp
+.B time(<number>)
+- Set pause time for priority <number> (default: 0)
+.sp
+By default Ethernet header is added with a fields:
+.in +4
+.sp
+Ethernet type - 0x8808
+.sp
+Destination MAC address - 01:80:C2:00:00:01
+.in -4
+
+.in -4
.I VLAN
:
.B vlan(tpid=<number>, id=<number>, dei=<number>, tci=<number>, pcp=<number>, 1q, 1ad)