From: Greg Brackley <lists-xen-devel@lucidsolutions.co.nz>
To: Jan Niehusmann <jan@gondor.com>, xen-devel@lists.xensource.com
Subject: Re: [PATCH] enable ethtool for xen loopback interface(network in dom0)
Date: Tue, 24 Jan 2006 22:11:42 +1300 [thread overview]
Message-ID: <03d401c620c6$31eae950$0100a8c0@balls> (raw)
In-Reply-To: 20060114115803.GA5863@gondor.com
----- Original Message -----
From: "Jan Niehusmann" <jan@gondor.com>
> this patch allows disabling the tx checksums on the xen loopback
> interface, which is used for the virtual interfaces of dom0 instead
> of netfront/netback.
Great patch thanks. I finally got around to upgrading a box to Xen 3.0
testing (changeset 8269:a91e4dcf629d), applied the patch and it works a
dream. I can now bridge the xen0 domain onto a VLAN interface with a
pro/1000 MT server NIC (82546EB).
I am using Fedora Core 4 (which doesn't appear to support -K ethtool options
in the initscripts), and have added a /sbin/ifup-local script [1] to the
system. This in conjunction with adding 'ETHTOOL_KOPTS="tx off"' [2] to my
interface configuration works well (Note: I use the standard initscripts to
bring up the networking, and not 'network-bridge').
I'm concerned that there may be some performance hit with software
checksumming, but I'm happy with working rather than faster. Getting jumbo
frame support in the domU's would be probably be a better performance boost.
Greg :-)
--
[1] /sbin/ifup-local
#!/bin/sh
cd /etc/sysconfig/network-scripts
. network-functions
[ -f ../network ] && . ../network
CONFIG="ifcfg-${1}"
source_config
if [ -n "$ETHTOOL_KOPTS" ] ; then
REALDEVICE=${DEVICE%%:*}
/sbin/ethtool -K ${REALDEVICE} $ETHTOOL_KOPTS
fi
[2] /etc/sysconfig/network-scripts/ifcfg-veth0
DEVICE=veth0
TYPE=Ethernet
ONBOOT=yes
IPADDR=192.168.133.1
NETMASK=255.255.255.0
MACADDR=00:aa:00:00:85:01
NOZEROCONF=yes
GATEWAY=192.168.133.254
ARP=yes
ETHTOOL_KOPTS="tx off"
prev parent reply other threads:[~2006-01-24 9:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-14 11:58 [PATCH] enable ethtool for xen loopback interface (network in dom0) Jan Niehusmann
2006-01-24 9:11 ` Greg Brackley [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='03d401c620c6$31eae950$0100a8c0@balls' \
--to=lists-xen-devel@lucidsolutions.co.nz \
--cc=greg.brackley-dated-1138698706.791a61@lucidsolutions.co.nz \
--cc=jan@gondor.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.