Re: RFC: Network Plugin Architecture (NPA) for vmxnet3

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Avi Kivity
Date: Wednesday, May 5, 2010 - 10:59 am

On 05/05/2010 02:02 AM, Pankaj Thakkar wrote:

Is this enforced?  Since you pass the hardware through, you can't rely 
on the guest actually doing this, yes?


This is essentially a miniature network stack with a its own mini 
bonding layer, mini hotplug, and mini API, except s/API/ABI/.  Is this a 
correct view?

If so, the Linuxy approach would be to use the ordinary drivers and the 
Linux networking API, and hide the bond setup using namespaces.  The 
bond driver, or perhaps a new, similar, driver can be enhanced to 
propagate ethtool commands to its (hidden) components, and to have a 
control channel with the hypervisor.

This would make the approach hypervisor agnostic, you're just pairing 
two devices and presenting them to the rest of the stack as a single device.


So the Shell would be the reworked or new bond driver, and Plugins would 
be ordinary Linux network drivers.


-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RFC: Network Plugin Architecture (NPA) for vmxnet3, Pankaj Thakkar, (Tue May 4, 4:02 pm)
Re: RFC: Network Plugin Architecture (NPA) for vmxnet3, Stephen Hemminger, (Tue May 4, 5:05 pm)
Re: RFC: Network Plugin Architecture (NPA) for vmxnet3, Pankaj Thakkar, (Tue May 4, 5:18 pm)
Re: RFC: Network Plugin Architecture (NPA) for vmxnet3, David Miller, (Tue May 4, 5:32 pm)
Re: RFC: Network Plugin Architecture (NPA) for vmxnet3, Pankaj Thakkar, (Tue May 4, 5:38 pm)
Re: RFC: Network Plugin Architecture (NPA) for vmxnet3, Chris Wright, (Tue May 4, 5:58 pm)
Re: RFC: Network Plugin Architecture (NPA) for vmxnet3, Stephen Hemminger, (Tue May 4, 7:44 pm)
Re: RFC: Network Plugin Architecture (NPA) for vmxnet3, Christoph Hellwig, (Wed May 5, 10:23 am)
Re: [Pv-drivers] RFC: Network Plugin Architecture (NPA) fo ..., Christoph Hellwig, (Wed May 5, 10:31 am)
Re: [Pv-drivers] RFC: Network Plugin Architecture (NPA) fo ..., Stephen Hemminger, (Wed May 5, 10:52 am)
Re: RFC: Network Plugin Architecture (NPA) for vmxnet3, Avi Kivity, (Wed May 5, 10:59 am)
Re: RFC: Network Plugin Architecture (NPA) for vmxnet3, Pankaj Thakkar, (Wed May 5, 12:00 pm)
Re: RFC: Network Plugin Architecture (NPA) for vmxnet3, Pankaj Thakkar, (Wed May 5, 12:44 pm)
Re: RFC: Network Plugin Architecture (NPA) for vmxnet3, Pankaj Thakkar, (Mon May 10, 1:46 pm)
Re: [Pv-drivers] RFC: Network Plugin Architecture (NPA) fo ..., Shreyas Bhatewara, (Mon Jul 12, 8:06 pm)
Re: [Pv-drivers] RFC: Network Plugin Architecture (NPA) fo ..., Stephen Hemminger, (Mon Jul 12, 10:16 pm)
Re: [Pv-drivers] RFC: Network Plugin Architecture (NPA) fo ..., Stephen Hemminger, (Tue Jul 13, 5:31 pm)
Re: [Pv-drivers] RFC: Network Plugin Architecture (NPA) fo ..., Shreyas Bhatewara, (Wed Jul 14, 10:19 am)
Re: [Pv-drivers] RFC: Network Plugin Architecture (NPA) fo ..., Jeremy Fitzhardinge, (Wed Jul 14, 11:03 am)
Re: [Pv-drivers] RFC: Network Plugin Architecture (NPA) fo ..., Shreyas Bhatewara, (Wed Jul 14, 1:42 pm)