HOMEVIDEOSCOURSESSTUDENTSSPONSORSDONATIONSEVENTSTUTORIALSLINKSNEWSCONTACT


VIDEOS 》 Ethtool - Source Code Walk

Refer:
The Linux Channel website - Networking and Q&A video series - http://the-linux-channel.the-toffee-project.org/index.php?page=74-videos-networking
Download ethtool source code - https://www.kernel.org/pub/software/network/ethtool/
Linux Kernel's ethtool source - http://elixir.free-electrons.com/linux/latest/source/net/core/ethtool.c

Refer:
struct ethtool_ops - optional netdev operations - http://elixir.free-electrons.com/linux/latest/source/include/linux/ethtool.h
netdev_set_default_ethtool_ops() - http://elixir.free-electrons.com/linux/latest/source/include/linux/netdevice.h#L70
struct ethtool_ops *ethtool_ops within struct net_device data-structure - http://elixir.free-electrons.com/linux/latest/source/include/linux/netdevice.h#L1689
dev_ethtool() - http://elixir.free-electrons.com/linux/latest/source/net/core/ethtool.c
netdev_set_default_ethtool_ops() - http://elixir.free-electrons.com/linux/latest/source/net/core/dev.c#L7963

also refer these video series:
Linux Kernel net_device data-structure - http://the-linux-channel.the-toffee-project.org/index.php?page=41-videos-linux-kernel-net-device-data-structure
Linux Kernel Networking Sub-system - http://the-linux-channel.the-toffee-project.org/index.php?page=45-videos-linux-kernel-networking-sub-system



Suggested Topics:


Video Episodes :: Linux (user-space), Systems Architecture and Networking

Wireshark Packet Capture ↗
Saturday' 13-Mar-2021

Oracle VM VirtualBox ↗
Saturday' 13-Mar-2021

CUDA GPU Distributed Parallel Computing ↗
Saturday' 13-Mar-2021

Quagga Routing Suite - OSPF, RIP, RIPng BGP4 | GNU Zebra fork | ZebOS ↗
Saturday' 13-Mar-2021
GNU Zebra is one of the oldest open-source Dynamic Routing Protocol suite stack developed by Kunihiro Ishiguro. Zebra supports features such as RIPv1/RIPv2 for IPv4 and RIPng for IPv6, OSPFv2 and OSPFv3, BGPv4+ and so on. Zebra is an active project for many years. After many years of active support Zebra is discontinued, and sometime down the lane a new fork is created from Zebra called Quagga which is now maintained by a separate independent open-source community. Quagga is a routing software suite, providing implementations of OSPFv2, OSPFv3, RIP v1 and v2, RIPng and BGP-4 for Unix platforms, particularly FreeBSD, Linux, Solaris and NetBSD. Quagga is a fork of GNU Zebra which was developed by Kunihiro Ishiguro. The Quagga architecture consists of a core daemon, zebra, which acts as an abstraction layer to the underlying Unix kernel and presents the Zserv API over a Unix or TCP stream to Quagga clients.

Online Course - Networking Protocols ↗
Saturday' 13-Mar-2021

CPU Performance and Benchmarks ↗
Saturday' 13-Mar-2021

Code Snippets ↗
Saturday' 13-Mar-2021

Ethtool - Source Code Walk ↗
Saturday' 13-Mar-2021

Inline Programming | Assembly | Scripts | php, python, shell, etc | Rust in Linux Kernel ↗
Friday' 12-May-2023
Inline programming is a technique where code statements are included directly in the text of a program, instead of being contained in separate files or modules. Inline programming can be useful for small or simple tasks, as it can eliminate the need for a separate script or function. One common example of inline programming is using JavaScripts, Php, etc in HTML documents to create dynamic content. Similarly in Linux Kernel we can find lot of instances where we can find inline programming such as inline assembly and now Rust within the Kernel source.

Systems Architecture ↗
Saturday' 13-Mar-2021

Building my own Userspace Network Stack - Platform/OS and Hardware Independent ↗
Saturday' 13-Mar-2021

Porting Sample libpcap C code to Raw Sockets | User-space Network Stack Framework ↗
Monday' 04-Sep-2023
Here is my multi-episode video series where I demonstrate how you can port the my libpcap sample code, discussed in the earlier episode to raw-socket. This code should further help you to design and architect your own user-space Network stack on top of this fundamental framework.

Data Visualization and Analytics ↗
Saturday' 13-Mar-2021

Networking and Q&A ↗
Saturday' 13-Mar-2021

Online Course - Linux CLI Scripting ↗
Saturday' 13-Mar-2021

Join The Linux Channel :: Facebook Group ↗

Visit The Linux Channel :: on Youtube ↗