samplevnf.git
6 years agoDocs: Update design and userguide for common gateway routing 27/44327/1
Anand B Jyoti [Mon, 2 Oct 2017 23:19:08 +0000 (04:49 +0530)]
Docs: Update design and userguide for common gateway routing

JIRA: SAMPLEVNF-81

Updating design and userguide for common gateway routing
functionality.

Change-Id: I347f03d37469858a69d7fcca86de31ee03d08086
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agocommon: arp_route_tbl entry is not working 25/44325/1
Anand B Jyoti [Mon, 2 Oct 2017 22:30:33 +0000 (04:00 +0530)]
common: arp_route_tbl entry is not working

JIRA: SAMPLEVNF-80

The arp_route_tbl entry was not getting effected as the vnf_gateway
flag was not set after adding entry to routing table.

This patch fixes the issue.

Change-Id: Id3b1b14b698dea5e2beea7f3e90e8622896b5c5f
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agoupdate userguide alignment 23/44323/1
Deepak S [Mon, 2 Oct 2017 02:00:24 +0000 (19:00 -0700)]
update userguide alignment

Change-Id: Ie938d84d31c2145167fc2b816a02bd8c0a3210ec
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoFix cgnapt status output 21/44321/1
Deepak S [Thu, 28 Sep 2017 02:45:57 +0000 (08:15 +0530)]
Fix cgnapt status output

Change-Id: I37ef70ae324e258da16b7bd67baf0e939d88b3ec
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoFix the cgnapt pipeline stat issues 19/44319/1
Deepak S [Thu, 28 Sep 2017 02:14:52 +0000 (07:44 +0530)]
Fix the cgnapt pipeline stat issues

Change-Id: I58d4a1b6c47fa204a8af67c725b22f797ec19755
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoREST_API: rest api client implementation 17/44317/1
Vishwesh M Rudramuni [Sun, 24 Sep 2017 22:06:02 +0000 (03:36 +0530)]
REST_API: rest api client implementation

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>
6 years agoUDP_Replay: changes for gateway packet forwarding 15/44315/1
Anand B Jyoti [Thu, 10 Aug 2017 20:58:13 +0000 (02:28 +0530)]
UDP_Replay: changes for gateway packet forwarding

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>
6 years agovCGNAT: changes for gateway packet forwarding 13/44313/1
Anand B Jyoti [Thu, 10 Aug 2017 06:46:53 +0000 (12:16 +0530)]
vCGNAT: changes for gateway packet forwarding

JIRA: SAMPLEVNF-61

Integrating gateway packet forwarding to CGNAT VNF.

Change-Id: Ifd528b40134da2d12644a406b2da05a5f044aa1c
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agovACL: changes for gateway packet forwarding 11/44311/1
Anand B Jyoti [Wed, 2 Aug 2017 07:11:02 +0000 (12:41 +0530)]
vACL: changes for gateway packet forwarding

JIRA: SAMPLEVNF-60

vACL changes to support gateway packet forwarding.

Change-Id: I1435254e4f18bc26bf2b37be2e3ed2df0fb29153
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agovFW: changes for gateway packet forwarding 09/44309/1
Anand B Jyoti [Fri, 28 Jul 2017 07:49:09 +0000 (13:19 +0530)]
vFW: changes for gateway packet forwarding

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>
6 years agocommon: Changes to common code for gateway support 07/44307/1
Anand B Jyoti [Fri, 28 Jul 2017 07:41:19 +0000 (13:11 +0530)]
common: Changes to common code for gateway support

JIRA: SAMPLEVNF-58

Common code changes for gateway packet forwarding.

Change-Id: Ie002c94b8febab9c0923e1bb261e5ea931cd4712
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agogateway: Created common code for routing in gateway 05/44305/1
Anand B Jyoti [Tue, 18 Jul 2017 04:15:41 +0000 (09:45 +0530)]
gateway: Created common code for routing in gateway

JIRA: SAMPLEVNF-58

Adding the common code for routing functionality in gateway config.

Change-Id: I2a2f085a3555db52c8aff87f1bab1b00d11481ea
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agoRemove default section in the createrapid 43/43143/1
Deepak S [Tue, 26 Sep 2017 01:12:15 +0000 (18:12 -0700)]
Remove default section in the createrapid

