summaryrefslogtreecommitdiffstats
path: root/src/bp_sim.h
AgeCommit message (Collapse)AuthorFilesLines
2017-03-30Supporting more flows in stateless flow stats, according to NIC type, and ↵Ido Barnea1-5/+5
running mode Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-03-16Fixes for v2.21 --software mode issuesIdo Barnea1-1/+1
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-03-16early support mlx4 driver for connectX-3Hanoh Haim1-0/+8
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-03-13i40e fix of workaround of stuck counters + regression testYaroslav Brustinov1-0/+10
Change-Id: I251cb8d346461ccfa4eee8abfda113410160a602 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-03-09trex-370. Added --no-hw-flow-stat command line optionIdo Barnea1-1/+8
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-14/+20
- 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-20/+14
attributes." This reverts commit cebf5a44b5f28a03b245e43013cc27671a980206.
2017-03-07Got rid of get_vm_one_queue(). Separated its uses to many small attributes.Ido Barnea1-14/+20
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-02-21Removed mac keyword from all traffic profilesIdo Barnea1-8/+0
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-02-16support more than 255 client/server poolsHanoh Haim1-9/+9
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 Barnea1-15/+19
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-02-16TX packet capture - zero impact on fast pathimarom1-0/+7
(using wrapper when service mode is active) Signed-off-by: imarom <imarom@cisco.com>
2017-02-14init vlan mode explicitly. We noticed this affect performanceIdo Barnea1-0/+1
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-02-13add --mlx5-so option to load mlx5 share objectHanoh Haim1-1/+9
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-02-09move to active flowsHanoh Haim1-1/+3
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-01-23enable TRex to run with --rt : real time priority for DP and RX coresimarom1-0/+8
Signed-off-by: imarom <imarom@cisco.com>
2017-01-10Add client config unit test + fixes to unit tests infraIdo Barnea1-35/+44
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2017-01-05add not accurate timer wheel for better performanceHanoh Haim1-8/+26
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-12-26add --active-flows option to scale the active flowsHanoh Haim1-0/+7
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-12-25add a way to change tw configurationHanoh Haim1-4/+41
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-12-25refactor layer config on prot attributesimarom1-1/+3
added guard against unconfigured MAC when going up with empty config file Signed-off-by: imarom <imarom@cisco.com>
2016-12-22stateful scheduler cleanupHanoh Haim1-0/+22
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-12-22Support for UDP with --learn_mode 1 and 3 (TCP ACK) using IP_IDIdo Barnea1-23/+19
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2016-12-21improve Stateful schedulerHanoh Haim1-109/+70
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-12-20trex-312 ARP resolution does not work from console at virtual NICsimarom1-3/+10
Signed-off-by: imarom <imarom@cisco.com>
2016-12-13minor fix (RX core sync time)imarom1-0/+1
Signed-off-by: imarom <imarom@cisco.com>
2016-12-13Major refactor - L2 / L3 modes for portsimarom1-0/+27
Signed-off-by: imarom <imarom@cisco.com>
2016-12-06RX features phase 2 - ARP and ICMP self responseimarom1-1/+0
Signed-off-by: imarom <imarom@cisco.com>
2016-11-22client config gtestIdo Barnea1-1/+1
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2016-11-21Client config ARP support - code review changesIdo Barnea1-1/+1
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2016-11-21Seperating ClientCfgDirBase/Ext and ClientCfgBase/Ext to save memoryIdo Barnea1-2/+2
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2016-11-21client config ARP resolve working. Still missing IPv6 support.Ido Barnea1-41/+5
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2016-11-16Fix trex-267 - allocation of ARP packets from wrong memory socketIdo Barnea1-2/+10
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2016-11-11mlx5 add TOS marker for mlx5 type of driverHanoh Haim1-1/+21
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-11-11mlx5 ipv6 filters worksHanoh Haim1-0/+3
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-11-09Fix issue when --vlan option appearing before -i optionIdo Barnea1-0/+5
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2016-11-02Trex threads - pin DPDK master thread to the master coreimarom1-3/+10
also, some names to the threads to make things clear and a script to show them Signed-off-by: imarom <imarom@cisco.com>
2016-10-26fixed performance issue (moved STRECH case to low priority cases)imarom1-1/+13
Signed-off-by: imarom <imarom@cisco.com>
2016-10-18severe crash when time strech push a node in the top of the priority queueimarom1-0/+1
between TOP and POP it was obsereved during execution of the command push -r -f /auto/avc-devtest/CS-NBAR/SR_639103737/PcapPerIp.pcap -a -n 10000000 -s 1000 when two adject ports exists Signed-off-by: imarom <imarom@cisco.com>
2016-10-18Help message fixes + removing unused command line optionsIdo Barnea1-10/+1
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2016-10-05pre test: Some small fixesIdo Barnea1-3/+5
2016-10-05pre test: Periodically send gratuitous ARP in statefulIdo Barnea1-7/+24
2016-10-05pre test: Send grat ARP, and resolve gateway addressesIdo Barnea1-1/+2
2016-09-08Fix issue of reading RX queue from DP core even when we are not in VM modeIdo Barnea1-70/+15
2016-08-18TRex argument --dump-interfaces <list of PCI> (by default will take ↵Yaroslav Brustinov1-1/+3
interfaces from /etc/trex_cfg.yaml if exists, if does not exists, will show all DPDK interfaces) get interface speed from DPDK instead of using constants per driver add script to generate config file /etc/trex_cfg.yaml: sudo ./dpdk_setup_ports.py -c <list of PCI> show table of interfaces in sudo ./dpdk_setup_ports.py -t
2016-08-15core mask - first phaseimarom1-0/+39
2016-08-08change default to not run rte_eth_dev_stop/closeIdo Barnea1-2/+2
2016-08-08Adding --no-close optionIdo Barnea1-0/+8
2016-08-01sync: unsafe to touch the node pointer, use a timestamp insteadimarom1-1/+2
2016-07-31https://trex-tgn.cisco.com/youtrack/issue/trex-223imarom1-1/+6