summaryrefslogtreecommitdiffstats
path: root/src/main_dpdk.cpp
AgeCommit message (Collapse)AuthorFilesLines
2017-03-30Supporting more flows in stateless flow stats, according to NIC type, and ↵Ido Barnea1-43/+76
running mode Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-03-21flow stat parsers refactor and adding testsIdo Barnea1-7/+9
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-03-21removed usage of redundant TREX_DRV_FLOW_CTRL_CHG flagIdo Barnea1-16/+8
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-03-16Fixes for v2.21 --software mode issuesIdo Barnea1-4/+14
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-03-16early support mlx4 driver for connectX-3Hanoh Haim1-0/+13
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-03-14Software mode for latency and flow stat statisticsIdo Barnea1-22/+61
Also supporting QinQ for flow stat Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-03-13i40e fix of workaround of stuck counters + regression testYaroslav Brustinov1-9/+9
Change-Id: I251cb8d346461ccfa4eee8abfda113410160a602 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-09trex-370. Added --no-hw-flow-stat command line optionIdo Barnea1-7/+33
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-03-08Got rid of get_vm_one_queue(). Separated its uses to many small attributes. ↵Ido Barnea1-283/+258
- second try Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-03-07Revert "Got rid of get_vm_one_queue(). Separated its uses to many small ↵Ido Barnea1-261/+267
attributes." This reverts commit cebf5a44b5f28a03b245e43013cc27671a980206.
2017-03-07* fix net_ixgbe_vf driver xstats not putting idYaroslav Brustinov1-1/+1
* add trex21 regression config (IXGBE VF) Change-Id: I9a9f0a0d0ba7a8f5a724cda94185f1be0490915a 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 Barnea1-267/+261
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-03-01STF publisher: ensure latest results are sent by CPP + get latest dump via ↵Yaroslav Brustinov1-0/+1
Python API Change-Id: I1836c0366785246acbcd8d238400440f5f3970f5 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-02-28Introduce capability flags in each driver, to reduce the use of ↵Ido Barnea1-123/+57
get_vm_one_queue_enable Signed-off-by: Ido Barnea <ibarnea@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 trex-362Hanoh Haim1-1/+3
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-02-23fix: trex-359 has_crc per driver function is obsolete - needs to be removedimarom1-2/+3
Signe-off-by: imarom <imarom@cisco.com>
2017-02-22Dumping interface info was broken in v2.18Yaroslav Brustinov1-1/+1
Change-Id: Icec84cb2912d6e179c5aac536825a04b47bebb2b Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-02-21Small reorder in drivers inheritance + fix to e1000 CRC issue (trex-354)Ido Barnea1-29/+40
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-02-19fix for:imarom1-0/+4
https://trex-tgn.cisco.com/youtrack/issue/trex-352 Signed-off-by: imarom <imarom@cisco.com>
2017-02-16VLAN keyword in platform config file will now make all traffic be sent over vlanIdo Barnea1-37/+48
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-02-16tx_capture - code reviewimarom1-8/+15
Signed-off-by: imarom <imarom@cisco.com>
2017-02-16TX packet capture - zero impact on fast pathimarom1-38/+68
(using wrapper when service mode is active) Signed-off-by: imarom <imarom@cisco.com>
2017-02-16TX feature - draftimarom1-0/+5
Signed-off-by: imarom <imarom@cisco.com>
2017-02-13add --mlx5-so option to load mlx5 share objectHanoh Haim1-5/+30
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-02-13mlx5 is shared libHanoh Haim1-0/+5
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-02-13Changes to our files to make dpdk1702 workIdo Barnea1-13/+16
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-02-02ipv6 scan & pingYaroslav Brustinov1-0/+20
Change-Id: I4f8112b4c942d149da5ea3f0ee01ac82d7fe32cc Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-01-29Merge branch 'master' into captureimarom1-146/+147
2017-01-24Fixed support for i40evf + Refactor of VM driversIdo Barnea1-234/+98
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-01-24revert the default RT test flagimarom1-3/+0
Signed-off-by: imarom <imarom@cisco.com>
2017-01-23DEBUG ONLY - MOVING TO RT MODE FOR REGRESSIONimarom1-0/+4
WILL REVERT IN THE FOLLOWING DAY Signed-off-by: imarom <imarom@cisco.com>
2017-01-23fix trex-333Hanoh Haim1-2/+109
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-01-23enable TRex to run with --rt : real time priority for DP and RX coresimarom1-4/+33
Signed-off-by: imarom <imarom@cisco.com>
2017-01-22Merge branch 'master' into captureimarom1-84/+61
Signed-off-by: imarom <imarom@cisco.com> Conflicts: scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_jsonrpc_client.py scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py src/main_dpdk.cpp
2017-01-12Add help message for --no-scapy-server flagYaroslav Brustinov1-0/+1
Python API: fix arp resolve console message Python API: retry ZMQ send/recv only for push_pcap Console: portattr fix for readonly mode Change-Id: I69587987deb4edfbe192ee422ce6aad74b1ecaf3 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-01-09Support for ixgbevf and i40evfIdo Barnea1-75/+51
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-01-08fix sign of filter return valueHanoh Haim1-1/+1
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-01-08mlx5 driver name was changedHanoh Haim1-1/+1
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-01-04draft - unreviewedimarom1-1/+4
Signed-off-by: imarom <imarom@cisco.com>
2017-01-02add warning about lack of read permissions for user "nobody" to run scapy ↵Yaroslav Brustinov1-3/+5
server. add flag to disable scapy server run. Change-Id: I65ccfb24ed4a5461fe2a13d8be0f07fad8a50bae Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-01-01crash in case of stateless and link downYaroslav Brustinov1-1/+1
Change-Id: I3c9902808e4e3c3174ad5ed5fa81bc70f1840f86 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-01-01Max number of ports: 16Yaroslav Brustinov1-1/+1
Change-Id: I93e2efe542578b0745d2f40adb2bcf35ffdff31b Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-26add --active-flows option to scale the active flowsHanoh Haim1-0/+17
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-12-25Disable watchdog for 5 seconds at Mellanox link up/down commandYaroslav Brustinov1-1/+17
Change-Id: If19c9c0d3e5d684e6157ab5c71a927e2e89b8211 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-25add a way to change tw configurationHanoh Haim1-2/+17
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-12-25Allow running x710 in --VM modeIdo Barnea1-0/+5
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2016-12-25refactor layer config on prot attributesimarom1-5/+7
added guard against unconfigured MAC when going up with empty config file Signed-off-by: imarom <imarom@cisco.com>
2016-12-24disable mbug optimization in case of stateful repeat flow, this option ↵Hanoh Haim1-1/+7
should be done in Stateless Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-12-22Allow up to 10 hops TTL reduction in X710 and 82599 statefulIdo Barnea1-35/+38
Signed-off-by: Ido Barnea <ibarnea@cisco.com>