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

[Xen-users] xennet flipping or copying?



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


 


Rackspace

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