[ovs-git] [openvswitch/ovs] c2c844: netdev-dpdk: Fix flow control not configuring.

Tomasz Konieczny noreply at github.com
Mon Nov 4 19:24:10 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: c2c84474d495d951299c0e65c31a3b51e4fb5f4b
      https://github.com/openvswitch/ovs/commit/c2c84474d495d951299c0e65c31a3b51e4fb5f4b
  Author: Tomasz Konieczny <tomaszx.konieczny at intel.com>
  Date:   2019-11-04 (Mon, 04 Nov 2019)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: Fix flow control not configuring.

Currently OVS is unable to change flow control configuration in DPDK
because new settings are being overwritten by current settings with
rte_eth_dev_flow_ctrl_get(). The fix restores correct order of
operations and at the same time does not trigger error on devices
without flow control support when flow control not requested.

Fixes: 7e1de65e8dfb ("netdev-dpdk: Fix failure to configure flow control at netdev-init.")
Signed-off-by: Tomasz Konieczny <tomaszx.konieczny at intel.com>
Co-authored-by: Ilya Maximets <i.maximets at ovn.org>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>




More information about the git mailing list