Change-Id: Id9c22f92955b64242971ff768a64132451c8350e
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoSplitting the script in 2 parts: createrapid.py and runrapid.py 21/42521/1
Luc Provoost [Thu, 14 Sep 2017 14:41:02 +0000 (16:41 +0200)]
Splitting the script in 2 parts: createrapid.py and runrapid.py

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>
6 years agoEnabling Prox to be compatible with Titanium Cloud 15/41715/1
Deepak S [Tue, 12 Sep 2017 08:00:19 +0000 (01:00 -0700)]
Enabling Prox to be compatible with Titanium Cloud

Change-Id: I65e8b2d1cea2a1edfa738671e460b6a0170d3363
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoSupport 5 tuple load balancing for IP addresses other than 0.0.0.X 99/41399/5
DanielMartinBuckley [Fri, 8 Sep 2017 11:45:13 +0000 (12:45 +0100)]
Support 5 tuple load balancing for IP addresses other than 0.0.0.X

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>
6 years agoDraft Userguide for samplevnf 49/41049/3
Deepak S [Tue, 5 Sep 2017 00:35:55 +0000 (17:35 -0700)]
Draft Userguide for samplevnf

Change-Id: I21a984518b98eaf5c81b39e549a43fa2eb90f314
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoUpdating SampleVNF Highlevel design 15/41015/5
Deepak S [Mon, 4 Sep 2017 09:52:15 +0000 (02:52 -0700)]
Updating SampleVNF Highlevel design

Change-Id: I16edf82eec02c671c1c72d07348d1badf58fc42d
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoAdded developer user guide draft for samplevnfs 07/39807/1
Deepak S [Mon, 21 Aug 2017 09:51:33 +0000 (02:51 -0700)]
Added developer user guide draft for samplevnfs

Change-Id: I15a5f7ae8e3aac5d509b7a722f7032fbd2da69d0
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoAdded initial draft for samplevnf useguide 99/39699/5
Deepak S [Sat, 19 Aug 2017 03:02:05 +0000 (20:02 -0700)]
Added initial draft for samplevnf useguide

JIRA: SAMPLEVNF-77
Change-Id: Ib537b36ae82361754762a627ae942d99b4966856
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoUpdate vACL config files 97/39697/3
Deepak S [Sat, 19 Aug 2017 00:44:56 +0000 (17:44 -0700)]
Update vACL config files

JIRA: SAMPLEVNF-76
Change-Id: Iab363cc6cd5310e25c15758f02ca68751e81a49c
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoUpdated configuration files for cgnapt VNFs 95/39695/2
Deepak S [Sat, 19 Aug 2017 00:34:49 +0000 (17:34 -0700)]
Updated configuration files for cgnapt VNFs

JIRA: SAMPLEVNF-75
Change-Id: Iac091ca0f12570d47d36366055ad89737b386c36
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoUpdate vCGNAPT configuration file 93/39693/2
Deepak S [Sat, 19 Aug 2017 00:23:48 +0000 (17:23 -0700)]
Update vCGNAPT configuration file

JIRA: SAMPLEVNF-75

Change-Id: Icb8e46ee4566cc637b299913b1d0a7d5baafd3ac
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoAdding Initial samplevnf release notes draft for E-Release 91/39691/2
Deepak S [Fri, 18 Aug 2017 23:57:45 +0000 (16:57 -0700)]
Adding Initial samplevnf release notes draft for E-Release

JIRA: SAMPLEVNF-74
Change-Id: I6d3adacc9236006f64218aad5378a4af5dd2efe5
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoRemove unwanted files in docs folder 89/39689/2
Deepak S [Fri, 18 Aug 2017 21:59:46 +0000 (14:59 -0700)]
Remove unwanted files in docs folder

JIRA: SAMPLEVNF-73

Change-Id: Ia147cfef9f7bcacd50477b6ea3c7d0a1c6e93952
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoEnable tpkts_processed counter in acl 67/39267/1
Deepak S [Mon, 14 Aug 2017 07:08:14 +0000 (12:38 +0530)]
Enable  tpkts_processed counter in acl

JIRA: SAMPLEVNF-72

Change-Id: Iadb3173c76306a48860313177f1b86e8410c7df3
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoMoving printf under cgnapt_dbg_print 65/39265/3
Deepak S [Mon, 14 Aug 2017 06:44:16 +0000 (12:14 +0530)]
Moving printf under cgnapt_dbg_print

