[ovs-git] [openvswitch/ovs] ad2dad: netdev-linux: Don't set ethtool flags if flag is a...

GitHub noreply at github.com
Thu Sep 3 19:52:29 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: ad2dade5654257359764c1af9130ebc5cbddab79
      https://github.com/openvswitch/ovs/commit/ad2dade5654257359764c1af9130ebc5cbddab79
  Author: Anoob Soman <anoob.soman at citrix.com>
  Date:   2015-09-03 (Thu, 03 Sep 2015)

  Changed paths:
    M lib/netdev-linux.c

  Log Message:
  -----------
  netdev-linux: Don't set ethtool flags if flag is already set on netdev

Check if ethtool flags is already set on a netdev, before trying to set it.

This patch works around issues with some older verison of ethernet drivers,
which tend to reset the NIC when call to disable LRO is made, even if LRO is
already disable on that NIC. NIC reset is not desirable in OVS upgrade scenario
as it causes extended downtime.

Signed-off-by: Anoob Soman <anoob.soman at citrix.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>




More information about the git mailing list