From dc7e7c0ba8b92a241185282d9c0aeee98dd304be Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Tue, 8 Dec 2015 20:24:03 +0200 Subject: [PATCH] remove ZMQ default value 4507 --- trex_book.asciidoc | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/trex_book.asciidoc b/trex_book.asciidoc index 1ba42fd5..f5d825d3 100755 --- a/trex_book.asciidoc +++ b/trex_book.asciidoc @@ -973,16 +973,16 @@ Configuration file examples can be found in the `$ROOT/cfg` folder [source,python] ---- - - port_limit : 2 <1> - version : 2 <2> - interfaces : ["03:00.0","03:00.1"] <3> - enable_zmq_pub : true <4> - zmq_pub_port : 4500 <5> - prefix : setup1 <6> - limit_memory : 1024 <7> + - port_limit : 2 #mandatory <1> + version : 2 #mandatory <2> + interfaces : ["03:00.0","03:00.1"] #mandatory <3> + #enable_zmq_pub : true <4> + #zmq_pub_port : 4500 <5> + #prefix : setup1 <6> + #limit_memory : 1024 <7> c : 4 <8> port_bandwidth_gb : 10 <9> - port_info : # set eh mac addr + port_info : # set eh mac addr mandatory - dest_mac : [0x1,0x0,0x0,0x1,0x0,0x00] # port 0 <10> src_mac : [0x2,0x0,0x0,0x2,0x0,0x00] - dest_mac : [0x3,0x0,0x0,0x3,0x0,0x00] # port 1 @@ -993,11 +993,11 @@ Configuration file examples can be found in the `$ROOT/cfg` folder src_mac : [0x0,0x0,0x0,0x8,0x0,0x02] - dest_mac : [0x0,0x0,0x0,0x9,0x0,0x03] # port 4 ---- -<1> The number of ports, should be equal to the number of interfaces in 3) -<2> Must be set to 2 -<3> Interface that should be used. used `sudo ./dpdk_setup_ports.py --show` -<4> Enable the ZMQ publisher for stats data. -<5> ZMQ port number. +<1> The number of ports, should be equal to the number of interfaces in 3) - mandatory +<2> Must be set to 2 - mandatory +<3> Interface that should be used. used `sudo ./dpdk_setup_ports.py --show` - mandatory +<4> Enable the ZMQ publisher for stats data, default is true. +<5> ZMQ port number. the default value is good. you can remove this line <6> The name of the setup should be distinct ( DPDK --file-prefix ) <7> DPDK -m limit the packet memory @@ -1088,8 +1088,6 @@ a configuration file now has the folowing struct to support multi instance - version : 2 interfaces : ["03:00.0","03:00.1"] port_limit : 2 - enable_zmq_pub : true # enable publisher for stats data - zmq_pub_port : 4507 prefix : setup1 <1> limit_memory : 1024 <2> c : 4 <3> -- 2.16.6