JIRA: SAMPLEVNF-71

Change-Id: Ibcd70008e1657eaa0b2f95aac319483490c290aa
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agovFW: Updating config and script files of vFW 97/37997/7
Anand B Jyoti [Mon, 24 Jul 2017 04:56:39 +0000 (10:26 +0530)]
vFW: Updating config and script files of vFW

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>
6 years agoAdding cmdline parameters to run setup script in intreactive and non-interative 55/38455/1
Deepak S [Mon, 31 Jul 2017 08:31:38 +0000 (14:01 +0530)]
Adding cmdline parameters to run setup script in intreactive and non-interative

Change-Id: I13baedf530a2f3a8bd92bbe8cabf96ae42596bd7
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agovnf_common: Correcting the max number of ports supported 45/38345/1
Anand B Jyoti [Fri, 28 Jul 2017 07:28:04 +0000 (12:58 +0530)]
vnf_common: Correcting the max number of ports supported

JIRA: SAMPLEVNF-69

Causing memory corruption due to wrong value.
Correcting to 64 from 16.

Change-Id: I0a6634398fd6f0f1e56aab63c88a48c97586d9d4
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agoMoving the current docs to userguide 07/38207/1
Deepak S [Wed, 26 Jul 2017 15:53:14 +0000 (08:53 -0700)]
Moving the current docs to userguide

Change-Id: I500d70b7ed2a17e21548a27810ac7e51e44b7841
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years ago[common] fixing compiler warnings 75/37975/1
Vishwesh M Rudramuni [Sun, 23 Jul 2017 22:53:58 +0000 (04:23 +0530)]
[common] fixing compiler warnings

patch fixes some compiler warnings

Change-Id: If1f96b23243d556c69ebd390a4fd3313bc50bb57
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
6 years agoTXRX: Initialize the debug flag to disable by default 13/37913/1
Anand B Jyoti [Fri, 21 Jul 2017 02:59:22 +0000 (08:29 +0530)]
TXRX: Initialize the debug flag to disable by default

JIRA: SAMPLEVNF-66

The un-initialized global variable some time floods with debug
prints.

This patch inializes the variable to disable debug prints by
default.

Change-Id: I207a7dd1e85c19d3c10e935321b2fe39a46a5f59
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agoMerge "VNFs: Correcting the fdir mode for SWLB and HWLB"
Deepak S [Fri, 21 Jul 2017 09:59:39 +0000 (09:59 +0000)]
Merge "VNFs: Correcting the fdir mode for SWLB and HWLB"

6 years agoMerge "[common] Adding route entry command to cmdline"
Deepak S [Fri, 21 Jul 2017 08:11:15 +0000 (08:11 +0000)]
Merge "[common] Adding route entry command to cmdline"

6 years agoMerge "VNF_Catalogue Codebase"
Deepak S [Fri, 21 Jul 2017 06:20:45 +0000 (06:20 +0000)]
Merge "VNF_Catalogue Codebase"

6 years agoVNF_Catalogue Codebase 95/36695/4
Kumar Rishabh [Thu, 29 Jun 2017 06:24:06 +0000 (11:54 +0530)]
VNF_Catalogue Codebase

Catalogue of Open Source VNFs consist in helping the end users to get
information of the VNF we can deploy on top of an OPNFV solution

[Deepak]: Removed all swp files.

Change-Id: Ib2ea7330e964f1b684f32aedf631accd580df968
Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoVNFs: Correcting the fdir mode for SWLB and HWLB 63/37863/4
Anand B Jyoti [Thu, 20 Jul 2017 06:19:26 +0000 (11:49 +0530)]
VNFs: Correcting the fdir mode for SWLB and HWLB

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>
6 years ago[common] Adding route entry command to cmdline 99/37899/2
Vishwesh M Rudramuni [Thu, 20 Jul 2017 22:32:10 +0000 (04:02 +0530)]
[common] Adding route entry command to cmdline

JIRA: SAMPLEVNF-65

This patch adds routeadd command to cmdline for ipv4 & ipv6

Change-Id: I452b414c1e42b4de74eaea06339db83a0f20e7d8
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
6 years agoMerge "[l2l3 stack] implements new nd state machine & nd buffering"
Deepak S [Thu, 20 Jul 2017 11:22:33 +0000 (11:22 +0000)]
Merge "[l2l3 stack] implements new nd state machine & nd buffering"

