Comment 2 for bug 1971575

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/c/starlingx/config/+/840452
Committed: https://opendev.org/starlingx/config/commit/1864bea8e0777541ac27fbc5ac41685459dbb8d2
Submitter: "Zuul (22348)"
Branch: master

commit 1864bea8e0777541ac27fbc5ac41685459dbb8d2
Author: Antonio Augusto Vilas Boas Teixeira <email address hidden>
Date: Wed May 4 08:58:38 2022 -0400

    Prevent invalid configuration of max VF tx rate

    If a port has its detected speed as None (e.g. port is not cabled), when
    configuring the 'max-tx-rate' of an interface which uses this port any
    value can be set, even one exceeding the NIC's supported speed.

    This change adds an error message in this scenario, preventing the
    configuration of the tx rate parameter when the port speed is unknown.

    Closes-Bug: 1971575

    Signed-off-by: Antonio Augusto Vilas Boas Teixeira
    <email address hidden>
    Change-Id: I271656df1bac03f9a8f714f876baf1c742748b31