summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-03-08Got rid of get_vm_one_queue(). Separated its uses to many small attributes. ↵Ido Barnea9-329/+335
- second try Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-03-08doc/ update tutorial to update to latest packageHanoh Haim1-3/+6
Signed-off-by: Hanoh Haim <hhaim@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-07Revert "Got rid of get_vm_one_queue(). Separated its uses to many small ↵Ido Barnea9-338/+313
attributes." This reverts commit cebf5a44b5f28a03b245e43013cc27671a980206.
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 Brustinov3-34/+5
* 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-07Got rid of get_vm_one_queue(). Separated its uses to many small attributes.Ido Barnea9-313/+338
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-03-07small fixes to TRexDataAnalysis and GAObjclassitraviv2-298/+309
Signed-off-by: itraviv <itraviv@cisco.com>
2017-03-06internal captures are not captured (RX core server feature)imarom2-3/+12
Signed-off-by: imarom <imarom@cisco.com>
2017-03-06added error description to asciidocitraviv1-0/+11
Signed-off-by: itraviv <itraviv@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-05small fixes to web reportitraviv1-1/+1
Signed-off-by: itraviv <itraviv@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-05TRexDataAnalysisV2 renamed to TRexDataAnalysisitraviv1-0/+0
Signed-off-by: itraviv <itraviv@cisco.com>
2017-03-05doc / mlx5 change to Ethernet modeHanoh Haim3-0/+25
Signed-off-by: Hanoh Haim <hhaim@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-05removed old DataAnalysis moduleitraviv1-171/+0
Signed-off-by: itraviv <itraviv@cisco.com>
2017-03-05ELKConnect - new module to fetch data from ELK server instead of GA, ↵itraviv3-268/+358
TRexDataAnalysisV2 changed to contain more metrics on performance (avg,min,max,std etc). minor changes to the webreport module after moving to elk Signed-off-by: itraviv <itraviv@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>
2017-03-02add --no-ver flag to building without update of version files (default is to ↵Yaroslav Brustinov1-2/+4
update) Change-Id: I17eb3ce4959c2b2bee12912289c7983667d72e41 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-02t-rex-64: catch exit with trap to restore tty settingsYaroslav Brustinov5-69/+56
Change-Id: Id336aa95ceff5e958e9bce329c85eb7201772712 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-01STF publisher: ensure latest results are sent by CPP + get latest dump via ↵Yaroslav Brustinov5-9/+34
Python API Change-Id: I1836c0366785246acbcd8d238400440f5f3970f5 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-02-28Merge branch 'master' of ↵Hanoh Haim4-142/+59
csi-sceasr-b94:/auto/proj-pcube-b/apps/PL-b/tools/repo//trex-core
2017-02-28NAT timeout is 10 sec - v2.20Hanoh Haim2-2/+3
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-02-28Introduce capability flags in each driver, to reduce the use of ↵Ido Barnea4-142/+59
get_vm_one_queue_enable Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-02-28doc/ v2.19 release notesHanoh Haim2-3/+10
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-02-28PyZMQ restore removed by accident version of Python3/32 bitsYaroslav Brustinov126-0/+13321
Change-Id: Ie8a54015a02bdcc5cd0a50faff7b82cf0ad8de93 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-02-27Print error in case of Mellanox and different order of PCI.Yaroslav Brustinov1-9/+38
Change-Id: I0ece7fe6bd0c93befd72d489c0c7b35900abe335 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-02-27Fix for dump interfaces @ MellanoxYaroslav Brustinov1-1/+4
Change-Id: Ieeadd3607e0b887156c12b7adc9862192c747d2f Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-02-27dpdk_setup_ports: change return code to 32 in case of Mellanox NICs.Yaroslav Brustinov4-20/+43
Add info on packages for compiling .ko file. Change-Id: Ic958a339ad6af696764cb76d95d72776afc8b304 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-02-27add a way to compile without mlx5 driver and OFEDHanoh Haim1-24/+32
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-02-27v2.19Hanoh Haim1-1/+1
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-02-27doc/ mlx5 connectX-5 supportHanoh Haim1-10/+11
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-02-27release notes v2.19Hanoh Haim1-0/+21
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-02-27mlx5 change local ibverb to OFED 4.0 libHanoh Haim18-211/+307
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-02-27mlx5, enforce OFED 4.0Hanoh Haim3-6/+16
Signed-off-by: Hanoh Haim <hhaim@cisco.com>