6 years agoMerge "[l2l3 stack] implements new arp state machine & arp buffering"
Deepak S [Thu, 20 Jul 2017 11:22:20 +0000 (11:22 +0000)]
Merge "[l2l3 stack] implements new arp state machine & arp buffering"

6 years agoAdding required pre-requites libs to build prox VNF 63/37763/1
Deepak S [Wed, 19 Jul 2017 07:50:40 +0000 (00:50 -0700)]
Adding required pre-requites libs to build prox VNF

JIRA: SAMPLEVNF-63

Change-Id: Ib744de1486e5a757fce412f0ba0586ad152deb5a
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years ago[l2l3 stack] implements new nd state machine & nd buffering 13/35913/6
Vishwesh M Rudramuni [Wed, 7 Jun 2017 21:23:22 +0000 (02:53 +0530)]
[l2l3 stack] implements new nd state machine & nd buffering

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>
6 years agoMerge "Documentation Compliance for Euphrates - Adding template"
Deepak S [Mon, 17 Jul 2017 09:53:00 +0000 (09:53 +0000)]
Merge "Documentation Compliance for Euphrates - Adding template"

6 years agoMerge "docs: Update install and release docs for DPDK migration support"
Deepak S [Mon, 17 Jul 2017 09:46:42 +0000 (09:46 +0000)]
Merge "docs: Update install and release docs for DPDK migration support"

6 years agoDocumentation Compliance for Euphrates - Adding template 89/37589/2
Deepak S [Mon, 17 Jul 2017 03:14:26 +0000 (20:14 -0700)]
Documentation Compliance for Euphrates - Adding template

JIRA: SAMPLEVNF-57

Change-Id: Iccbbe17fb06044af9a53d3207b0ee7679b57ce66
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoMerge "[UDP_Replay] fixing of compiler warning"
Deepak S [Mon, 17 Jul 2017 04:27:05 +0000 (04:27 +0000)]
Merge "[UDP_Replay] fixing of compiler warning"

6 years ago[UDP_Replay] fixing of compiler warning 91/37591/1
Vishwesh M Rudramuni [Sun, 16 Jul 2017 20:16:37 +0000 (01:46 +0530)]
[UDP_Replay] fixing of compiler warning

removes the nb_lcores as its no longer used.

Change-Id: I13020585afb6d1e0758f1efc6578740dd3502d72
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
6 years agoAdding dpdk version for non-interactive vnf_build options. 07/37507/1
Deepak S [Fri, 14 Jul 2017 04:47:16 +0000 (21:47 -0700)]
Adding dpdk version for non-interactive vnf_build options.

Change-Id: I95c6778fd216c6f7e3eee97c83f93726bb4298d0
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoAdding PROX(Packet pROcessing eXecution engine) VNF to sampleVNF 05/37505/1
Deepak S [Fri, 14 Jul 2017 04:26:50 +0000 (21:26 -0700)]
Adding PROX(Packet pROcessing eXecution engine) VNF to sampleVNF

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>
6 years agodocs: Update install and release docs for DPDK migration support 09/36909/9
Anand B Jyoti [Tue, 4 Jul 2017 04:56:39 +0000 (10:26 +0530)]
docs: Update install and release docs for DPDK migration support

JIRA: SAMPLEVNF-48

Updating INSTALL.rst and RELEASE_NOTES.rst for DPDK migration
support. The additional files are created to make it as per the
opnfv document standard to generate the html files.

Change-Id: I4b0af4c3afeef91fc806285b02c0ce47d61ebfbd
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agoMerge "tools: Support multiple version of DPDK build"
Deepak S [Fri, 14 Jul 2017 06:23:23 +0000 (06:23 +0000)]
Merge "tools: Support multiple version of DPDK build"

6 years agoMerge "UDP_Replay: rte_hash_lookup_multi renamed to rte_hash_lookup_bulk"
Deepak S [Fri, 14 Jul 2017 06:22:42 +0000 (06:22 +0000)]
Merge "UDP_Replay: rte_hash_lookup_multi renamed to rte_hash_lookup_bulk"

6 years agoMerge "vCGNAPT: correcting to use default rte_ring_dequeue"
Deepak S [Fri, 14 Jul 2017 06:22:14 +0000 (06:22 +0000)]
Merge "vCGNAPT: correcting to use default rte_ring_dequeue"

