Skip to content

Feat/traffic manager voq#25

Open
Vineet1101 wants to merge 1 commit into
HapCommSys:switch_channelfrom
Vineet1101:feat/traffic-manager-voq
Open

Feat/traffic manager voq#25
Vineet1101 wants to merge 1 commit into
HapCommSys:switch_channelfrom
Vineet1101:feat/traffic-manager-voq

Conversation

@Vineet1101

Copy link
Copy Markdown
Collaborator

No description provided.

…(P1-P2)

First stage of the high-fidelity Traffic Manager that will replace the
output-only NSQueueingLogicPriRL scheduler. This lands the standalone,
event-driven, thread-free core; it is not yet wired into P4CoreV1model.

P1 - Input-side VOQ + accounting:
  * VOQ[in][out][priority], 8 priority levels (7 = highest), N*N*8 queues,
    stored flat because TmItem is move-only.
  * Finite-buffer accounting: global / per-input / per-VOQ byte counters
    with configurable limits (0 = unlimited).
  * Admission control with explicit drop reasons (global, input, VOQ full);
    egress drop reasons defined for later phases.
  * Modular packet-format boundary: carries an opaque move-only TmPayload,
    never assumes ns3::Packet (bm::Packet wrapper comes with integration).
  * TracedCallbacks (enqueue/dequeue/drop/delays) and cumulative TmStats.

P2 - Fabric scheduler:
  * Priority-first maximal matching (one input and one output per round),
    behind an overridable DoRunFabricScheduler() so iSLIP / round-robin can
    drop in later.

Tests (test/p4-traffic-manager-test-suite.cc, 6 cases, all passing on
ns-3.39): enqueue/dequeue + accounting, priority scheduling, per-input VOQ
isolation, one-in/one-out matching, drop-reason correctness, and delay
measurement in simulated time.
@Vineet1101 Vineet1101 force-pushed the feat/traffic-manager-voq branch from 014bdd3 to 7f82135 Compare July 4, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant