Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 517
    • Issues 517
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 53
    • Merge requests 53
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • KeaKea
  • Merge requests
  • !120

Merged
Created Nov 08, 2018 by Thomas Markwalder@tmarkMaintainer

Congestion handling - add ability to enable/disable packet-queueing

  • Overview 108
  • Commits 38
  • Changes 55

Modify the libdhcp++ such that it supports DHCPvX packet reception either in same thread directly (as in Kea 1.4 and prior) or via the packet-queue. The default mode should be single-threaded (for now). The general idea is for IfaceMgr to select between two versions of receiveX based on whether there is a receiver thread:

Pkt4Ptr IfaceMgr::receive4(uint32_t timeout_sec, uint32_t timeout_usec /* = 0 */) {
    if (receiver_thread_) {
        return (receive4Indirect(timeout_sec, timeout_usec));
    }

    return (receive4Direct(timeout_sec, timeout_usec));
}

We would also want to add a enable parameter to the dhcp-queue-control.

Edited Nov 20, 2018 by Thomas Markwalder
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: 260-follow-up-from-wip-resolve-congestion-handling-add-receive-thread-and-packet-queue