summaryrefslogtreecommitdiffstats
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
2017-07-18[l2l3 stack] implements new nd state machine & nd bufferingVishwesh M Rudramuni12-760/+748
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-14[l2l3 stack] implements new arp state machine & arp bufferingVishwesh M Rudramuni10-2999/+684
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-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 "conntrack: timer reset in reply traffic causes performance impact"Deepak S1-1/+4
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-15Adding Sample vCGNAPT config to run with multi-port pairv1.0.0Deepak S1-250740/+0
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-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-01Merge "[SAMPLEVNF] Adding support to handle more than 16 ports"Deepak S7-17/+250853
2017-06-01[SAMPLEVNF] Adding support to handle more than 16 portsDeepak S7-17/+250853
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-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>
2017-04-21BUGFix: Allow the vCGNAPT compile without FTP/SIP functionalityDeepak S1-1/+4
JIRA: SAMPLEVNF-7 Change-Id: Ia5d0729cc3959b9b4cf1e0cb356758adf83e5d83 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-04-18common: Adding common library for sample vnfVishwesh M Rudramuni78-0/+42324
JIRA: SAMPLEVNF-3 This patch adds common libraries required as part of the sample vnf. This includes the following libraries 1. ACL library 2. SIP 3. FTP 4. Connection tracker 5. L2l3 stack - Interface Manager - ARP & ICMPv4 - ND & ICMPv6 and other common libraries needed for ip pipeline framework Change-Id: I117690b6b63fbcd76974cd7274518484e60980ab Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com> [Push patch to gerrit] Signed-off-by: Deepak S <deepak.s@linux.intel.com>