From d2801f74136a3b8d7b0f6841d7cb964ebe1d9479 Mon Sep 17 00:00:00 2001 From: Vadim Kochan Date: Thu, 22 Sep 2016 23:55:38 +0300 Subject: trafgen: man: Add description for 'pfc()' function Add explanation for 'pfc()' function parameters. Signed-off-by: Vadim Kochan Signed-off-by: Tobias Klauser --- trafgen.8 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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()=, time()=) +.sp +.in +4 +.B code +- MAC Control opcode (default: 0x0101) +.sp +.B pri|prio +- Priority enable vector (default: 0) +.sp +.B pri|prio() +- Enable/disable (0 - disable, 1 - enable) pause for priority (default: 0) +.sp +.B time() +- Set pause time for priority (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=, id=, dei=, tci=, pcp=, 1q, 1ad) -- cgit v1.2.3-54-g00ecf