summaryrefslogtreecommitdiffstats
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
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>
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 Brustinov4-9/+33
Python API Change-Id: I1836c0366785246acbcd8d238400440f5f3970f5 Signed-off-by: Yaroslav Brustinov <ybrustin@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-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-27mlx5 change local ibverb to OFED 4.0 libHanoh Haim3-0/+0
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-02-27mlx5, enforce OFED 4.0Hanoh Haim1-2/+2
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-02-26added 'pkt' console command to help with debugging single packets transmitimarom3-1/+133
Signed-off-by: imarom <imarom@cisco.com>
2017-02-22Dumping interface info was broken in v2.18Yaroslav Brustinov2-3/+6
Change-Id: Icec84cb2912d6e179c5aac536825a04b47bebb2b Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-02-22fix for https://trex-tgn.cisco.com/youtrack/issue/trex-358imarom3-28/+27
Signed-off-by: imarom <imarom@cisco.com>
2017-02-21Removed mac keyword from all traffic profilesIdo Barnea62-93/+12
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-02-21fix streams showimarom1-1/+7
Signed-off-by: imarom <imarom@cisco.com>
2017-02-20STF daemon: add message error if server is already running by current user.Yaroslav Brustinov1-3/+4
Change-Id: I35400a64d976ce690d298d560dce2ae2254bfb6b Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-02-20TUI should skip any non-ascii charsimarom1-1/+1
Signed-off-by: imarom <imarom@cisco.com>
2017-02-20fix trex-355Hanoh Haim1-3/+9
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-02-19capture - regression test exception for trex11 - VLAN taggingimarom1-14/+28
Signed-off-by: imarom <imarom@cisco.com>
2017-02-16support more than 255 client/server poolsHanoh Haim1-0/+0
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-02-16mlx5 - update regression maximum latency due to trex-261 issueHanoh Haim1-1/+1
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-02-16VLAN keyword in platform config file will now make all traffic be sent over vlanIdo Barnea13-8/+112
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-02-16test for TX captureimarom1-6/+54
Signed-off-by: imarom <imarom@cisco.com>
2017-02-16TX feature - draftimarom2-5/+1
Signed-off-by: imarom <imarom@cisco.com>
2017-02-16Add branch name to title of mails (Side branch scenario)Yaroslav Brustinov1-0/+8
Change-Id: Ia32b9172aaa74d1720b496830eee8c744866f28b Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-02-15update sock.py script: adapt to Python2/3, use Scapy lib instead of removed ↵Yaroslav Brustinov2-492/+243
dpkt, works with IPv4/6, TCP/UDP, in case of TCP checks for out of order and retransmissions. Change-Id: Iab0b7473d915950c834397e365457ecb6f6a8a24 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-02-13Adjusting test performance numbers for xl710 and mlx for dpdk1702Ido Barnea3-28/+28
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-02-13OFED version at least 3.4.1, 4.0.0 would be validHanoh Haim1-3/+13
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-02-13fix error handelingHanoh Haim2-2/+3
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-02-13move so flag in case of mellanoxHanoh Haim2-5/+19
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-02-13no need for dummy verbs anymoreHanoh Haim1-5/+0
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-02-13Changes to our files to make dpdk1702 workIdo Barnea2-16/+25
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-02-08STL example of using IPv6 in automationYaroslav Brustinov1-0/+30
Change-Id: I976f38f491e5310ae708ff482f8cdf33df3c92d4 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-02-08Regression: adjust trex-dan number of coresYaroslav Brustinov1-1/+1
Change-Id: Id475737ffea47be26d2aabe4a4bc6f9025fee886 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-02-07STL API: change STLError representationYaroslav Brustinov1-8/+11
Change-Id: I1d4f4f5b11764f720713811c019802eeac3f5071 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-02-07Regression: fixes for filter in Python3Yaroslav Brustinov2-4/+4
Change-Id: I91912c31c57928eb4cc566ee483cdd31f93c4afc Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-02-07Regression: another fix for ipv6 STL test, add flag --no-dut-config to ↵Yaroslav Brustinov11-67/+75
disable DUT config Change-Id: I56c38324086cfc81d2ad0a451d528707f5357b51 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-02-07Regression: stl ping/scan6 test fixYaroslav Brustinov1-2/+3
Change-Id: Ie4d608681458ff190aab1c64b570e7f78decc0ea Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-02-06STL API: ping_ip returns data + formatted string and statusYaroslav Brustinov5-10/+122
Regression: add test for IPv6 ping and scan Change-Id: Ic9d15f0b7ea44fcc11336b95c012ceaa04af9e2d Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-02-06examples for functional testsimarom1-0/+1
Signed-off-by: imarom <imarom@cisco.com>
2017-02-06added another functional test - PINGimarom2-4/+47
Signed-off-by: imarom <imarom@cisco.com>
2017-02-06added example for functional tests using start_capture/stop_capture APIsimarom5-14/+197
Signed-off-by: imarom <imarom@cisco.com>
2017-02-06STL API scan6: If error at any port, raise error. If no error, return data ↵Yaroslav Brustinov2-9/+33
per port. Change-Id: I6592e890835fcbe16d35e6981de76c01999d6883 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>