Skip to content

add packet queues to BwDevice#12

Merged
Centaurus99 merged 2 commits intomainfrom
issue-6
Mar 6, 2024
Merged

add packet queues to BwDevice#12
Centaurus99 merged 2 commits intomainfrom
issue-6

Conversation

@Centaurus99
Copy link
Copy Markdown
Member

Implemented queues:

  • InfiniteQueue
  • DropTailQueue (FIFO)
  • DropHeadQueue
  • CODELQueue

Closes #6

@Centaurus99 Centaurus99 requested a review from BobAnkh March 4, 2024 12:28
Copy link
Copy Markdown
Member

@BobAnkh BobAnkh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The config should be individual for each queue types

Comment thread rattan/src/devices/delay.rs Outdated
Comment thread rattan/src/devices/delay.rs Outdated
Comment thread rattan/src/devices/bandwidth/queue.rs Outdated
Comment thread rattan/src/devices/bandwidth/mod.rs
Centaurus99 added a commit that referenced this pull request Mar 6, 2024
# This is the 1st commit message:
feat(device): add packet queue to bandwidth device

Refs: #6

# This is the commit message #2:

fix(device): the correctness of packet enqueue in the queue

Refs: #6

# This is the commit message #3:

test(bandwidth): add test for DropTailQueue

Refs: #6

# This is the commit message #4:

feat(device): add control interface to packet queue

Refs: #6

# This is the commit message #5:

fix(device): return an error when setting an empty config to BwDevice

Refs: #6

# This is the commit message #6:

test(bandwidth): add test for DropHeadQueue

Refs: #6

# This is the commit message #7:

feat(device): remove peek function in PacketQueue

Ref: #6

# This is the commit message #8:

feat(device): add CoDel queue and its test

Refs: #6

# This is the commit message #9:

fix: fix clippy warnings

# This is the commit message #10:

ci: add a mantic/6.6 VM (#8)

# This is the commit message #11:

chore: ignore .vscode

# This is the commit message #12:

ci: add cargo audit
@Centaurus99 Centaurus99 force-pushed the issue-6 branch 2 times, most recently from db51cd0 to afb3b00 Compare March 6, 2024 08:56
@Centaurus99 Centaurus99 merged commit 7df9cf5 into main Mar 6, 2024
@Centaurus99 Centaurus99 deleted the issue-6 branch March 6, 2024 12:15
@Centaurus99
Copy link
Copy Markdown
Member Author

Close: #9

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.

Add Queue trait to BwDevice

2 participants