Skip to content

iperf_udp.c issue of tos not set for the first test packet #830

Description

@velamen2009

Context

  • Version of iperf3: 3.6+

  • Operating system (and distribution, if any): tested on Ubuntu, MAC

Please fill out one of the "Bug Report" or "Enhancement Request"
sections, as appropriate.

Bug Report

At iperf_udp.c, line 431, client sends the first test packet, the tos is always 0x00.

  • Expected Behavior
    The first test packet shall use the same tos as user's input.

Reason: Many vendors' scheduler only check the DSCP marking once when receive the first packet. If the user wants to send high QoS service such as 0xc0, since the first packet is the test packet with tos 0x00, scheduler will treat the service as 0x00, best effort, QoS will not work in this case.

  • Possible Solution
    Send the first test packet with the same tos as user's setting

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug:tosIssues related to issues with TOS/DSCP bits

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions