drivers/net/netdevsim/Makefile

Source file repositories/reference/linux-study-clean/drivers/net/netdevsim/Makefile

File Facts

System
Linux kernel
Corpus path
drivers/net/netdevsim/Makefile
Extension
[no extension]
Size
483 bytes
Lines
28
Domain
Driver Families
Bucket
drivers/net
Inferred role
Driver Families: build/configuration rule
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0

obj-$(CONFIG_NETDEVSIM) += netdevsim.o

netdevsim-objs := \
	netdev.o dev.o ethtool.o fib.o bus.o health.o hwstats.o udp_tunnels.o tc.o

ifeq ($(CONFIG_BPF_SYSCALL),y)
netdevsim-objs += \
	bpf.o
endif

ifneq ($(CONFIG_XFRM_OFFLOAD),)
netdevsim-objs += ipsec.o
endif

ifneq ($(CONFIG_PSAMPLE),)
netdevsim-objs += psample.o
endif

ifneq ($(CONFIG_INET_PSP),)
netdevsim-objs += psp.o
endif

ifneq ($(CONFIG_MACSEC),)
netdevsim-objs += macsec.o
endif

Annotation

Implementation Notes