6 years agoMerge "VNFs: rte_eth_dev is deprecated in DPDK version 16.11 and onwards"
Deepak S [Fri, 14 Jul 2017 06:21:46 +0000 (06:21 +0000)]
Merge "VNFs: rte_eth_dev is deprecated in DPDK version 16.11 and onwards"

6 years agoMerge changes Iefe947a9,I49ae9b19
Deepak S [Fri, 14 Jul 2017 06:20:42 +0000 (06:20 +0000)]
Merge changes Iefe947a9,I49ae9b19

* changes:
  vFW: ARPICMP packets shouldn't be processed by vFW
  vFW: Remove TTL decrementing in firewall acting as gateway

6 years agoVNFs: Correcting default traffic_type to IPv4 89/37489/3
Anand B Jyoti [Fri, 14 Jul 2017 01:54:40 +0000 (07:24 +0530)]
VNFs: Correcting default traffic_type to IPv4

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>
6 years ago[UDP_Replay] adding Makefile for dynamic arp 97/37497/1
Vishwesh M Rudramuni [Fri, 14 Jul 2017 02:58:09 +0000 (08:28 +0530)]
[UDP_Replay] adding Makefile for dynamic arp

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>
6 years agoMerge "vFW: Remove unused pkt_type parameter from example cfg files"
Deepak S [Fri, 14 Jul 2017 08:26:24 +0000 (08:26 +0000)]
Merge "vFW: Remove unused pkt_type parameter from example cfg files"

6 years ago[UDP_Replay] Adding the dynamic arp support 63/35863/2
Vishwesh M Rudramuni [Wed, 7 Jun 2017 02:09:25 +0000 (07:39 +0530)]
[UDP_Replay] Adding the dynamic arp support

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>
6 years ago[l2l3 stack] implements new arp state machine & arp buffering 01/35501/6
Vishwesh M Rudramuni [Mon, 5 Jun 2017 22:41:25 +0000 (04:11 +0530)]
[l2l3 stack] implements new arp state machine & arp buffering

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>
6 years agovFW: Remove unused pkt_type parameter from example cfg files 75/37475/1
Anand B Jyoti [Thu, 13 Jul 2017 23:56:49 +0000 (05:26 +0530)]
vFW: Remove unused pkt_type parameter from example cfg files

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>
6 years agovFW: ARPICMP packets shouldn't be processed by vFW 53/37253/1
Anand B Jyoti [Wed, 12 Jul 2017 02:42:31 +0000 (08:12 +0530)]
vFW: ARPICMP packets shouldn't be processed by vFW

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>
6 years agovFW: Remove TTL decrementing in firewall acting as gateway 49/37249/3
Anand B Jyoti [Tue, 11 Jul 2017 22:55:16 +0000 (04:25 +0530)]
vFW: Remove TTL decrementing in firewall acting as gateway

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>
6 years agol2l3_stack: Remove the build folder from l2l3_stack 95/36795/1
Anand B Jyoti [Fri, 30 Jun 2017 03:51:58 +0000 (09:21 +0530)]
l2l3_stack: Remove the build folder from l2l3_stack

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>
6 years agoMerge "tools: Adding patches for disabling the DEBUG logs in DPDK" v1.0.1
Deepak S [Tue, 27 Jun 2017 04:06:17 +0000 (04:06 +0000)]
Merge "tools: Adding patches for disabling the DEBUG logs in DPDK"

6 years agoMerge "dpdk: Disable DEBUG logs by default in DPDK libraries"
Deepak S [Tue, 27 Jun 2017 04:06:08 +0000 (04:06 +0000)]
Merge "dpdk: Disable DEBUG logs by default in DPDK libraries"

6 years agoMerge "dpdk: Disable debug logs in ACL rte_table_acl_build"
Deepak S [Tue, 27 Jun 2017 04:05:57 +0000 (04:05 +0000)]
Merge "dpdk: Disable debug logs in ACL rte_table_acl_build"

6 years agoMerge "conntrack: timer reset in reply traffic causes performance impact"
Deepak S [Tue, 27 Jun 2017 04:05:46 +0000 (04:05 +0000)]
Merge "conntrack: timer reset in reply traffic causes performance impact"

6 years agoMerge "conntrack: Fix to avoid duplicate connections in initial burst"
Deepak S [Tue, 27 Jun 2017 04:05:24 +0000 (04:05 +0000)]
Merge "conntrack: Fix to avoid duplicate connections in initial burst"

