Commit Graph

  • 6f5cde1aff Add lcp_itf_pair_get_v2(), as it is used by sFlow plugin main Pim van Pelt 2024-11-02 13:52:13 +01:00
  • 61386a1c63 backport gerrit 40379 from upstream Pim van Pelt 2024-06-27 17:43:54 +02:00
  • 25b2999485 Backport https://gerrit.fd.io/r/c/vpp/+/40441 Pim van Pelt 2024-04-01 23:04:45 +02:00
  • cb78074e46 Fix logline tag Pim van Pelt 2024-03-23 10:03:13 +01:00
  • 0d864a71fe Update README.md Pim van Pelt 2024-03-09 12:21:21 +01:00
  • e19f45e29c Update README.md Pim van Pelt 2024-03-08 23:53:51 +01:00
  • a960d64a87 Add the ability to skip address sync on unnumbered interfaces Pim van Pelt 2024-03-05 22:59:15 +01:00
  • c8dc522fe9 Avoid creating a duplicate LIP Pim van Pelt 2024-03-05 18:26:43 +01:00
  • 4b9c556f08 Update README.md Pim van Pelt 2024-03-03 00:52:03 +01:00
  • 7e482adb4f Update README.md Pim van Pelt 2024-02-20 01:25:31 +01:00
  • 3ecbb0199e Backport gerrit 40142 from upstream Pim van Pelt 2024-02-09 11:08:07 +01:00
  • becf8fa759 Fix crash - vec_free() instead of free() Pim van Pelt 2024-02-09 00:14:18 +01:00
  • c3f294333f Merge pull request #9 from caizhengxin/main Pim van Pelt 2023-10-13 12:51:54 +02:00
  • ff3ce656c1 Fix delete segment error. jankincai 2023-08-11 14:31:25 +08:00
  • 6dbd2c1d7b Fixed the deletion segment error jankincai 2023-08-11 14:09:13 +08:00
  • 371715d08f Update README.md Pim van Pelt 2023-05-31 15:05:38 +02:00
  • 7b2a91f8dd Update README.md Pim van Pelt 2023-05-31 15:03:09 +02:00
  • 27595afc7e Merge pull request #7 from vifino/mpls Pim van Pelt 2023-05-31 13:14:18 +02:00
  • 153628a3de Basic MPLS support. Adrian Pistol 2023-05-30 21:25:26 +02:00
  • 8fc5631ef6 Run clang-format on all files. Adrian Pistol 2023-05-30 21:27:49 +02:00
  • 30a1fe2a3f Backport https://gerrit.fd.io/r/c/vpp/+/38633 Pim van Pelt 2023-05-26 09:54:13 +02:00
  • 529a11bb78 Fix ADD/REPLACE semantic for IPv4 and IPv6 routes: if NLM_F_REPLACE is set, call fib_table_entry_update(); otherwise call fib_table_entry_path_add2() Pim van Pelt 2023-05-21 09:11:05 +02:00
  • bc429011e8 Fix logging for https://gerrit.fd.io/r/c/vpp/+/38602 Pim van Pelt 2023-04-12 10:53:39 +02:00
  • bd3265b77f backport https://gerrit.fd.io/r/c/vpp/+/38602 Pim van Pelt 2023-04-12 10:52:40 +02:00
  • 9017d1bd3c Move back to multiple rx queues; and copy in the upstream change to autoassign a tap index ID, as the hw_if_index one could ba already taken (by tap create) Pim van Pelt 2023-04-06 23:36:36 +02:00
  • 6fe37f6a8d Revert change in e035203162 -- set RX/TX queues to 1 -- while hunting down a race condition Pim van Pelt 2023-02-05 11:34:12 +00:00
  • ccea08b95d Ensure the string is 0-terminated Pim van Pelt 2023-02-05 11:32:48 +00:00
  • 5e9f9ef218 Reduce route add/del message from INFO to DBG Pim van Pelt 2023-01-14 16:52:57 +00:00
  • 815a6e0dce Run VPP's checkstyle to reformat the code Pim van Pelt 2023-01-11 16:21:40 +00:00
  • e53d4376ab cleanup: Clean logging, consistent capitalization, nouns, and macro names Pim van Pelt 2023-01-11 16:18:18 +00:00
  • 2a218983d6 Print the network namespace that the listener was created/removed for, not the interface that caused it Pim van Pelt 2023-01-11 15:51:11 +00:00
  • 50c1e0f0d4 Backport gerrit.fd.io/r/c/vpp/+/37426 Pim van Pelt 2023-01-11 13:00:40 +00:00
  • 6faf206370 merge Pim van Pelt 2023-01-11 12:12:15 +00:00
  • 263ff9d02c Initialize var in case of error return, per upstream a01be735f2 Pim van Pelt 2023-01-11 13:08:54 +01:00
  • b7fd36bda4 Add entry flags per upstream f0781829d Pim van Pelt 2023-01-11 13:08:03 +01:00
  • 43eb442624 Fix endianness bug in lcp_pair_add_v2() Pim van Pelt 2023-01-11 12:35:16 +01:00
  • efc385c17f Fix endianness per upstream c8cd079a0 Pim van Pelt 2023-01-11 11:14:33 +01:00
  • e035203162 Fix memory leak on failed tap creation per upstream 37b5cccb; Also, sync the RX/TX queues to be the same as upstream linux-cp Pim van Pelt 2023-01-11 11:13:40 +01:00
  • 532858f8b7 Reduce message to DBG per upstream d3ccb0c Pim van Pelt 2023-01-11 11:12:39 +01:00
  • 60918e71e0 Merge branch 'main' of github.com:pimvanpelt/lcpng into main Pim van Pelt 2022-11-25 11:55:58 +00:00
  • 93d4bc29b0 Update README.md Pim van Pelt 2022-11-17 17:49:05 +01:00
  • 7027bf6250 Backport https://gerrit.fd.io/r/c/vpp/+/36814 Pim van Pelt 2022-10-04 13:16:30 +00:00
  • a4006ec5da Backport https://gerrit.fd.io/r/c/vpp/+/37026 Pim van Pelt 2022-10-04 13:13:57 +00:00
  • 623973dc1f Backport https://gerrit.fd.io/r/c/vpp/+/36961 Pim van Pelt 2022-10-04 13:11:53 +00:00
  • a0ad5cc5cf Merge Gerrit 36176 from upstream Pim van Pelt 2022-06-03 20:33:48 +00:00
  • 786530701d Backport https://gerrit.fd.io/r/c/vpp/+/35719 Pim van Pelt 2022-03-31 23:23:36 +00:00
  • 0bc3e01c9b Backport https://gerrit.fd.io/r/c/vpp/+/35528 Pim van Pelt 2022-03-08 14:45:35 +00:00
  • a68a6e89e5 Backport https://gerrit.fd.io/r/c/vpp/+/35519 Pim van Pelt 2022-03-08 13:55:28 +00:00
  • e6e6c11c78 Only signal NL_EVENT_READ once per read cycle, not once per netlink message - from https://gerrit.fd.io/r/c/vpp/+/35525 Pim van Pelt 2022-03-08 13:50:37 +00:00
  • a27fdb9911 Backport https://gerrit.fd.io/r/c/vpp/+/35523 Pim van Pelt 2022-03-08 13:42:56 +00:00
  • 554988ebf6 Fix API errors - convert int32 to host order and null terminate vectors in the response Pim van Pelt 2022-03-08 10:08:59 +00:00
  • f9441c5e03 bugfix - return in host order Pim van Pelt 2022-02-27 23:05:34 +00:00
  • 8a1c031ea9 backport https://gerrit.fd.io/r/c/vpp/+/35411 Pim van Pelt 2022-02-22 20:42:11 +00:00
  • 5f3eb62be9 Reduce resource usage on virtio polling, also avoid potential (undiagnosed) dataplane lockup when running multiple threads: just poll with one RX queue per TAP Pim van Pelt 2022-02-20 19:19:58 +00:00
  • ccd4b393e9 Roll back carrier set Pim van Pelt 2021-12-24 21:12:24 +00:00
  • ddd3ad372a Only set carrier up when hw is up Pim van Pelt 2021-12-24 21:04:15 +00:00
  • 1bbe17d586 Merge branch 'main' of github.com:pimvanpelt/lcpng into main Pim van Pelt 2021-12-24 20:05:57 +00:00
  • b659de9266 When creating a sub-int from Linux, ensure that the tap subint is set admin-up Pim van Pelt 2021-12-24 20:05:39 +00:00
  • fffb1e892a After fixing the feflags/frpflags bug, install specials again Pim van Pelt 2021-12-24 20:05:08 +00:00
  • 22e907555d Initialize the TAP carrier based on the (hardware) phy Pim van Pelt 2021-12-24 20:04:08 +00:00
  • 37300abf84 Update README.md Pim van Pelt 2021-12-20 12:46:16 +01:00
  • 65fa49f30b Fix crash if netns is not set at startup Pim van Pelt 2021-12-19 21:46:00 +00:00
  • d36f34b91d Fix type issue with route_path flags Pim van Pelt 2021-12-19 21:32:05 +00:00
  • cd86f17454 Copy forward neale's improvement from upstream gerrit 33948 Pim van Pelt 2021-11-29 22:26:44 +00:00
  • a8879bfc54 Merge branch 'main' of github.com:pimvanpelt/lcpng into main Pim van Pelt 2021-11-29 20:19:46 +00:00
  • cdf07cce34 Merge review feedback from mgsmith on upstream gerrit 33709 ps8..10 Pim van Pelt 2021-11-29 20:04:54 +00:00
  • cc2d6908a2 Merge review feedback from mgsmith on upstream gerrit 33709 ps8..10 Pim van Pelt 2021-11-29 20:04:54 +00:00
  • 6caa5e8386 Followup of upstream 8e2b1b129815d3e631aa425ed37899c78ea24e65 addition of MFIB_ENTRY_FLAG_NONE Pim van Pelt 2021-11-07 18:21:58 +00:00
  • 852a590cf6 Update README.md Pim van Pelt 2021-10-08 07:56:54 +02:00
  • bd8d8b40d6 Merge pull request #2 from theraphim/main Pim van Pelt 2021-10-08 07:52:19 +02:00
  • b72707d560 Don't crash when adding second interface to default namespace. Paul Komkoff 2021-10-08 01:24:47 +04:00
  • 92e3835cbe Merge pull request #1 from jin13417/main Pim van Pelt 2021-09-18 17:01:57 +02:00
  • 311dba085a Update README.md jinshaohui 2021-09-18 22:00:25 +08:00
  • 4ed9d02693 Fix non NULL terminated strings (namespace and hostname are vectors) Pim van Pelt 2021-09-09 20:04:15 +00:00
  • e2ac348759 'ns' is now a vector, don't memcpy it, but vec_dup() instead Pim van Pelt 2021-09-08 21:38:45 +00:00
  • 043fecb0e0 Only find the parent tap if it's necessary (ie. doesn't already exist in vif_index; change by mgsmith@ Pim van Pelt 2021-09-08 21:15:42 +00:00
  • 2c390ae512 Also set TAP carrier on netlink messages Pim van Pelt 2021-09-08 21:14:25 +00:00
  • 45cb9b4afc Cleanup interface sync Pim van Pelt 2021-09-08 20:53:02 +00:00
  • ba4d9d1a3c Add lcp_itf_pair_sync_state_hw() and only walk relevant int+subints, not all interfaces Pim van Pelt 2021-09-08 19:50:50 +00:00
  • 8b3356cd86 if sub_interface fails to create, return error and don't continue (fixes a crash) Pim van Pelt 2021-09-08 19:50:27 +00:00
  • 3c806d586d Accommodate Netgate's usecase, they create the linux netlink device first, and then call the pair_create; in that case, linux_parent_if_index already exists; simplify the call path here, h/t mgsmith@ Pim van Pelt 2021-09-08 18:41:35 +00:00
  • 36f1ebfdae Move check for parent_if_index up Pim van Pelt 2021-09-07 22:10:44 +00:00
  • fdab236755 backport fix from mgsmith@ in VPP main repo Pim van Pelt 2021-09-07 21:13:55 +00:00
  • 15efc4efc2 Copy review notes from mgsmith@ from https://gerrit.fd.io/r/c/vpp/+/33481/12..13 Pim van Pelt 2021-08-30 20:37:05 +00:00
  • 98a84d0fa7 Turn lip_namespace into a vector Pim van Pelt 2021-08-30 20:31:53 +00:00
  • aa9158e1a2 Add logline in case setting rx/tx size fails Pim van Pelt 2021-08-29 22:02:57 +00:00
  • 9f7286d285 Update INFO logline Pim van Pelt 2021-08-29 19:10:03 +00:00
  • fe5b52504f Restore insertion of connected routes Pim van Pelt 2021-08-29 18:50:28 +00:00
  • 82aa1bbc74 Merge from upstream Pim van Pelt 2021-08-29 17:52:22 +02:00
  • 6d86d2b075 Allow larger fraction of CPU to be used by netlink Pim van Pelt 2021-08-29 17:47:33 +02:00
  • 7c864ed099 Temporary fix Pim van Pelt 2021-08-29 17:07:40 +02:00
  • 8a57300b4c Tidy up locking Pim van Pelt 2021-08-29 16:59:18 +02:00
  • 76c8b53f41 fix silly crash in logging Pim van Pelt 2021-08-29 15:03:39 +02:00
  • 7a76498277 Add NEWROUTE/DELROUTE handler Pim van Pelt 2021-08-29 13:03:58 +02:00
  • 47fd53be42 Add NEWROUTE/DELROUTE handler Pim van Pelt 2021-08-29 13:03:58 +02:00
  • 873c1e3591 Capture a breadcrum about BondEthernet0 packetlo Pim van Pelt 2021-08-29 12:59:08 +02:00
  • a474d09a9e Fix crash when vlib_buffer_copy() fails - also sent upstream in https://gerrit.fd.io/r/c/vpp/+/33606 Pim van Pelt 2021-08-26 16:43:13 +02:00
  • 45f4088656 Add ability to create subint's from Linux Pim van Pelt 2021-08-24 23:24:04 +02:00
  • 04b4aebc97 Merge branch 'main' of github.com:pimvanpelt/lcpng into main Pim van Pelt 2021-08-24 18:18:51 +02:00
  • a3a5f68926 Add newlink/delink processing. Pim van Pelt 2021-08-24 18:11:51 +02:00