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

GitHub noreply at github.com
Thu Sep 3 19:53:07 UTC 2015


  Branch: refs/heads/branch-2.3
  Home:   https://github.com/openvswitch/ovs
  Commit: a8f552c144d63da7aa458a24d29c22af70396796
      https://github.com/openvswitch/ovs/commit/a8f552c144d63da7aa458a24d29c22af70396796
  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