WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] xennet flipping or copying?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xennet flipping or copying?
From: Maurizio Rottin <maurizio.rottin@xxxxxxxxx>
Date: Wed, 7 Nov 2007 10:37:17 +0100
Delivery-date: Wed, 07 Nov 2007 01:38:01 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Dbalab
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.7
Hi,
        i can't find documentation about the flipping or copying options in the 
xennet module.

I wanted to try the copying, because i read it's newer and better then 
flipping method.

I'm using the RHEL5 xen version,
kernel-xen-2.6.18-8.1.10.el5
xen-3.0.3-25.0.3.el5 (should be a 3.0.3 plus a big backport of 3.0.4)


domU dmesg says
netfront: device eth0 has flipping receive path.
netfront: device eth1 has flipping receive path.
netfront: device eth2 has flipping receive path.

and in Dom0 i can see
xenstore-ls /local/domain/37/device/vif/2
backend-id = "0"
mac = "00:16:3e:ed:22:3e"
handle = "2"
state = "4"
backend = "/local/domain/0/backend/vif/37/2"
tx-ring-ref = "1551"
rx-ring-ref = "1552"
event-channel = "16"
request-rx-copy = "0"
feature-rx-notify = "1"
feature-sg = "1"
feature-gso-tcpv4 = "1"

where request-rx-copy = "0"
should be the "flipping" thing

I tried from dom0 to 
xenstore-write /local/domain/37/device/vif/2/request-rx-copy 1

and this worked on domain 37 vif 2, at least on the output of
xenstore-ls /local/domain/37/device/vif/2
backend-id = "0"
mac = "00:16:3e:ed:22:3e"
handle = "2"
state = "4"
backend = "/local/domain/0/backend/vif/37/2"
tx-ring-ref = "1551"
rx-ring-ref = "1552"
event-channel = "16"
request-rx-copy = "1"
feature-rx-notify = "1"
feature-sg = "1"
feature-gso-tcpv4 = "1"

now the value is 1!!


but in domU dmesg doesn't say anything.

i was wondering if there is a way to pass the copying option to the module, 
like with modprobe.conf or something like that, just to be sure that i'm 
really benchmarking the right thing.

-- 
Maurizio Rottin

This e-mail is confidential and is for the intended recipient only. (Italian 
Law 196/2003).

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] xennet flipping or copying?, Maurizio Rottin <=