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

Re: [Xen-devel] [PATCH 2/5] hotplug/linux: Add an option to disable acceleration on VIF

On Tue, 2014-05-20 at 09:55 +0200, Sylvain Munaut wrote:
> Hi,
> >> If a kernel driver in dom0 tries to access a network service
> >> running in a domU, strange things happen if the acceleration
> >> is not disabled. This offers an easy option to do it.
> >
> > By acceleration here you mean tx checksum offload I think?
> Yes.
> > How does one go about arranging for this xenstore key to be set?
> Just like 'ip' for eg. just put it in the vif config key like :
> vif = ['mac=00:16:3e:00:00:01,ip=,accel=off']

Which toolstack is this with? xl won't do anything with that (I don't

> > The XCP vif script[0] handles a wide variety of keys via keys like
> > ethtool-tx ethtool-rx etc.
> Ah yes indeed. I don't use XCP, just plain xen.

Right, I was mostly trying to suggest that if we were to do something in
plain Xen we should consider handling the full set as well. But...

> > FWIW I think this could also be achieved locally with a script
> > in /etc/xen/scripts/vif-post.d.
> Probably. I think this patch is indeed too specific to my purpose so
> I'll just remove it from the series.

... fair enough!


Xen-devel mailing list



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