Tag

NAPI

1 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 13, 2024 · Frontend Development

Using ArkUI C/C++ API for Native UI Layout in HarmonyOS

This article explains how to create and bind native UI components in HarmonyOS by leveraging ArkUI's C/C++ API, covering project setup, library linking, module interface acquisition, node creation, attribute setting, and integration with ArkTS through NodeContent and ContentSlot.

ArkUICC-API
0 likes · 10 min read
Using ArkUI C/C++ API for Native UI Layout in HarmonyOS
Deepin Linux
Deepin Linux
Aug 25, 2023 · Fundamentals

Linux Network Packet Reception: From NIC to Kernel and Protocol Stack

This article explains how Linux receives network packets, detailing the NIC’s DMA transfer, hardware and software interrupt handling, NAPI scheduling, kernel processing, and the subsequent traversal through the IP and transport layers up to the user‑space application.

KernelLinuxNAPI
0 likes · 27 min read
Linux Network Packet Reception: From NIC to Kernel and Protocol Stack
ByteDance Web Infra
ByteDance Web Infra
Feb 17, 2023 · Backend Development

Understanding Rust Build Scripts, FFI, and Sys Crates for NAPI Integration

This article provides a comprehensive guide on Rust build scripts, the role of sys crates, foreign function interfaces, and cross‑compilation techniques, illustrating how to create and use NAPI‑sys and libsodium‑sys crates, manage Cargo instructions, and leverage tools like Zig for seamless multi‑platform builds.

Build ScriptFFINAPI
0 likes · 21 min read
Understanding Rust Build Scripts, FFI, and Sys Crates for NAPI Integration
Top Architect
Top Architect
Sep 3, 2021 · Fundamentals

Understanding Linux Network Subsystem: Layers, Interrupt Handling, and Driver Initialization

This article explains the layered architecture of the Linux network stack, maps the TCP/IP model to Linux implementation, and details how hardware and soft interrupts, ksoftirqd threads, and NAPI cooperate with driver initialization to process packet reception and transmission.

Driver DevelopmentKernelLinux
0 likes · 23 min read
Understanding Linux Network Subsystem: Layers, Interrupt Handling, and Driver Initialization
Qunar Tech Salon
Qunar Tech Salon
Mar 10, 2021 · Backend Development

Deep Dive into epoll: Principles, Blocking, and I/O Multiplexing

This article provides an in‑depth exploration of Linux’s epoll mechanism, covering its blocking behavior, kernel‑level processing, NAPI optimization, comparisons with select/poll, and practical insights into I/O multiplexing, helping backend engineers understand performance characteristics and design efficient network services.

Backend DevelopmentI/O multiplexingLinux kernel
0 likes · 15 min read
Deep Dive into epoll: Principles, Blocking, and I/O Multiplexing
Refining Core Development Skills
Refining Core Development Skills
Sep 24, 2020 · Fundamentals

Deep Dive into Linux Network Packet Reception Process

This article provides a comprehensive, illustrated explanation of how Linux receives network packets—from hardware DMA and interrupt handling through soft‑interrupt processing, NAPI polling, protocol stack registration, and finally delivery to user‑space via recvfrom—detailing each kernel component and relevant source code.

KernelLinuxNAPI
0 likes · 48 min read
Deep Dive into Linux Network Packet Reception Process
NetEase Game Operations Platform
NetEase Game Operations Platform
Mar 21, 2020 · Operations

Understanding Linux Kernel Packet Reception Path and NAPI

This article explains how Linux kernels receive network packets—from NIC hardware interrupts through NAPI polling, kernel TCP/IP processing, and finally to user‑space sockets—while also covering interrupt handling, buffer tuning, and performance‑optimizing techniques for SREs.

KernelLinuxNAPI
0 likes · 12 min read
Understanding Linux Kernel Packet Reception Path and NAPI