sonic-net/SONiC

[question] How do packets arrive into the application containers?

Open

#1,742 opened on Jul 11, 2024

View on GitHub
 (3 comments) (0 reactions) (0 assignees)HTML (1,074 forks)batch import
help wanted

Repository metrics

Stars
 (2,003 stars)
PR merge metrics
 (Avg merge 69d 13h) (16 merged PRs in 30d)

Description

Hello. I'm new to using SONiC. I read many documents, such as Architecture, Configuration, Design specs, etc but I don't clearly understand how a packet arrives in application containers such as BGP or LDP. What happens when a packet enters an interface until it leaves the switch? I don't understand how SDK and kernel interact. For example, when a new route arrives in one of the interfaces how will it convert to a kernel netlink message?

Contributor guide