summaryrefslogtreecommitdiffstats
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2017-03-30Supporting more flows in stateless flow stats, according to NIC type, and ↵Ido Barnea1-125/+264
running mode Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-03-30check for service mode ports should be from among the acquired portsimarom1-6/+11
only any non acquired ports should be ignored Signed-off-by: imarom <imarom@cisco.com>
2017-03-28regression: trex19 benchmarkYaroslav Brustinov1-1/+1
Change-Id: I5ecfeb339385e56e0503256abdde2287e67353a0 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-27regression: trex19 more coresYaroslav Brustinov1-10/+10
Change-Id: I5192742e3e3aef9e1ca712c21330bb1e1280a6f7 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-27regression: trex19 skip broadcast profile (garp)Yaroslav Brustinov1-2/+5
Change-Id: I920b2555dc9a0c95963a6070e35590b513d1f30b Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-27regression: adapt further trex19 benchmarksYaroslav Brustinov1-1/+1
Change-Id: Ic8078ea4502ce2fc67a63604847c1b45ddd77174 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-27regression: stl_rx_test - reduce VF ratesYaroslav Brustinov1-3/+3
Change-Id: If3732a26652d775f4f1a907338b8a56778ab3712 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-27regression: trex19 stl performance benchmark updateYaroslav Brustinov1-15/+15
Change-Id: Icb425b7dabd2c4e69c173b57a2ddc5b75f6dcd1d Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-26regression: trex19 filesYaroslav Brustinov2-0/+293
Change-Id: I1c2be4780daee256799425c3cbbef58c38bb29a3 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-22master_daemon: chmod 777 on unpacked dir, so that core dumps can be writtenYaroslav Brustinov1-0/+1
Change-Id: I64da45c759298329fccae3098fdf75340a0f8ade Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-22Added to flow stat profile qinq exampleIdo Barnea1-9/+30
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-03-21regression: rename BUILD_ID -> BUILD_NUMYaroslav Brustinov1-1/+1
Change-Id: I8753ccea30ce4520780eb88ad8b38ba31f4db092 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-20Sould not set BUILD_ID in Jenkins ↵Yaroslav Brustinov2-3/+3
(https://wiki.jenkins-ci.org/display/JENKINS/ProcessTreeKiller) Change-Id: I0a539ab767217f19dda612d262255ce7a9afb1e7 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-16minorYaroslav Brustinov1-2/+1
Change-Id: I646012bbc2fec508f7ceffdf7af28888ca5341d2 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-16Regression: test for Scapy offsets:Yaroslav Brustinov2-2/+89
* build / no build * pcap buffer / native Scapy Change-Id: Ifa0bc8bf51bced71ea320d3f75ba456242be4451 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-16update golden kiwi-02Hanoh Haim1-6/+6
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-03-15Verify Scapy build does not ruin raw dataYaroslav Brustinov4-8/+6
Change-Id: I3792dddad68e62f13c359aede7ded8292f9a92a5 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-15Scapy: fix offsets for GUI.Yaroslav Brustinov4-5/+12
Change-Id: I0b6406fc0b9ceefb53a2ab98a441497326d9f7f0 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-14scapy_server: skip uninitialized/unsupported field_desc._offsetAnton Kiselev2-6/+55
Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>
2017-03-14STL map() reset at startYaroslav Brustinov1-1/+1
Change-Id: I1515369763c8cccc4dc6bf537737b0d3e348d520 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-14STL map() using flow stats: ignores network noise + avoid sending ↵Yaroslav Brustinov1-30/+39
exponential number of packets from each consequential port. Change-Id: Ib5bebd5b64c8c316307181ba50c53df1e46a3466 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-13i40e fix of workaround of stuck counters + regression testYaroslav Brustinov5-8/+36
Change-Id: I251cb8d346461ccfa4eee8abfda113410160a602 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-13stl console: add "readonly" flag to connectYaroslav Brustinov2-2/+10
Change-Id: Iee3fc72efaa55cdbc457340b855982146167a859 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-10dpdk_setup_ports: fix path if missing, and check of uio is loaded at first ↵Yaroslav Brustinov1-5/+16
try of igb_uio Change-Id: I9b4ddaaf2294a2fb3025bcf7caf65fecb0898f83 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-09typo in STL API help + update trex21 tests configYaroslav Brustinov2-3/+6
Change-Id: Ic15d639332ce4898010cb98c458ce4accffbef29 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-09trex-370. Added --no-hw-flow-stat command line optionIdo Barnea1-0/+10
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-03-08fix for https://trex-tgn.cisco.com/youtrack/issue/trex-369imarom2-29/+133
also added support for interactive debugging with IPython from the console (developer mode) Signed-off-by: imarom <imarom@cisco.com>
2017-03-08Regression: fix Python3 list of ports, update trex21 benchmark, other minor ↵Yaroslav Brustinov5-27/+23
changes Change-Id: Iad785f8c505af487e201751ad8a8bfb03205cb73 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-07Regression: Python3 print...Yaroslav Brustinov1-1/+1
Change-Id: Icde1f33463686711ae6a89f0f402575a870da5f7 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-07scapy_service: typoYaroslav Brustinov1-1/+1
Change-Id: I195814433adfb842ed8773ea70add0bca65b6672 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-07scapy_server: fix layer offset calculation(pkt.offset -> pkt._offset)Anton Kiselev1-3/+3
Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>
2017-03-07scapy_server: add build_pkt_details test with offset & length verificationAnton Kiselev1-2/+28
Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>
2017-03-07scapy_server: fix template testsAnton Kiselev3-63/+50
Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>
2017-03-07dpdk_setup_ports: fix vfio-pci always raisingYaroslav Brustinov1-8/+8
Change-Id: I523fb4e7df6c9bfb16984a0875a7085e505a6dd3 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-07older .so in zmqYaroslav Brustinov1-0/+0
Change-Id: I0eefc622971d4b43cd3145960f315559cb777eaf Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-07* fix net_ixgbe_vf driver xstats not putting idYaroslav Brustinov1-33/+2
* add trex21 regression config (IXGBE VF) Change-Id: I9a9f0a0d0ba7a8f5a724cda94185f1be0490915a Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-07* add trex22 (Mellanox VF) and trex23(XL710 VF) regression configsYaroslav Brustinov9-81/+410
* fix test_fcs_stream: it did not fail on virtual NICs at all now accumulating all the errors instread of failing on first one * fix XL710 VF input counters (+4 bytes) Change-Id: I7661b4e14a037e5ee2a9c1bc116d835c9a16df91 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-07small fixes to TRexDataAnalysis and GAObjclassitraviv1-297/+307
Signed-off-by: itraviv <itraviv@cisco.com>
2017-03-06internal captures are not captured (RX core server feature)imarom1-3/+9
Signed-off-by: imarom <imarom@cisco.com>
2017-03-06dpdk_setup_ports: fix MellanoxYaroslav Brustinov1-2/+3
Change-Id: Ibdc0089c323f94221130fa0c80e5fc3d12ffab10 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-05Deal with loaded Kernel modules in Python:Yaroslav Brustinov3-120/+185
Try loading igb_uio if it's avaiable, next try vfio-pci if it's available. Last effort is compiling igb_uio. Change-Id: I99d1d6c969f795d58a403587d6d0c395548ba3f7 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-05Use vfio-pci as DPDK driver if prerequisites are satisfiedYichen Wang2-2/+7
Change-Id: Ic43742256e3f69361d0413b672341f1ea4cc02fc Signed-off-by: Yichen Wang <yicwang@cisco.com> Conflicts: scripts/dpdk_setup_ports.py
2017-03-05Update scapy server json file for Repeatable randomYaroslav Brustinov1-1/+1
Change-Id: I148438bb03730ad10598f44857686e870c3ef99c Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-05fix STLVmFlowVarRepetableRandom typo instructionHanoh Haim4-8/+23
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-03-05dpdk_nic_bind: use absolute path and not relativeYaroslav Brustinov1-2/+5
Change-Id: Id89c5b2fa723332dce75d7cebde294fd858f389c Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-05update return status of dpdk_nic_bind.pyYaroslav Brustinov1-4/+8
do not rely upon igb_uio for determining TRex run, use tcp publisher port instead (Mellanox will work too) Change-Id: Iae53cd299474c515adf04e8748771ed65376d40d Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-05update return status of dpdk_nic_bind.pyYaroslav Brustinov2-38/+39
do not rely upon igb_uio for determining TRex run, use tcp publisher port instead (Mellanox will work too) Change-Id: Iae53cd299474c515adf04e8748771ed65376d40d Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-05STL TUI: reduce the requirement for number of lines as we use 2 columns now ↵Yaroslav Brustinov1-1/+1
in general stats Change-Id: Ifbb060032fcffa982b4ab789d91c8b178b0a9027 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-05STL console: sort streams in numerical orderYaroslav Brustinov1-3/+4
https://trex-tgn.cisco.com/youtrack/issue/trex-366 Change-Id: I8691a20c14fb55a66145c64ee1a1a3971e140a76 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-02dpdk_setup_ports: don't setpci on Mellanox Virtual functionsYaroslav Brustinov1-2/+3
Change-Id: If7593bf742f559a9c7a4538db6be6ee7bc9050b9 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>