[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] [XCP] bug: ethtool-lro:true does not apply properly


  • To: xen-api@xxxxxxxxxxxxxxxxxxx
  • From: shuklin <shuklin@xxxxxxxxxxx>
  • Date: Tue, 16 Aug 2011 13:22:58 +0400
  • Delivery-date: Tue, 16 Aug 2011 02:23:18 -0700
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

Good day.

Found strange bug - if pif have other-config:ethtool-lro=true option, it
does not kept.

How it looks: I put a little debug hook
to /opt/xensource/libexec/InterfaceReconfigureVswitch.py and check if
interfaces are configured properly after this code.

            if len(offload):
                dbg(dev)
                run_command(['/sbin/ethtool', '-K', dev] + offload)
                dbg(dev)

my hook (dbg) shows that after this line interfaces have LRO enabled.

But when boot is done none of eth interfaces have LRO enabled. (All my
network cards does support LRO and can be configured by ethtool).

I don't know how and when it reset state, but I can say definitely, that
ethtool-lro option does not work as expected.

XCP 1.0, network cards:

Intel Corporation 82574L Gigabit Network Connection
Intel Corporation 82599EB 10-Gigabit Network Connection

Right now I add a very dirty hack by adding ethtool -K eth3 lro on
in /etc/rc.local, but it seems be not very good solution...




_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.