79683306

Date: 2025-06-28 20:08:32
Score: 0.5
Natty:
Report link

RDMA-capable NICs enable kernel bypass by setting up direct communication channels between user-space applications and the hardware with shared memory region in the application memory space.

  1. Setup (Kernel): The kernel maps shared memory regions (Send Queues/SQs, Completion Queues/CQs) and "doorbell" registers directly into user space.

  2. Send (User-Space): Application writes Work Requests (WRs) to the SQ, then signals the NIC via a memory-mapped doorbell write (no syscall). The NIC uses DMA to fetch WRs and data directly from host memory.

  3. Completion (User-Space Fast Path): NIC writes Completion Queue Entries (CQEs) to the CQ. The application polls the CQ directly for status (no syscall again...).

This allows zero-copy, low-latency data transfer by using DMA and direct hardware signaling, bypassing the kernel for data path operations.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Hod Badihi