summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-07-17[UDP_Replay] fixing of compiler warningVishwesh M Rudramuni1-3/+1
removes the nb_lcores as its no longer used. Change-Id: I13020585afb6d1e0758f1efc6578740dd3502d72 Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
2017-07-14[UDP_Replay] adding Makefile for dynamic arpVishwesh M Rudramuni1-2/+60
THis patch modifies the Makefile to comprehend the dynamic arp support Change-Id: I92f03554b387c883840449014acf1a08b774b8fa Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
2017-07-14Merge "vFW: Remove unused pkt_type parameter from example cfg files"Deepak S16-42/+0
2017-07-14[UDP_Replay] Adding the dynamic arp supportVishwesh M Rudramuni1-284/+507
This patch adds dynamic arp support to UDP Replay VNF. This patch fixes the performance issue observed with arp support for UDP replay. The arp support can be simply not used by not providing the "-s option" which will revert to a plain UDP replay functionality Change-Id: I565eb83cd825470d4603ed5cb8fbe32f311eb0af Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
2017-07-14Merge "tools: Support multiple version of DPDK build"Deepak S1-10/+39
2017-07-14Merge "UDP_Replay: rte_hash_lookup_multi renamed to rte_hash_lookup_bulk"Deepak S1-1/+5
2017-07-14Merge "vCGNAPT: correcting to use default rte_ring_dequeue"Deepak S1-4/+4
2017-07-14Merge "VNFs: rte_eth_dev is deprecated in DPDK version 16.11 and onwards"Deepak S3-7/+28
2017-07-14Merge changes Iefe947a9,I49ae9b19Deepak S1-26/+24
* changes: vFW: ARPICMP packets shouldn't be processed by vFW vFW: Remove TTL decrementing in firewall acting as gateway
2017-07-14vFW: Remove unused pkt_type parameter from example cfg filesAnand B Jyoti16-42/+0
JIRA: SAMPLEVNF-53 Removing the unused pkt_type parameter. The traffic_type is used to identify the traffic type as IPv4 or IPv6. Change-Id: I22654ab9f04e2d0aa9ede3a83c68398ac2c83c63 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-07-12vFW: ARPICMP packets shouldn't be processed by vFWAnand B Jyoti1-6/+24
JIRA: SAMPLEVNF-52 The stats counters are wrong when ARPICMP pkts are received by VFW pipeline in case of HWLB mode as the vFW is trying to process these pkts. The ARPICMP pkts shouldn't be processed by VFW pipeline, as these packets are processed by ARPICMP pipeline in case of HWLB. Change-Id: Iefe947a9f63fd4943f37900582656a9a4f957f5d Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-07-12vFW: Remove TTL decrementing in firewall acting as gatewayAnand B Jyoti1-20/+0
JIRA: SAMPLEVNF-51 vFW is not functioning as a router and hence TTL decrement is not required. Remove this TTL decrementing in vFW. Change-Id: I49ae9b19a473eec0b8072f8a556dca299d89ef74 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-06-30l2l3_stack: Remove the build folder from l2l3_stackAnand B Jyoti3-564/+0
JIRA: SAMPLEVNF-47 The intermediate files and build directory will be regenerated at build time. These files/folder are not required. Change-Id: Iabf50c8dfcf80d9d6f4db0fca9a5a84e3fc6447a Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-06-27Merge "tools: Adding patches for disabling the DEBUG logs in DPDK"v1.0.1Deepak S1-0/+2
2017-06-27Merge "dpdk: Disable DEBUG logs by default in DPDK libraries"Deepak S1-0/+13
2017-06-27Merge "dpdk: Disable debug logs in ACL rte_table_acl_build"Deepak S1-0/+14
2017-06-27Merge "conntrack: timer reset in reply traffic causes performance impact"Deepak S1-1/+4
2017-06-27Merge "conntrack: Fix to avoid duplicate connections in initial burst"Deepak S1-13/+2
2017-06-27tools: Support multiple version of DPDK buildAnand B Jyoti1-10/+39
JIRA: SAMPLEVNF-22 This patch support building the samplevnf with multiple different versions of DPDK like 16.04, 16.11, 17.02 and 17.05. Change-Id: Ic1a10442a03311010213c5054c8d459dd41c20cf Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-06-27UDP_Replay: rte_hash_lookup_multi renamed to rte_hash_lookup_bulkAnand B Jyoti1-1/+5
JIRA: SAMPLEVNF-20 The function name rte_hash_lookup_multi() is changed to rte_hash_lookup_bulk() in DPDK version 16.11 and onwards. This fix supports DPDK16.04, 16.11 and onwards and required for DPDK17.05 migration. Change-Id: I01f2145919768b5146116e67d7f349a5b039251c Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-06-27vCGNAPT: correcting to use default rte_ring_dequeueAnand B Jyoti1-4/+4
JIRA: SAMPLEVNF-19 The rte_ring_sc_dequeue returns ENOENT in DPDK16.04 while ENOBUFS in DPDK17.05. This leads to error in return value checking and mis behaviour. Using of rte_ring_sc_dequeue() to be avoided to use the default configuration as set during the creation of the queue as per the DPDK API documentation. Similarly corrected for mp_dequeue as well. Change-Id: Iacee1349b26d6ab432be891fad12313a6d68ca4d Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-06-27VNFs: rte_eth_dev is deprecated in DPDK version 16.11 and onwardsAnand B Jyoti3-7/+28
JIRA: SAMPLEVNF-17 rte_eth_dev is removed in DPDK version 16.11 and onwards. The corresponding error handling is fixed through samplevnf gerrit 34667. This patch is required for migration of VNFs to DPDK ver 17.05. Change-Id: I088b705e3261227bcba7332aeb5a2a236e77a33e Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-06-26tools: Adding patches for disabling the DEBUG logs in DPDKAnand B Jyoti1-0/+2
JIRA: SAMPLEVNF-45 Apply the patches to disable the default DEBUG prints in the DPDK libraries. Change-Id: If17422e8398c8798ec9e97d9f141b2a8b2a53fd4 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-06-26dpdk: Disable DEBUG logs by default in DPDK librariesAnand B Jyoti1-0/+13
JIRA: SAMPLEVNF-45 The default RTE_LOG_LEVEL is set to 8 enables all debug prints which impacts the performance testing. This patch sets the RTE_LOG_LEVEL to INFO to avoid printing of logs with level DEBUG. Change-Id: I1fdeecab9cd82f37f62e1ccfa625f91d1cf16217 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-06-26dpdk: Disable debug logs in ACL rte_table_acl_buildAnand B Jyoti1-0/+14
JIRA: SAMPLEVNF-46 Debug logs enabled by default causes delay in application initialization as there can be many ACL rules to be setup during initialization. This patch disables the ACL logs during rte_table_acl_build by default and can be enabled by setting the RTE_LOG_LEVEL to DEBUG. Change-Id: I48e642f8768135087b0ed4f1677c1c9ac9e0df58 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-06-23conntrack: timer reset in reply traffic causes performance impactAnand B Jyoti1-1/+4
JIRA: SAMPLEVNF-44 The UDP connection timer was getting reset for every packets with reply traffic due to connection state check. This patch avoids resetting the timer instead uses the expected timeout to reset avoiding frequent timer reset for every packet. Change-Id: I6b5aac62bb709f403aeacee75f52d099b2d2397f Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-06-22conntrack: Fix to avoid duplicate connections in initial burstAnand B Jyoti1-13/+2
JIRA: SAMPLEVNF-43 Before connection setup, if there are multiple packets in the burst and are belongs to same connection, it was adding new connection for the same 5 tuple connection, leading to multiple connections in the CT. It was causing more number of active connections than possible. Change-Id: I15c90e7feb465d96a9429ea6fedcb09fad9482e6 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-06-22vFW: Increase max number of VFW instances from 12 to 24Anand B Jyoti1-1/+1
JIRA: SAMPLEVNF-41 Next generation platforms require more than 12 instances of VFW to support more number of ports and throughout. Increasing the max instances from 12 to 24 to support upto 200Gbps in next generation platforms. Change-Id: Ice4f84dfd4a96b84e7e5ef00349892d08e1d2348 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-06-22Merge "vCGNAPT: remove unused function and a patch"Deepak S3-94/+0
2017-06-15Adding Sample vCGNAPT config to run with multi-port pairv1.0.0Deepak S7-250740/+970
JIRA: SAMPLEVNF-40 This patch adds sample vCGNAPT config for 1, 6, 10 port pair Change-Id: I003e98b26e794d111af562232e8688f255a7d61a Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-06-09vCGNAPT: remove unused function and a patchAnand B Jyoti3-94/+0
JIRA: SAMPLEVNF-21 Removing unused function rte_pipeline_action_handler_port_ext() and a patch rte_pipeline.patch which was applied on top of DPDK 16.04. These are not used, hence cleaning up for DPDK migration. Change-Id: I33a646ad27857c880969574b37412236ed3d780c Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-06-06Adding timer dyn timeout config in timer profile.Deepak S1-2/+15
This patch enabled dynamic tune of timer timeout [PIPELINE2] type = TIMER core = 2 timer_dyn_timeout = 20 #-- new config to change dyn timer timeout n_flows = 1048576 Change-Id: I614cf73a7fc1afd9050580286c9a968aacb619fa Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-06-06Set rxq and txq to same value to enable to run UDP replay on single threadDeepak S1-2/+2
Change-Id: Iee26005d5e90a7481f6e6fb3c7441a2011fe5596 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-06-02Enable UDP_replay on OVS deploymentDeepak S1-4/+6
Use ETHER_TYPE instead packet_type when hw-ip-check is disabled. Change-Id: Iced93b78d9f4e58011dd051e88ddd312112e0cba Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-06-02Adding UDP Replay VNF without arp supportDeepak S6-2/+3156
JIRA: SAMPLEVNF-8 This code adds support for UDP Replay which acts as a reflector of all the UDP packets on the requested port. Change-Id: I633e65a4964fab4cc46e2ed09c742dcc63ce6258 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-06-02Revert "[SAMPLEVNF] Adding UDP Replay VNF"Deepak S12-3724/+15
This reverts commit 1b0802cbf10ac4d8911f0916d4ba0b02010924c8. Change-Id: Ic2bb69125d0d849b260475026a1088911d2d7109 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-06-02Revert "[BUG]: Fix segfault while sending the packets back"Deepak S1-1/+1
This reverts commit b04a6e5dacc458f81097c9b8a172dcbf16d8fd50. Change-Id: Icb9a4ddea607c9dd9324a413407c266e8f6106f0 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-06-01CT: Perf optimization through prefetch and condition checks in CTAnand B Jyoti2-12/+43
JIRA: SAMPLEVNF-10 LLC miss is possible when the connection data structure is accessed after retrieved from hash table entries for TCP/UDP connection. CPI for rte_ct_udp_packet() is not good due to if/else condition checks. This patch provide a prefetch instructions to pre-fetch the cnxn data entry structure to avoid the LLC miss and also optimize the if/else condition check to improve the CPI for rte_ct_udp_packet() function. Change-Id: Ieaf70815c919ddbe1ff34921222eac030fb41756 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-06-01[BUG]: Fix segfault while sending the packets backDeepak S1-1/+1
JIRA: SAMPLEVNF-18 This patch fixes segfault due to wrong use of portid while accessing array Change-Id: I1e8b57c27e7c26918bd61cb1d72dbe88ab269c98 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-06-01Merge "[SAMPLEVNF] Adding support to handle more than 16 ports"Deepak S9-20/+250865
2017-06-01[SAMPLEVNF] Adding support to handle more than 16 portsDeepak S9-20/+250865
This patch extends num_ports vnf can handle ports > 16 . This include changes in the memory allocatiion and size of different paramters Change-Id: Id8907327023ba863ad107bb874cfb60bd38daee5 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-05-31Merge "acl_lib: remove unused dualstack code from acl library"Deepak S2-379/+0
2017-05-31Merge "vFW: remove unused dualstack support code"Deepak S1-660/+1
2017-05-31Merge "vFW: Clear the pkt drop count for unsupported type in clearstats cmd"Deepak S1-0/+1
2017-05-30If port configuration fails. Try again after disabling TX OFFLOADDeepak S3-9/+25
Change-Id: I5eaf64a0cac8747ba5ac79bfd036a77cee766e39 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-05-30[SAMPLEVNF] Adding UDP Replay VNFVishwesh M Rudramuni12-15/+3724
JIRA: SAMPLEVNF-8 This code adds support for UDP Replay which acts as a reflector of all the UDP packets on the requested port. Change-Id: If8330580f58c785736e578e815d15d983ce20209 Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com> Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-05-18Adding http proxy setup for non-intractive buildDeepak S1-0/+12
Change-Id: I9a3137f60b83c88b16027a9e6c404ccc3673b820 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-05-18Adding support to build the vnfs without user interventionDeepak S1-0/+24
./tools/vnf_build.sh --silient Change-Id: I50ecdc263a732d1ed823202107e49ffaa739e9b4 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-05-12Change PMD link down to warning instead of panic errorDeepak S1-1/+1
On SRIOV/OVS, NIC interface link always be UP. But to set the IP, we need to bring down the interface. This patch allows the program to continue after printing warning. Change-Id: I79212f4d71501af5f3065143e067a22855a5fde6 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-05-12acl_lib: remove unused dualstack code from acl libraryAnand B Jyoti2-379/+0
JIRA: SAMPLEVNF-14 The simultaneous IPV4 and IPV6 traffic is not required/supported. The IPv4 and IPv6 separation is done to avoid multiple checks between v4 and v6 and to improve the throughput performance. Remove this in-used/unsupported code from the acl library code. Change-Id: I4b5c562e541b1616279f0332d8b837c44b7e865d Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>