Cilium data path analysis(VxLAN & Host Routing with Legacy)

Environment preparation Node root@node1:~# kubectl get nodes -owide NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME node1 Ready control-plane 13d v1.24.6 192.168.64.8 <none> Ubuntu 22.04.2 LTS 5.15.0-75-generic containerd://1.6.8 node2 Ready control-plane 13d v1.24.6 192.168.64.9 <none> Ubuntu 22.04.2 LTS 5.15.0-75-generic containerd://1.6.8 node3 Ready <none> 13d v1.24.6 192.168.64.10 <none> Ubuntu 22.04.2 LTS 5.15.0-75-generic containerd://1.6.8 Host […]

libbpf-bootstrap development guide: use map structure for parameter passing – minimal_legacy

Directory the code BPF program part Function Description Header file introduction instructions my_pid_map SEC(“.maps”) Introduction bpf_map_lookup_elem user program section Function Description bpf_map__update_elem Execution effect Code BPF program part /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ #define BPF_NO_GLOBAL_DATA #include <linux/bpf.h> #include <bpf/bpf_helpers.h> #include <bpf/bpf_tracing.h> typedef unsigned int u32; typedef int pid_t; char LICENSE[] SEC(“license”) = “Dual BSD/GPL”; […]

Micro frontends (split and refine, integrate legacy systems)

Access to micro-frontend Description of project background If we have completed the Vue2-based project, suppose another team member implements the front-end visualization part. They use the latest Vue3 technology stack. Now there is a requirement that their front-end project wants to directly use our login function, obtain token, and perform data acquisition and rendering. What […]

5.3 legacy interrupt controller driver

The legacy type interrupt controller is a one-to-many interrupt controller, which needs to allocate the corresponding irq_desc in the system before registering Driver code writing The experimental program is a virtual interrupt controller driver, which uses GIC_SPI No. 210 interrupt as the parent interrupt, and uses a random number generation function to simulate the interrupt […]

NixOS & Legacy Boot(MBR) VmwareWorkstation Installation Wizard

NixOS & amp; Legacy Boot(MBR) VmwareWorkstation Installation Wizard Table of Contents NixOS & amp; Legacy Boot(MBR) VmwareWorkstation Installation Wizard 1. Download mirror 2. Create a blank virtual machine 3. Install NixOS using the command line 3.1 Legacy Boot (MBR) 3.2 Formatting 4. configuration.nix configuration file ==About network problems and mirror source selection (must see)== ==About […]

Ubuntu 22.04 LTS apt-get update reports Key is stored in legacy trusted.gpg keyring warning solution

Background introduction Update the source under Ubuntu 22.04 LTS apt-get update encountered Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. such warnings. Although the warning does not affect the execution, it is still uncomfortable for a patient with severe code obsessive-compulsive disorder and code cleanliness, so let’s […]

springboot integrates mybatis plus (legacy code generator)

1. Create a springboot project Select Spring lnitializr, fill in the project information, and click Next Select springboot version, project dependencies, and click Finish In this way, our springboot project is created. 2. Add the dependency of mybatis plus Add dependencies to the pom.xml file <!– mp –> <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.4.1</version> </dependency> <!– code […]

0206 Legacy Lifecycle-Component-React

1 Preface The React lifecycle describes the different stages a component goes through as it is created, updated, and destroyed. These lifecycle methods can be defined and implemented in the component’s code to perform custom actions when appropriate. Now let’s learn the life cycle functions of the old version (16.x and before), and then compare […]