summaryrefslogtreecommitdiffstats
path: root/VNFs/vFW
AgeCommit message (Collapse)AuthorFilesLines
2017-10-17Rest API: Fix all the bugs in the HWLB, mask issue, etcDeepak S1-3/+2
Change-Id: I0f593c3e676407ca01d34792ef8309cf37f4c686 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-06VNFs: Fixing klocwork issue in VNFs codeAnand B Jyoti2-4/+68
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-04REST_API: rest api client implementationVishwesh M Rudramuni6-1/+601
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-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-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 Jyoti1-2/+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-659/+117
2017-07-20Merge "[l2l3 stack] implements new arp state machine & arp buffering"Deepak S2-130/+124
2017-07-18[l2l3 stack] implements new nd state machine & nd bufferingVishwesh M Rudramuni1-659/+117
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 Jyoti1-2/+2
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 Rudramuni2-130/+124
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-14Merge "VNFs: rte_eth_dev is deprecated in DPDK version 16.11 and onwards"Deepak S1-3/+8
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-27VNFs: rte_eth_dev is deprecated in DPDK version 16.11 and onwardsAnand B Jyoti1-3/+8
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-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 S1-2/+8
Change-Id: I5eaf64a0cac8747ba5ac79bfd036a77cee766e39 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-05-12vFW: remove unused dualstack support codeAnand B Jyoti1-660/+1
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. This patch removes this unused/unsupported code from the vFW. Change-Id: Iefea5a6ed8c9454be9807eb1796908aec7bfc199 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-05-12vFW: Clear the pkt drop count for unsupported type in clearstats cmdAnand B Jyoti1-0/+1
JIRA: SAMPLEVNF-13 The packets drop counter of unsupported type was not cleared during clearstats command of the vFW. This patch adds the fix to clear the pkt_drop_unsupported_type at the clearstats cmd. Change-Id: I07d2c85a288efbc5e1fa6cee84c2ffe12e9673f4 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-04-19vFW: Adding Virtual Firewall VNFAnand B Jyoti31-0/+12530
JIRA: SAMPLEVNF-4 vFW supports following features: - Basic packet filtering (malformed packets, IP fragments) - Connection tracking for TCP and UDP - Access Control List for rule based policy enforcement - SYN-flood protection via Synproxy* for TCP - UDP, TCP and ICMP protocol pass-through - CLI based enable/disable connection tracking, synproxy, basic packet filtering - Hardware and Software Load Balancing - L2L3 stack support for ARP/ICMP handling - Multithread support - Multiple physical port support Change-Id: I96d28858488ed8764370d161975bc1e0557c8b20 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com> [Push patch to gerrit] Signed-off-by: Deepak S <deepak.s@linux.intel.com>