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

Re: [Xen-devel] [PATCH] xen-netfront: report link speed to ethtool



On Fri, Nov 18, 2011 at 08:11:31PM +0100, Pavel Mat??ja wrote:
> On Fri 18. of November 2011 19:44:08 you wrote:
> > On 11/18/2011 09:46 AM, Ben Hutchings wrote:
> > > On Fri, 2011-11-18 at 17:48 +0100, Olaf Hering wrote:
> > >> Add .get_settings function, return fake data so that ethtool can get
> > >> enough information. For some application like VCS, this is useful,
> > >> otherwise some of application logic will get panic.
> > >> The reported data refers to VMWare vmxnet.
> > >> 
> > >> Signed-off-by: Xin Wei Hu<xwhu@xxxxxxxx>
> > >> Signed-off-by: Chunyan Liu<cyliu@xxxxxxxx>
> > >> Signed-off-by: Olaf Hering<olaf@xxxxxxxxx>
> > > 
> > > NAK, we should not just make things up.
> > 
> > Which raises an interesting question for a virtual interface that isn't
> > pretending to be a specific NIC type. What should the reported speed be?
> >   Is it a 10/100 NIC?  A 1 or 10 GbE NIC? 3.14 GbE?  For other emulated
> > interfaces, it rather falls-out from the emulation.  We can say that the
> > driver may not make stuff up, but it would seem what is running in the
> > host/hypervisor/dom0/whatever will have to.  It could I suppose, decide
> > based on the physical NIC to which it is attached, so long as folks
> > using the virtual NIC don't expect its attributes to be the same from
> > system to system.
> > 
> > rick
> 
> Hmm,
> two questions from me.
> I think there is 10GbE link reported in Windows gplpv 0.11.0.322 driver.
> Let say I have two virtual Windows running on XEN and they are in bridge with 
> 1GbE physical NIC.
> Will the Windows talk to each other on 10GbE thru the bridge?
> What should I do to give them 10GbE access to local samba server?
>

The reported NIC speed in the VM does not mean anything really,
because it's all virtual "hardware", and the reported speed is not any kind of 
limit.

Even if windows VM says it's 10 Mbit/sec NIC you can still talk
as fast as your system can go.

-- Pasi


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


 


Rackspace

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