I do physical layer testing of ethernet switches. I want to virtualize the test servers for scalability, reliability, and a VM solution allows easy change of system configuration.

The bottom line is that testing often requires opening the network port in promiscuous mode to sniff traffic, many tests need to be able to use ethtool to view network properties (speed, duplex, link state, etc) and to set properties (auto-neg, forced speed, duplex, link state, etc).

We use TOE cards which also allow offloading data from the CPU to the card allowing higher throughput, some tests we use this to send ~1Gbps traffic and monitor the data rate.

So there are multiple scenarios, the main one being the ability to see and set physical layer properties, the other being able to offload traffic for maximum throughput.  The latter can possibly be accomplished through OS layer drivers on the hypervisor but the former requires better driver access than what i currently see in the VM.


On Fri, Feb 13, 2015 at 7:25 AM, Martin Pavlík <mpavlik@redhat.com> wrote:
Hi David,

maybe if you gave us a little bit more of the big picture we can find some way. What is the the reason for the actions you take? What are you trying to achieve?

Martin

> On 13 Feb 2015, at 15:09, Dan Yasny <dyasny@gmail.com> wrote:
>
> Still easy enough to do with vdsm-hooks
>
> --
> Dan
>
> On Thu, Feb 12, 2015 at 6:28 PM, David Smith <dsmith@mypchelp.com> wrote:
> Is there a way to directly connect a specific device (ie, NIC) to a particular VM?
>
> I've figured out how to map a specific network interface to a VM, thats one step, but in the end I may need direct access to the PCI device itself.
>
> Second to that, for network interfaces mapped to a particular VM, is there a way for the VM to be able to properly detect physical link state of that interface? Right now that's a 'configurable option' inside network interface settings on the VM in the manager (ie, plugged, not plugged, and link state up /down)
>
> Thanks,
> David
>
> _______________________________________________
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users