summaryrefslogtreecommitdiffstats
path: root/common/VIL/l2l3_stack
AgeCommit message (Collapse)AuthorFilesLines
2017-10-16Fix compilation issue with older gccDeepak S1-2/+2
Change-Id: Ib7f67bff93ce531f66be31c3fbd63ecbb33a46d8 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-12arp: Config parameters longer than PIPELINE_MAX_ARGS chars ignoredAnand B Jyoti1-5/+0
JIRA: SAMPLEVNF-86 Due to this KW fix the arp pipeline is rejecting the commands greater than PIPELINE_MAX_ARGS size. This is seen in arp_route_tbl which can is becoming bigger in case of multi port setup. This patch undo the KW fix which is causing issue with longer parameters under ARPICMP pipeline. Change-Id: I96ba3882b5fecc6ac2f7b75f11a63083b847bba5 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-10-06common code: KW fixes for common codeVishwesh M Rudramuni2-23/+72
This patch fixes KW issues seen with the common code. Change-Id: I4f90369152345ea2ea9316b04ac946c0c69fd7d1 Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
2017-10-03l2l3_stack: fixing the arp_route_tbl/nd_route_tblVishwesh M Rudramuni1-65/+86
This patch adds the dest ip back into the parsing logic so that legacy usage is maintained intact. Change-Id: I1e479064d7b324d871d3d5f2c166de60165c3495 Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
2017-10-03common: arp_route_tbl entry is not workingAnand B Jyoti1-0/+2
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>
2017-09-27REST_API: rest api client implementationVishwesh M Rudramuni3-8/+37
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-27common: Changes to common code for gateway supportAnand B Jyoti2-354/+129
JIRA: SAMPLEVNF-58 Common code changes for gateway packet forwarding. Change-Id: Ie002c94b8febab9c0923e1bb261e5ea931cd4712 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
2017-08-14Moving printf under cgnapt_dbg_printDeepak S1-1/+2
JIRA: SAMPLEVNF-71 Change-Id: Ibcd70008e1657eaa0b2f95aac319483490c290aa Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-07-18[l2l3 stack] implements new nd state machine & nd bufferingVishwesh M Rudramuni6-464/+726
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 Rudramuni5-451/+631
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-01[SAMPLEVNF] Adding support to handle more than 16 portsDeepak S2-3/+51
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-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-04-18common: Adding common library for sample vnfVishwesh M Rudramuni24-0/+12332
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>