> From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > > (2014/10/22 22:48), O'driscoll, Tim wrote: > > > PCI Hot Plug: When you migrate a VM, you need hot plug support as the > new VF on the new hardware you are running on post-migration needs to be > initialized. With an emulated NIC migration is seamless as all configuration > for > the NIC is within the RAM of the VM and the hypervisor. With a VF you have > actual hardware in the picture which needs to be set up properly. > > I have patch series for that feature. > The patches add feature that DPDK apps can attach and detach physical NIC > ports and virtual device ports at runtime. > Also I have patches for testpmd to attach and detach ports dynamically. > > For example, after patching, we can type following commands. > testpmd> port attach p 0000:02:00.0 > testpmd> port attach v eth_pcap0,iface=eth0 port detach p <detaching > testpmd> port_id> port detach v <detaching port_id> > (These are just RFC.) > > Now I am collecting up patches to submit to dpdk.org. So I can send RFC > patches soon. Hopefully next week.
That's great. I also heard privately from another person who is also working on patches for this. If you can submit an RFC, then we should be able to have a discussion on it and avoid duplication of effort. Tim