This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| network_stuff:linux_network_internals [2023/08/25 15:22] – jotasandoku | network_stuff:linux_network_internals [2023/11/02 14:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | LINUX KERNEL NETWORKING: | ||
| + | \\ | ||
| + | |||
| Linux has Two main APIs for networking: | Linux has Two main APIs for networking: | ||
| * Ethtool is for physical link management (speed, duplex, buffers etc.) | * Ethtool is for physical link management (speed, duplex, buffers etc.) | ||
| Line 12: | Line 15: | ||
| ---- | ---- | ||
| - | |||
| - | |||
| Place to find all information about interface is this, they are netdev, not just dev: | Place to find all information about interface is this, they are netdev, not just dev: | ||
| Line 22: | Line 23: | ||
| TODO\\ | TODO\\ | ||
| ... kernel objects and udev, and details of implementing logical interfaces that are associated with ASIC front-panel physical ports. From this discussion: [[http:// | ... kernel objects and udev, and details of implementing logical interfaces that are associated with ASIC front-panel physical ports. From this discussion: [[http:// | ||
| + | |||
| + | \\ | ||
| + | |||
| Interface can or cannot be related to physical port.\\ | Interface can or cannot be related to physical port.\\ | ||
| Linux labels them according to the PCI name, UUID can be used to rename them. udev, driver..\\ | Linux labels them according to the PCI name, UUID can be used to rename them. udev, driver..\\ | ||
| CPU-PCI BUS (unique) driver enumerates > port1,2,3 ... | CPU-PCI BUS (unique) driver enumerates > port1,2,3 ... | ||
| - | |||
| Then udev/uuid is used to map the name/rename the port name on boot time | Then udev/uuid is used to map the name/rename the port name on boot time | ||
| - | \\ | ||
| ---- | ---- | ||
| Line 53: | Line 55: | ||
| ovs-vswitchd --help | ovs-vswitchd --help | ||
| + | | ||
| + | ---- | ||
| + | Kernel structs | ||
| + | \\ | ||
| + | * '' | ||
| + | * '' | ||