6 years agotools: Support multiple version of DPDK build 47/35947/2
Anand B Jyoti [Fri, 9 Jun 2017 05:44:48 +0000 (11:14 +0530)]
tools: Support multiple version of DPDK build

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>
6 years agoUDP_Replay: rte_hash_lookup_multi renamed to rte_hash_lookup_bulk 75/35775/5
Anand B Jyoti [Sun, 4 Jun 2017 23:37:44 +0000 (05:07 +0530)]
UDP_Replay: rte_hash_lookup_multi renamed to rte_hash_lookup_bulk

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>
6 years agovCGNAPT: correcting to use default rte_ring_dequeue 23/35723/4
Anand B Jyoti [Fri, 2 Jun 2017 05:07:48 +0000 (10:37 +0530)]
vCGNAPT: correcting to use default rte_ring_dequeue

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>
6 years agoVNFs: rte_eth_dev is deprecated in DPDK version 16.11 and onwards 15/35515/4
Anand B Jyoti [Mon, 29 May 2017 22:04:44 +0000 (03:34 +0530)]
VNFs: rte_eth_dev is deprecated in DPDK version 16.11 and onwards

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>
6 years agotools: Adding patches for disabling the DEBUG logs in DPDK 87/36487/1
Anand B Jyoti [Mon, 26 Jun 2017 00:21:27 +0000 (05:51 +0530)]
tools: Adding patches for disabling the DEBUG logs in DPDK

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>
6 years agodpdk: Disable DEBUG logs by default in DPDK libraries 85/36485/1
Anand B Jyoti [Mon, 26 Jun 2017 00:12:50 +0000 (05:42 +0530)]
dpdk: Disable DEBUG logs by default in DPDK libraries

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>
6 years agodpdk: Disable debug logs in ACL rte_table_acl_build 83/36483/1
Anand B Jyoti [Mon, 26 Jun 2017 00:01:13 +0000 (05:31 +0530)]
dpdk: Disable debug logs in ACL rte_table_acl_build

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>
6 years agoconntrack: timer reset in reply traffic causes performance impact 19/36419/1
Anand B Jyoti [Fri, 23 Jun 2017 06:09:08 +0000 (11:39 +0530)]
conntrack: timer reset in reply traffic causes performance impact

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>
6 years agoconntrack: Fix to avoid duplicate connections in initial burst 79/36379/1
Anand B Jyoti [Thu, 22 Jun 2017 06:39:52 +0000 (12:09 +0530)]
conntrack: Fix to avoid duplicate connections in initial burst

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>
6 years agovFW: Increase max number of VFW instances from 12 to 24 47/36347/2
Anand B Jyoti [Wed, 21 Jun 2017 20:56:55 +0000 (02:26 +0530)]
vFW: Increase max number of VFW instances from 12 to 24

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>
6 years agoMerge "vCGNAPT: remove unused function and a patch"
Deepak S [Thu, 22 Jun 2017 01:26:34 +0000 (01:26 +0000)]
Merge "vCGNAPT: remove unused function and a patch"

6 years agoAdding Sample vCGNAPT config to run with multi-port pair 35/36135/3 v1.0.0
Deepak S [Fri, 16 Jun 2017 06:23:29 +0000 (23:23 -0700)]
Adding Sample vCGNAPT config to run with multi-port pair

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>
6 years agovCGNAPT: remove unused function and a patch 87/35787/2
Anand B Jyoti [Mon, 5 Jun 2017 03:04:23 +0000 (08:34 +0530)]
vCGNAPT: remove unused function and a patch

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>
6 years agoAdding timer dyn timeout config in timer profile. 41/35741/2
Deepak S [Fri, 2 Jun 2017 06:55:53 +0000 (12:25 +0530)]
Adding timer dyn timeout config in timer profile.

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>
6 years agoSet rxq and txq to same value to enable to run UDP replay on single thread 15/35815/1
Deepak S [Tue, 6 Jun 2017 08:24:48 +0000 (08:24 +0000)]
Set rxq and txq to same value to enable to run UDP replay on single thread

