summaryrefslogtreecommitdiffstats
path: root/VNFs
AgeCommit message (Collapse)AuthorFilesLines
2017-10-16Adding app version displayDeepak S1-6/+20
Change-Id: Ie96af26119cef7e8340fff958253c259b46675f4 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-11vACL: The ethernet mac address not updated correctlyAnand B Jyoti1-4/+4
JIRA: SAMPLEVNF-85 The ethernet header pointer initialization was wrong due to which the MAC address were not updated. Hence the packets were not reaching the destination. Change-Id: Ide061abaec9de9707390664848b01bf79171bfbd Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-10-06VNFs: Fixing klocwork issue in VNFs codeAnand B Jyoti8-16/+217
JIRA: SAMPLEVNF-83 This patch fixes the klocwork reported issues Change-Id: I190d024777be1bf53cdc97feca1e5934781f3582 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-10-04Fix cgnapt status outputDeepak S1-0/+1
Change-Id: I37ef70ae324e258da16b7bd67baf0e939d88b3ec Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-04Fix the cgnapt pipeline stat issuesDeepak S1-0/+19
Change-Id: I58d4a1b6c47fa204a8af67c725b22f797ec19755 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-04REST_API: rest api client implementationVishwesh M Rudramuni20-213/+1409
JIRA: SAMPLEVNF-78 This patch implements rest api's for VNF clients. This comprises of * vnf api's for common functionality * vnf api's for CGNAPT * vnf api's for VFW Change-Id: I56d22c64bf3ee5b0a2e536da8169ac7583499041 Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
2017-10-04UDP_Replay: changes for gateway packet forwardingAnand B Jyoti2-0/+6
JIRA: SAMPLEVNF-70 Integrating gateway packet forwarding to UDP_Replay VNF. Change-Id: I00f2bc498563b81260c2c98275f7a73dbc2cb445 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-10-04vCGNAT: changes for gateway packet forwardingAnand B Jyoti5-251/+166
JIRA: SAMPLEVNF-61 Integrating gateway packet forwarding to CGNAT VNF. Change-Id: Ifd528b40134da2d12644a406b2da05a5f044aa1c Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-10-04vACL: changes for gateway packet forwardingAnand B Jyoti6-1941/+1775
JIRA: SAMPLEVNF-60 vACL changes to support gateway packet forwarding. Change-Id: I1435254e4f18bc26bf2b37be2e3ed2df0fb29153 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-10-04vFW: changes for gateway packet forwardingAnand B Jyoti6-233/+296
JIRA: SAMPLEVNF-59 Changes to support gateway packet forwarding to vFW. Change-Id: Ie9164b092f6864cfcdb02e7b325c4e8796a7e422 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-09-25Remove default section in the createrapidDeepak S1-1/+0
Change-Id: Id9c22f92955b64242971ff768a64132451c8350e Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-19Splitting the script in 2 parts: createrapid.py and runrapid.pyLuc Provoost11-528/+1098
The split of the scripts is documented in the README file. The VM also runs now devbind.sh with the proper MAC address to bind the dataplane interface with the DPDK poll mode driver. Change-Id: I3e7a6235379dc80530934376c7799ac3396b5325 Luc Provoost <luc.provoost@intel.com> Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-12Enabling Prox to be compatible with Titanium CloudDeepak S1-0/+1
Change-Id: I65e8b2d1cea2a1edfa738671e460b6a0170d3363 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-11Support 5 tuple load balancing for IP addresses other than 0.0.0.XDanielMartinBuckley1-5/+5
Currently packets generated with IP addresses 10.1.1.x when handled by 5 Tuple Load Balancer are discarded/dropped. These addresses are outhside the range of the hash algorithm. Change-Id: Idf2cea0ff299a3fa75554f0d103e13391eae02fa Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
2017-08-21Update vACL config filesDeepak S8-56/+90
JIRA: SAMPLEVNF-76 Change-Id: Iab363cc6cd5310e25c15758f02ca68751e81a49c Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-08-20Updated configuration files for cgnapt VNFsDeepak S6-0/+310
JIRA: SAMPLEVNF-75 Change-Id: Iac091ca0f12570d47d36366055ad89737b386c36 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-08-20Update vCGNAPT configuration fileDeepak S34-2392/+0
JIRA: SAMPLEVNF-75 Change-Id: Icb8e46ee4566cc637b299913b1d0a7d5baafd3ac Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-08-14Enable tpkts_processed counter in aclDeepak S1-0/+12
JIRA: SAMPLEVNF-72 Change-Id: Iadb3173c76306a48860313177f1b86e8410c7df3 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-08-14Moving printf under cgnapt_dbg_printDeepak S2-14/+23
JIRA: SAMPLEVNF-71 Change-Id: Ibcd70008e1657eaa0b2f95aac319483490c290aa Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-08-02vFW: Updating config and script files of vFWAnand B Jyoti26-1708/+474
JIRA: SAMPLEVNF-68 Updating the vFW Config and scripts with following: 1. Remove arp/nd route tbl from cfg files 2. Adding routeadd command to script file as route_tbl is removed from cfg files 3. Remove ports_mac_list as the l2l3 stack will initialize 4. Merge IPv4 and IPv6 cfg/tc files to reduce the number files 5. Remove 1 WT cfg files to reduce too many cfg files. Change-Id: If16ee740cd464f2cf55b8d11f590471aba9c7f30 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-07-21VNFs: Correcting the fdir mode for SWLB and HWLBAnand B Jyoti3-13/+10
JIRA: SAMPLEVNF-64 fdir conf mode was incorrectly set to RTE_FDIR_MODE_PERFECT in SWLB and also RTE_FDIR_MODE_NONE in HWLB. This patches corrects them to enable the Vector PMD. Change-Id: I2097479c948ad482dbb868e315e4a6dfc8355ef2 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-07-20Merge "[l2l3 stack] implements new nd state machine & nd buffering"Deepak S4-1524/+494
2017-07-20Merge "[l2l3 stack] implements new arp state machine & arp buffering"Deepak S6-716/+588
2017-07-18[l2l3 stack] implements new nd state machine & nd bufferingVishwesh M Rudramuni4-1524/+494
JIRA: SAMPLEVNF-32 This patch implements ~New nd state machine implementing new states like INCOMPLETE, COMPLETE, PROBE, STALE. ~Implementing nd buffering, when nd is unresolved. ~Integratig the new changes with vCGNAPT ~Integrating the new changes with vACL ~Integrating the new changes with vFW. ~Adding locks to synchronize against multiple VNF threads Change-Id: Iaee4f4599ca3016ebb50ee2d9133fd8c39c5cd04 Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
2017-07-17Merge "[UDP_Replay] fixing of compiler warning"Deepak S1-3/+1
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-14Adding PROX(Packet pROcessing eXecution engine) VNF to sampleVNFDeepak S362-0/+64273
JIRA: SAMPLEVNF-55 PROX is a DPDK-based application implementing Telco use-cases such as a simplified BRAS/BNG, light-weight AFTR... It also allows configuring finer grained network functions like QoS, Routing, load-balancing... (We are moving PROX version v039 to sampleVNF https://01.org/intel-data-plane-performance-demonstrators/prox-overview) Change-Id: Ia3cb02cf0e49ac5596e922c197ff7e010293d033 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-07-14VNFs: Correcting default traffic_type to IPv4Anand B Jyoti5-6/+4
JIRA: SAMPLEVNF-54 The default traffic_type value needs to be set to IPv4 instead of MIX type which is not supported. Change-Id: Ibe8ec31bc7a435fd97aaae0e9e664d0eb70ee30c Signed-off-by: Anand B Jyoti <anand.b.jyoti@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 "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-14[l2l3 stack] implements new arp state machine & arp bufferingVishwesh M Rudramuni6-716/+588
JIRA: SAMPLEVNF-23 This patch implements ~New arp state machine implementing new states like INCOMPLETE, COMPLETE, PROBE, STALE. ~removing unwanted code in arpicmp pipeline ~Implementing arp buffering, when arp is unresolved. ~Integratig the new changes with vCGNAPT ~Integrating the new changes with vACL ~Integrating the new changes with vFW. Change-Id: If467ec035bc8de58463ea50d9e603a97f168c1a2 Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
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-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-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 S1-5/+0
2017-06-15Adding Sample vCGNAPT config to run with multi-port pairv1.0.0Deepak S6-0/+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 Jyoti1-5/+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 S4-0/+3153
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 S6-3445/+0
This reverts commit 1b0802cbf10ac4d8911f0916d4ba0b02010924c8. Change-Id: Ic2bb69125d0d849b260475026a1088911d2d7109 Signed-off-by: Deepak S <deepak.s@linux.intel.com>