|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] Support for mii_xxx functions?
> From: Keir Fraser [mailto:Keir.Fraser@xxxxxxxxxxxx]
> Sent: Wednesday, October 22, 2003 7:58 AM
>
> Yes patchsets to xen-devel is the best way to send updates. Do you
> have a driver which uses mii yet?
Not quite yet. I'm still digging throught the skbuff handling for both
transmit and receive following the porting outline that you sent. It is a
little more complicated of course...
On the transmit side I have removed NETIF_F_SG from the supported features
as suggested but the driver also does not have real hardware checksumming.
As a result it calls skb_copy_and_csum_dev() to handle the actual movement
into the transmit buffer. This interface is not (yet) supported in Xen, and
I am still digging through to see if linux version is safe just as in the
case of the mii_functions. If not I'll create a modified version that works
for the Xen environment, since at least one other driver uses it
(via-rhine).
One the receive side the code compiles as is, but I have not yet verified if
the interface it calls -- eth_copy_and_sum() -- will work, or if I need to
changed it to somehting like this:
> vdata = map_domain_mem(skb->data);
> copy 'len' bytes to 'vdata' from NIC buffer
> unmap_domain_mem(vdata);
> skb_put(len);
as you suggested. If you (or anyone else) has any thoughts on why this (and
other) skbuff interfaces where not supported in Xen, that would help with my
digging. Remember, I'm not at all familiar with the linux kernel source so
I have to read it all to know what anything is doing... on the other hand it
is just time and code...
thanks,
paul
-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|
|
|
|
|