aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-plugin
AgeCommit message (Collapse)AuthorFilesLines
2019-05-19[HICN-197] Reworked PIT/CS entry initialization to correctly initialize it ↵Alberto Compagno2-1/+9
when data are pushed to the CS from a local application. Change-Id: I64a2bab413e74460b048f7c716630d9fcd5200cc Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-05-16[HICN-197] Fixed missing deallocation when data was pushed from a local ↵Alberto Compagno1-2/+4
application Change-Id: I9f7d8bf0ffbebd43ee82112407da39473fa2ad7c Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-05-10[HICN-193] Fixed faceid convertion from network to host orderAlberto Compagno1-1/+1
Change-Id: Idf28a2ae624231481b03556665a7360388229c8a Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-05-07[HICN-181] Added round robin strategyAlberto Compagno9-6/+659
Change-Id: I301ffaeed6f43b7db6701810167f02947439d20c Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-05-07[HICN-189] In case the adj is not complete, we look if a better one exists ↵Alberto Compagno6-74/+195
and we follow the new adjacency. The adj in the face is updated accordingly. Change-Id: Ieb5c02ee66146475d54ee99a77fc795c9bdf3130 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-05-03[HICN-186] Dependencies on the deb packages do not reflect the new packaging ↵Alberto Compagno1-1/+1
of vpp 19.04. fixed Change-Id: I85b9ca07778b4826d72c4eaa92f23ae24a626638 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-05-03[HICN-180] Updating plugin to run on vpp 19.04Alberto Compagno5-41/+22
Change-Id: I23d44747edf65b9cbf1cd7cb174541dce55152aa Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-04-18[HICN-179] Increased size of vector that holds the counters to the right size.Alberto Compagno1-1/+3
Change-Id: I054754ff722106a5be45324c1ace25447deeef2c Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-04-11[HICN-176] Fixed bitmap size in pit entry and added static assert to avoid ↵Alberto Compagno7-166/+34
misconfiguration of parameters in param.h Change-Id: Ia64eaebe267f87bd5f93abf3e5a9e80bab735765 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-04-03Merge "[HICN-166] Assign a /127 or a /31 ip6/4 address to the memif used to ↵Mauro Sardara1-16/+24
create a producer face"
2019-04-03[HICN-166] Assign a /127 or a /31 ip6/4 address to the memif used to create ↵Alberto Compagno1-16/+24
a producer face Change-Id: Ic1d72ed2046549cd575cefec0303ae2c78c96322 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-04-03[HICN-162] Resolved warning about version comparison when installing ↵Mauro Sardara1-1/+1
hicn-plugin from deb Change-Id: Ia4e6efccbff78fa9fd352f3f9b516d627fa1ff58 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-04-03[HICN-161] Fixed bug that prevents to create an ip face when the code is ↵Alberto Compagno1-4/+4
compiled with -O3 Change-Id: I2dca28f02867a2de92a9bb92183c2c2d0b2fc055 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-04-02[HICN-160] Bug in the command parsing that prevented to correctly parse the ↵Alberto Compagno1-5/+6
command hicn face ip add Change-Id: I606fcc8c777124879659623749eb049c9e3929f9 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-04-02Merge "[HICN-158] Fixed ip face deletion from binary api"Mauro Sardara5-64/+66
2019-04-02[HICN-158] Fixed ip face deletion from binary apiAlberto Compagno5-64/+66
Change-Id: I7a793e3664e30f765861fd5153c99fecb47ce863 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-04-01Merge "[HICN-156] Ip face now support the remote address to be reachable ↵Mauro Sardara1-20/+28
through a "via" route."
2019-04-01[HICN-157] Fixed wrong host to network conversion of face id in ↵Alberto Compagno1-1/+1
hicn_face_ip_add binary api Change-Id: I498d798efe683ceff882496659764184f2733e9d Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-04-01[HICN-156] Ip face now support the remote address to be reachable through a ↵Alberto Compagno1-20/+28
"via" route. Change-Id: Ic5e217ea997e8e86db1c21371839dfde03c641cf Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-03-29[HICN-151] The source address in the IP face is optional. If not provided it ↵Alberto Compagno4-15/+119
will be used one of the ip addresses available in the interface Change-Id: If800a07c0a61cde9152efdee01dd6ae9b12615dc Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-03-27[HICN-150] Fixed punting to classify packets from current_data instead of ↵Alberto Compagno4-71/+98
from data Change-Id: I448b13430dc00ea47b928092249fb9ca88ceba0e Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-03-23[HICN-139] Exporting per-face statistics through the binary api.Alberto Compagno3-1/+185
Change-Id: I253fb788fec527360876064b22ab54620eb2c615 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-03-23[HICN-138] Added number of received/transmitted bytes and packets on each faceAlberto Compagno10-54/+372
Change-Id: Icfe9cd84bdc72afef3d714064e695d1abef368f5 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-03-20[HICN-132] Prevent to show interface details if the interface does not existAlberto Compagno2-63/+81
Change-Id: Id87483597b0259ed1b940948f2de7e2138ca97f9 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-03-14Merge "[HICN-113] Fix packaging system."Luca Muscariello1-2/+2
2019-03-14[HICN-113] Fix packaging system.Mauro Sardara1-2/+2
Change-Id: I779bfffedac5c593de9789b79218475ec4698c01 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-14Merge "[HICN-112] Fixed bug on dymanic udp face creation. Fixed ↵Mauro Sardara4-30/+41
visualization of udp faces with "hicn show" command"
2019-03-14[HICN-112] Fixed bug on dymanic udp face creation. Fixed visualization of ↵Alberto Compagno4-30/+41
udp faces with "hicn show" command Change-Id: I8d2898427b19abc707ac7a0c2942576f81094ef9 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-03-12[HICN-109] Added missing parameter to the face ip add binary api.Alberto Compagno5-45/+93
Added check if the swif exists on the face ip binary api, before calling the internal api to add the face. Change-Id: I6e23d20290755707194bc86c93baee8932a03c40 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-03-08[HICN-100] When the incoming face of a data is an application face, the data ↵Alberto Compagno5-3/+35
is always stored in the face CS (if any) Change-Id: I87e296caa57e04964f6f3971f37737d4c6e49c8f Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-03-06[HICN-93] Added documentation in the README.md about cli commands, ↵Alberto Compagno3-16/+199
configuration file and binary api. Added simple example with two vpp forwarders, client and server ping application Change-Id: I170500cd23c9a08b18ac902307a60e7558eb4ea0 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-03-04[HICN-87] Updated compilation instructions according to the latest changes ↵Alberto Compagno1-5/+5
made in CMakeList.txt Change-Id: I6c1b4dbf626a1d7db55da2e87cccf784637103ea Signed-off-by: Alberto Compagno <acompagn@cisco.com>
2019-02-22[HICN-74] Data with lifetime 0 are never cached in the CS. When such data is ↵Alberto Compagno4-46/+100
received the PIT entry is removed. If the data comes from the push node the data is dropped. Change-Id: I8780e16cca30ad8298f1a494f1138f8b35ae0fab Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-21[HICN-75] fixed forwarding issue in udp face and improved packet tracing to ↵Alberto Compagno5-35/+49
show the hicn name Change-Id: I74426c541324d66c2d1b0353afcca17c5aedceba Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-20[HICN-71]Alberto Compagno19-282/+469
- Handling the case in which a pushed data hit an existing pit entry (created after the data has gone through the data_pcslookup_node). In this case the data packet is forwarded to the data_fwd_node - Handling the case in which the hash table (in pcs) is full and it is not possible to allocate another bucket. In this case the packet is dropped. - Copying packets whose length is less than 128B. VPP prevents to create a chain of vlib_buffer where the first, or middle, vlib_buffer are holding less then 128B. [HICN-72] - Assign a /128 subnet to the producer app face. Change-Id: I6c19d6d127774a7f59ac69ac965d4bcd6a72becc Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-18[HICN-35] add vapiLuca Muscariello1-3/+28
Change-Id: I34dfeb05b2d2796129e68c3f38d73f1ec49699a1 Signed-off-by: Luca Muscariello <lumuscar+fdio@cisco.com>
2019-02-14- [HICN-65] Populating hash map of handler and crc in api_mainAlberto Compagno3-14/+39
- Added possibility to start the forwarder from binary api without setting any parameters - Changed pit lifetime values from seconds to milliseconds Change-Id: I83706f22ddd8e825c1021fe70d4bf52e1b929be8 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-12[HICN-54] Fixed udp face visualizationAlberto Compagno1-2/+2
Change-Id: Id6bb058bfb54e76ab08afae89db8cf489629f306 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-04[HICN-30] Removed wrong string that was appearing on the producer faceAlberto Compagno1-18/+2
Change-Id: Ifa215f861836e560995df7503d41ea5e9df42def Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-04[HICN-27] Removed libhicn dependency in hicn-plugin [deb/rpm] package.Mauro Sardara1-2/+2
Change-Id: I5e694e87c322d78b9f1d15d3811abc260f5d5d85 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-01[HICN-10] Compile libtransport with libmemif supportMauro Sardara1-2/+2
Change-Id: I81d1cb4d5f16a61c35f66fe347985f05d8c97383 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-01[HICN-10] Add support for building hicn-plugin packages. Do not build ↵Mauro Sardara1-2/+2
packages for components without name. Change-Id: I11eff1b9dc6e71e079baf65703192a7cbfb565e8 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-01-30[HICN-18] first commit of libtransport for windowsAngelo Mantellini93-0/+0
Change-Id: I3a43b22194aa13ae5de1746e3d4bd9a275070261 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-01-28[HICN-10] First version of build script.Mauro Sardara1-2/+2
Change-Id: Iaddb38e56280ddb6cddf3b2186a206c58fd45233 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-01-22[HICN-3] First version of packaging system based on cmake.Mauro Sardara2-7/+56
Change-Id: I576f84f4c12f932e17e9169f2c6ffdaed128ca10 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-01-19Improved performance on data-fwd node:Alberto Compagno22-116/+188
- Removed full pit entry initialization in favor of a lighter initialization on few fields - Squeezed pit entry size in order to store only the number of incomplete faces (as set in HICN_PARAM_PIT_ENTRY_PHOPS_MAX). The bitmap size is now determined by HICN_PARAM_FACES_MAX and optimized to do a fast lookup Replaced the field is_appface with the field flags in the hicn_buffer_t: - is_appface is now a flag with value 0x01 (HICN_BUFFER_FLAGS_FACE_IS_APP) - Added flag HICN_BUFFER_FLAGS_PKT_LESS_TWO_CL (0x02) to handle the copy of pkt with length < than 2*CACHE_LINES (in this case cloning is prevented by the cloning function in vpp). Such flag is initialized by the incoming face of the pkt. Change-Id: Ia956fd5719a28ee29f7fa2fd23d283964743efd8 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-01-17This is the first commit of the hicn projectv19.01Luca Muscariello93-0/+24765
Change-Id: I6f2544ad9b9f8891c88cc4bcce3cf19bd3cc863f Signed-off-by: Luca Muscariello <lumuscar+fdio@cisco.com>