← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1918464] Re: [QoS][SR-IOV] Minimum BW dataplane enforcement fails if NIC does not support min_tx_rate

 

** Changed in: neutron
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1918464

Title:
  [QoS][SR-IOV] Minimum BW dataplane enforcement fails if NIC does not
  support min_tx_rate

Status in neutron:
  Fix Released

Bug description:
  If a network interface does not support "min_tx_rate" parameter, the
  QoS minimum BW rule will fail in SR-IOV.

  This can be tested manually in a SR-IOV network card using this command:
    # ip link set ens785f1 vf 0 min_tx_rate 0

  That command will fail if the driver does not support "min_tx_rate".
    # ip l set dev enp5s0f0 vf 2 max_tx_rate 8000
    # ip l set dev enp5s0f0 vf 2 min_tx_rate 6000
      RTNETLINK answers: Invalid argument

  In the SR-IOV agent, the QoS enforcement will fail with the following
  error: http://paste.openstack.org/show/803441/

  This behaviour depends on the NIC driver, not the API (ip-link or
  Pyroute2). My recommendation here is to catch this exception, log an
  error and exit the method gracefully.

  BZ reference: https://bugzilla.redhat.com/show_bug.cgi?id=1937432

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1918464/+subscriptions



References