net/sched/sch_multiq.c
Source file repositories/reference/linux-study-clean/net/sched/sch_multiq.c
File Facts
- System
- Linux kernel
- Corpus path
net/sched/sch_multiq.c- Extension
.c- Size
- 8997 bytes
- Lines
- 415
- Domain
- Networking Core
- Bucket
- Sockets, Protocols, Packet Path, And Network Policy
- Inferred role
- Networking Core: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.
- Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/slab.hlinux/types.hlinux/kernel.hlinux/string.hlinux/errno.hlinux/skbuff.hnet/netlink.hnet/pkt_sched.hnet/pkt_cls.h
Detected Declarations
struct multiq_sched_datafunction multiq_classifyfunction multiq_enqueuefunction multiq_resetfunction multiq_destroyfunction multiq_tunefunction multiq_initfunction multiq_dumpfunction multiq_graftfunction multiq_leaffunction multiq_findfunction multiq_bindfunction multiq_unbindfunction multiq_dump_class_statsfunction multiq_walkfunction multiq_module_initfunction multiq_module_exitmodule init multiq_module_init
Annotated Snippet
module_init(multiq_module_init)
module_exit(multiq_module_exit)
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Multi queue to hardware queue mapping qdisc");
Annotation
- Immediate include surface: `linux/module.h`, `linux/slab.h`, `linux/types.h`, `linux/kernel.h`, `linux/string.h`, `linux/errno.h`, `linux/skbuff.h`, `net/netlink.h`.
- Detected declarations: `struct multiq_sched_data`, `function multiq_classify`, `function multiq_enqueue`, `function multiq_reset`, `function multiq_destroy`, `function multiq_tune`, `function multiq_init`, `function multiq_dump`, `function multiq_graft`, `function multiq_leaf`.
- Atlas domain: Networking Core / Sockets, Protocols, Packet Path, And Network Policy.
- Implementation status: integration implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.