net/sched/sch_fq_pie.c
Source file repositories/reference/linux-study-clean/net/sched/sch_fq_pie.c
File Facts
- System
- Linux kernel
- Corpus path
net/sched/sch_fq_pie.c- Extension
.c- Size
- 15700 bytes
- Lines
- 596
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- 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/jhash.hlinux/module.hlinux/sizes.hlinux/vmalloc.hnet/pkt_cls.hnet/pie.h
Detected Declarations
struct fq_pie_flowstruct fq_pie_sched_datafunction fq_pie_hashfunction fq_pie_classifyfunction flow_queue_addfunction fq_pie_qdisc_enqueuefunction INET_ECN_set_cefunction fq_pie_changefunction fq_pie_timerfunction fq_pie_initfunction fq_pie_dumpfunction fq_pie_dump_statsfunction fq_pie_resetfunction fq_pie_destroyfunction fq_pie_module_initfunction fq_pie_module_exitmodule init fq_pie_module_init
Annotated Snippet
module_init(fq_pie_module_init);
module_exit(fq_pie_module_exit);
MODULE_DESCRIPTION("Flow Queue Proportional Integral controller Enhanced (FQ-PIE)");
MODULE_AUTHOR("Mohit P. Tahiliani");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/jhash.h`, `linux/module.h`, `linux/sizes.h`, `linux/vmalloc.h`, `net/pkt_cls.h`, `net/pie.h`.
- Detected declarations: `struct fq_pie_flow`, `struct fq_pie_sched_data`, `function fq_pie_hash`, `function fq_pie_classify`, `function flow_queue_add`, `function fq_pie_qdisc_enqueue`, `function INET_ECN_set_ce`, `function fq_pie_change`, `function fq_pie_timer`, `function fq_pie_init`.
- Atlas domain: Networking Core / Sockets, Protocols, Packet Path, And Network Policy.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.