summaryrefslogtreecommitdiffstats
path: root/VNFs/vCGNAPT
AgeCommit message (Collapse)AuthorFilesLines
2018-08-09update from src port in the pvt/pub handlerDeepak S1-12/+9
Change-Id: Iccd72f6ab3db68bc093c42d60d225fe86f8fbda7 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2018-06-29Merge "TempFix: vCGNAPT/vACL ipv4 perf issue"Deepak S1-15/+25
2018-06-12Adding support for Ubuntu 17.10...Deepak S2-2/+2
Change-Id: I9a9da79cb4ccb245ccb38b50b561da51a40a359d Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2018-06-05TempFix: vCGNAPT/vACL ipv4 perf issueDeepak S1-15/+25
Change-Id: I924fcac7a65c0d221d5d422f419deb9c0f864172 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-05VNFs: Fixing klocwork issue in VNFs codeAnand B Jyoti2-6/+82
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-09-28Fix cgnapt status outputDeepak S1-0/+1
Change-Id: I37ef70ae324e258da16b7bd67baf0e939d88b3ec Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-28Fix the cgnapt pipeline stat issuesDeepak S1-0/+19
Change-Id: I58d4a1b6c47fa204a8af67c725b22f797ec19755 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-27REST_API: rest api client implementationVishwesh M Rudramuni8-56/+398
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-09-27vCGNAT: 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-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-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-07-21VNFs: Correcting the fdir mode for SWLB and HWLBAnand B Jyoti1-8/+3
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 S1-438/+272
2017-07-20Merge "[l2l3 stack] implements new arp state machine & arp buffering"Deepak S3-430/+355
2017-07-18[l2l3 stack] implements new nd state machine & nd bufferingVishwesh M Rudramuni1-438/+272
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-14VNFs: Correcting default traffic_type to IPv4Anand B Jyoti2-2/+1
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[l2l3 stack] implements new arp state machine & arp bufferingVishwesh M Rudramuni3-430/+355
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-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 Jyoti1-1/+10
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-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-01[SAMPLEVNF] Adding support to handle more than 16 portsDeepak S2-3/+12
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-30If port configuration fails. Try again after disabling TX OFFLOADDeepak S1-2/+8
Change-Id: I5eaf64a0cac8747ba5ac79bfd036a77cee766e39 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-05-11Allow enable/disable of checksum for cgnaptDeepak S2-19/+19
JIRA: SAMPLEVNF-11 Enable Checksum in makefile add CHECKSUM_REQ --> hw_checksum_req=1 in config for hw_checksum --> hw_checksum_req=0 in config for sw_checksum disable checksum in makefile comment CHECKSUM_REQ Change-Id: I5ebcfe845082ea49acaa13bc963fc07b92b90650 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-05-11Default enable only NAPT featuresDeepak S1-5/+5
JIRA: SAMPLEVNF-11 By Default CGNAPT will have only NAPT feature. To enable other advance feature, Uncomment same in Makefile - PCP - SIP_ALG - CT_CGNAT - FTP_ALG Change-Id: I8602726e6db8a899a94028f7bc16d6e7339438b9 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-04-19vCGNAPT VNF initial check-inDeepak S44-0/+20081
JIRA: SAMPLEVNF-5 The vCGNAPT implementation contains following features: • Static and dynamic Network address translation. • Static and dynamic Network address and port translation • ARP (request, response, gratuitous) • ICMP (terminal echo, echo response, pass-through) • ICMPv6 and ND • UDP, TCP and ICMP protocol pass-through • Multithread support and Multiple physical port support • Limiting max ports per client • Limiting max clients per public IP address • Live Session tracking to NAT flow • NAT64 – connectivity between IPv6 access network to IPv4 data • PCP - Port Control protocol • SIP functionality • FTP functionality Change-Id: I5ebb44ae60e32dd6da5e793efd91a6831a4d30a7 Signed-off-by: Deepak S <deepak.s@linux.intel.com>