top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

Is it necessary to have physical interfaces as many as virtual machines spawned in a server if each VM uses dpdk ?

+2 votes

As per my understanding, if a process within a virtual machine is going to use dpdk for the fast path, it takes the control of physical interface.There is a use case for which i have to spin up multiple virtual machines on the same server to implement a service chaining functionality. Each service needs dpdk based interface. Now question is "Can I provide the same physical interface for the dpdk running in each VM somehow ?" Or it is not possible, sharing of same physical interface with the multiple virtual machines ?

posted Jan 23, 2018 by Harshita

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

0 votes

Same physical interface can be shared with multiple VM.

answer Feb 1, 2018 by Veer Pal Singh Yadav
0 votes

The Physical Function (PF) is a PCI Express (PCIe) function of a network adapter that supports the single root I/O virtualization (SR-IOV) interface. The PF includes the SR-IOV Extended Capability in the PCIe Configuration space.
The capability is used to configure and manage the SR-IOV functionality of the network adapter, such as enabling virtualization and exposing PCIe Virtual Functions (VFs).
After enabling the virtual functions, Virtual machines can access interfaces such as each VM owning the interfaces and using it.
In essence, it is possible to share physical interfaces among virtual machines if interface card supports SR-IOV.

answer Apr 12, 2018 by Ganesh
Similar Questions
0 votes

How a particular installation type affects DPDK uses within a host ?

0 votes

I am looking for internals how a host windows machine provides communication to virtual machines created through Oracle VM box ?

+1 vote

I download a DPDK based application and found the size of TX ring is 4 times more than size of RX ring. I could not get satisfactory answer or in other words, I couldn't understand.

Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.