Change-Id: Iee26005d5e90a7481f6e6fb3c7441a2011fe5596
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoEnable UDP_replay on OVS deployment 45/35745/1
Deepak S [Fri, 2 Jun 2017 07:08:02 +0000 (12:38 +0530)]
Enable UDP_replay on OVS deployment

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>
6 years agoAdding UDP Replay VNF without arp support 39/35739/1
Deepak S [Fri, 2 Jun 2017 06:03:23 +0000 (11:33 +0530)]
Adding UDP Replay VNF without arp support

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>
6 years agoRevert "[SAMPLEVNF] Adding UDP Replay VNF" 37/35737/1
Deepak S [Thu, 1 Jun 2017 23:16:35 +0000 (04:46 +0530)]
Revert "[SAMPLEVNF] Adding UDP Replay VNF"

This reverts commit 1b0802cbf10ac4d8911f0916d4ba0b02010924c8.

Change-Id: Ic2bb69125d0d849b260475026a1088911d2d7109
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoRevert "[BUG]: Fix segfault while sending the packets back" 35/35735/1
Deepak S [Thu, 1 Jun 2017 23:16:10 +0000 (04:46 +0530)]
Revert "[BUG]: Fix segfault while sending the packets back"

This reverts commit b04a6e5dacc458f81097c9b8a172dcbf16d8fd50.

Change-Id: Icb9a4ddea607c9dd9324a413407c266e8f6106f0
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoCT: Perf optimization through prefetch and condition checks in CT 33/34433/3
Anand B Jyoti [Mon, 8 May 2017 05:34:07 +0000 (11:04 +0530)]
CT: Perf optimization through prefetch and condition checks in CT

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>
6 years ago[BUG]: Fix segfault while sending the packets back 35/35635/1
Deepak S [Thu, 1 Jun 2017 08:04:42 +0000 (08:04 +0000)]
[BUG]: Fix segfault while sending the packets back

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>
6 years agoMerge "[SAMPLEVNF] Adding support to handle more than 16 ports"
Deepak S [Thu, 1 Jun 2017 04:46:31 +0000 (04:46 +0000)]
Merge "[SAMPLEVNF] Adding support to handle more than 16 ports"

6 years ago[SAMPLEVNF] Adding support to handle more than 16 ports 71/35571/2
Deepak S [Wed, 31 May 2017 12:56:50 +0000 (12:56 +0000)]
[SAMPLEVNF] Adding support to handle more than 16 ports

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>
6 years agoMerge "acl_lib: remove unused dualstack code from acl library"
Deepak S [Wed, 31 May 2017 18:13:40 +0000 (18:13 +0000)]
Merge "acl_lib: remove unused dualstack code from acl library"

6 years agoMerge "vFW: remove unused dualstack support code"
Deepak S [Wed, 31 May 2017 18:13:35 +0000 (18:13 +0000)]
Merge "vFW: remove unused dualstack support code"

6 years agoMerge "vFW: Clear the pkt drop count for unsupported type in clearstats cmd"
Deepak S [Wed, 31 May 2017 18:11:54 +0000 (18:11 +0000)]
Merge "vFW: Clear the pkt drop count for unsupported type in clearstats cmd"

6 years agoIf port configuration fails. Try again after disabling TX OFFLOAD 39/35539/1
Deepak S [Sat, 13 May 2017 08:16:51 +0000 (10:16 +0200)]
If port configuration fails. Try again after disabling TX OFFLOAD

Change-Id: I5eaf64a0cac8747ba5ac79bfd036a77cee766e39
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years ago[SAMPLEVNF] Adding UDP Replay VNF 07/35407/3
Vishwesh M Rudramuni [Fri, 26 May 2017 05:41:15 +0000 (11:11 +0530)]
[SAMPLEVNF] Adding UDP Replay VNF

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>
7 years agoAdding http proxy setup for non-intractive build 27/35027/1
Deepak S [Fri, 19 May 2017 06:00:31 +0000 (23:00 -0700)]
Adding http proxy setup for non-intractive build

Change-Id: I9a3137f60b83c88b16027a9e6c404ccc3673b820
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
7 years agoAdding support to build the vnfs without user intervention 23/35023/2
Deepak S [Thu, 18 May 2017 22:00:13 +0000 (03:30 +0530)]
Adding support to build the vnfs without user intervention

./tools/vnf_build.sh --silient

Change-Id: I50ecdc263a732d1ed823202107e49ffaa739e9b4
Signed-off-by: Deepak S <deepak.s@linux.intel.com>