summaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp/control.c
AgeCommit message (Collapse)AuthorFilesLines
2017-09-04LISP: re-fetch mapping before it expiresFilip Tehlar1-111/+211
Change-Id: I0581a1bddad55d8d573c546ec84b0b2760abab3d Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-08-10Fix LISP cp buffer leakageFlorin Coras1-1/+3
Change-Id: Id7e0f967cc510f0b45f043f74493854083ac67ae Signed-off-by: Florin Coras <fcoras@cisco.com>
2017-08-07LISP: Map-server fallback featureFilip Tehlar1-56/+172
Change-Id: I1356296e1a85b5d532f45ba70572b2184ac3f6fb Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-08-02LISP: make TTL for map register messages configurableFilip Tehlar1-0/+16
Change-Id: I38e1c6a6b033e12ef3f4345a1deff73fa4adbea0 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-08-02Make ip csum configurable in vlib buffer functionsFlorin Coras1-4/+5
Also fixes csum computation for lisp control plane 4o6 encapsulated control messages. Change-Id: I991e0b5c0d16dc51e0b5bdc79e1d752270b34765 Signed-off-by: Florin Coras <fcoras@cisco.com>
2017-07-14Introduce l{2,3,4}_hdr_offset fields in the buffer metadataDamjan Marion1-1/+1
To save space in the first cacheline following is changed: - total_length_not_including_first_buffer moved to the 2nd cacheline. This field is used only when VLIB_BUFFER_TOTAL_LENGTH_VALID and VLIB_BUFFER_NEXT_PRESENT are both set. - free_list_index is now stored in 4bits inside flags, which allows up to 16 free lists. In case we need more we can store index in the 2nd cachelin Change-Id: Ic8521350819391af470d31d3fa1013e67ecb7681 Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-06-17Fix map-notify processing with multiple workersFlorin Coras1-6/+33
Change-Id: Id160346ebf533ee5f55bd735803624a75ed997b9 Signed-off-by: Florin Coras <fcoras@cisco.com>
2017-06-08LISP: add NSH supportFilip Tehlar1-12/+127
Change-Id: I971c110ed126f1a24a963f9d3b88cf8f8c308816 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-06-06Fix lisp map-notify parsingFlorin Coras1-0/+1
Change-Id: Ib22ffee3d8ac63af171d032c2ffcb44a2e42400c Signed-off-by: Florin Coras <fcoras@cisco.com>
2017-05-30LISP: L2 ARP handlingFilip Tehlar1-29/+203
Change-Id: I1ec328cda73f7eaf7867cd8a2a17852ee0cd23f1 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-05-04Fix coverity issueFilip Tehlar1-0/+2
Change-Id: I8110b2a1d7bf8a818c7e9b6f95c3f60324e8ccab Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-05-04LISP: group mapping records in map-register messageFilip Tehlar1-6/+19
Change-Id: I546c761acfbf880717163a035aa691b04337b7bf Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-05-03Fix vnet unit testsFilip Tehlar1-8/+6
Change-Id: Ibe55e4399c6b78d83268d7c49ed498cab7bfdb43 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-04-27LISP: fix deleting of locators, VPP-713Filip Tehlar1-0/+4
Change-Id: I4a2d24b7124dc9afaf81f29e06e43235a103a320 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-04-25LISP: clean DP when deleting locators in useFilip Tehlar1-14/+76
Change-Id: Ia8736916bf59006bc581fe477db51ddd6bcc15e5 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-04-13LISP: make statistics thread safeFilip Tehlar1-6/+15
Change-Id: I056dc6246f79d887d69ad459a6b8b3092a099baa Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-04-05LISP: fix crash when GPE interface is re-added, VPP-685Filip Tehlar1-3/+3
Change-Id: Ib83baf6ddec4ac192f6b4123d9eb599fb370fd0c Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-03-22LISP: improve DP speedFilip Tehlar1-0/+1
Change-Id: I5bd0721b70dfc240fa9225df3704774f6b0ede81 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-03-21LISP statisticsFilip Tehlar1-11/+61
Change-Id: I399cac46d279e020ba33459ef759d9d29d3ac716 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-03-10VPP-608 Fix LISP warningFlorin Coras1-0/+1
Change-Id: Iaa4fb2bc2230c1a99c518a37039cd91648dc19c0 Signed-off-by: Florin Coras <fcoras@cisco.com>
2017-03-08LISP: add stats API/CLIFilip Tehlar1-0/+23
Change-Id: I5c5b4d680359cf3635c2d7b0088ea2ba6a428f93 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-02-20LISP: don't show PITR generated mapping in dump callFilip Tehlar1-0/+1
Change-Id: Iecba818ccf74a4d34e35d498e6f6a1d3c62419f4 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-02-16LISP: minor enhacementsFilip Tehlar1-13/+13
* use RLOC for IP version detection * don't check whether RLOC is local when deleting Change-Id: Icdb84025dd5511eb5348b654bf7b373def15406c Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-02-13Basic support for LISP-GPE encapsulated NSH packetsFlorin Coras1-0/+32
Change-Id: I97fedb0f70dd18ed9bbe985407cc5fe714e8a2e2 Signed-off-by: Florin Coras <fcoras@cisco.com>
2017-02-07LISP: reject remote mappings that have as locators local IPsFilip Tehlar1-0/+27
Change-Id: Ifaf46554e45557ebf82009d9c46a9e905a46f884 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-01-30Fix LISP Coverity warningsFlorin Coras1-0/+1
Change-Id: Iaca2ff453872e638ee83b11fc16472e44deb9a7e Signed-off-by: Florin Coras <fcoras@cisco.com>
2017-01-26Add option to use LISP Proxy-ETRFlorin Coras1-36/+117
When enabled, destinations with negative mappings or those not reachable via underlay have their traffic forwarded to the PETR. Change-Id: I1056b0959736144f27fcca7b79263f921e7a8bd9 Signed-off-by: Florin Coras <fcoras@cisco.com>
2017-01-25Move LISP cp cli to separate fileFlorin Coras1-1414/+36
Change-Id: I24355c71606c047e474b2541bb274e3d183fee85 Signed-off-by: Florin Coras <fcoras@cisco.com>
2017-01-23LISP: add RLOC and map-notify countersFilip Tehlar1-20/+97
Change-Id: Ie6dd9521507cd4731f1bad99c50238310238914f Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-01-16LISP: Enhance IPx offset computingFilip Tehlar1-31/+32
Change-Id: I0ccb0db73bcf4e2a282cabd4ebbe49599fa8ee7c Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-01-10Fix LISP Coverity warningFlorin Coras1-1/+1
Change-Id: Idf58a62a5ec47bcf52ae36d00d2844a3db72273b Signed-off-by: Florin Coras <fcoras@cisco.com>
2017-01-04LISP: make data plane programming thread safeFilip Tehlar1-1/+30
Change-Id: I4b949e606fa3969d4c03dc6e753a2546be6329cf Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-01-03LISP: fix fwd entry additionFilip Tehlar1-1/+1
Change-Id: Ibdc9ad21cc53cf0a6d571a3f913038d61d9282a1 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2016-12-28Reorganize source tree to use single autotools instanceDamjan Marion1-0/+4950
Change-Id: I7b51f88292e057c6443b12224486f2d0c9f8ae23 Signed-off-by: Damjan Marion <damarion@cisco.com>