Userspace 2015 | Dublin
Dynamic NFV Deployment with Port
Hotplug and Virtio
Tetsuya Mukawa, IGEL Co., Ltd.
About me
• I am a software engineer at IGEL Co., Ltd.
• Roughly 10 years experience in embedded
linux products.
• Currently, I am one of developers of Lagopus,
an open source software switch.
– https://lagopus.github.io/
Agenda
• Current Status of Port Hotplug
• Dynamic NFV Deployment with Port Hotplug
and Virtio
– Current limitations
– What will be solved in DPDK-2.2/2.3?
Current Status of Port Hotplug
Port 0
• After starting an application
– attach to a port
– detach from a port
• To support Port Hotplug, each
PMD and EAL needs to be
changed.
Detached
Port 2
Attached
Port 1
DPDK application
What is Port Hotplug?
Supported OS and UIO module
• Linux
– igb_uio
– uio_pci_generic
– VFIO
• BSD
– nic_uio
No support for VFIO
Supported PMD
PMD Supported version Submitter of Port Hotplug
bond 2.1 Bernard Iremonger
ring 2.1 Bernard Iremonger
virtio 2.1 Bernard Iremonger
i40e 2.1 Bernard Iremonger
ixgbe 2.1 Bernard Iremonger
e1000 2.1 Bernard Iremonger
fm10k 2.1 Michael Qiu
null 2.0 Tetsuya Mukawa
pcap 2.0 Tetsuya Mukawa
Thanks for hard
working of Bernard
and Michael.
Not Supported PMD
• Below PMDs
– af_packet
– mlx4
– xenvirt
– bnx2x
– cxgbe
– mpipe
Dynamic NFV Deployment with Port
Hotplug and Virtio
Background
NFVNFVNFV
• In some cases, NFV is needed to be
deployed on demand.
Block Diagram of Host
NFVNFVNFV
Detail of Host
Port
Software Switch (SSW)
Hotplugged
Port for NFV
NFV
• To deploy NFV dynamically,
followings are needed.
– Software Swtich(SSW)
– Port Hotplug function
– Hotplugged port for NFV
Block Diagram of NFV
NFVNFVNFV
Detail of Host
Port
Software Switch (SSW)
Hotplugged
Port for NFV
NFV
Detail of NFV
VM / Container
Virtual NIC Driver
Virtual NIC
Virtual Wire
to SSW
Application
Component description
Port
Software Switch (SSW)
Hotplugged Port for NFV
VM / Container
Virtual NIC Driver
Virtual NIC
Virtual Wire
to SSW
Application
Component Description
VM / Container Isolation to separate NFV and
Software switch
Application NFV application
Virtual NIC Driver Device driver for virtual NIC
Virtual NIC Virtual NIC device to connect to
SSW
Virtual Wire to SSW Connection between Virtural
NIC and SSW
Hotplugged Port for
NFV
Abstraction for SSW to treat
NFV connection as normal port
Software Switch Packet distributor
Which legacy implementations can be used?
Feature Available implementation
VM / Container QEMU/KVM(*1)
Virtual NIC Driver virtio-net PMD
Virtual NIC virtio-net
Virtual Wire to SSW vhost-user / vhost-cuse
Hotplugged Port for
NFV
Port Hotplug API(*2)
librte_vhost
Software Switch Lagopus / dpdk-ovs / etc...
(*1) No support for container.
(*2) There is no PMD for this purpose.
Port
Software Switch (SSW)
Hotplugged Port for NFV
VM / Container
Virtual NIC Driver
Virtual NIC
Virtual Wire
to SSW
Application
Current limitations
• No PMD for NFV connected port.
• No Support for container like docker.
• Denial of reconnection.
– Currently, when SSW is killed or stopped, then restarted,
NFV cannot connect to SSW.
To connect again, NFV also needs to be restarted.
What will be solved in DPDK-2.2/2.3?
• “vhost PMD” for NFV connected port.
– The PMD will support Port Hotplug.
• Container support.
– Virtio and vhost will be used.
– All containers will be supported.
Conclusion
• So far, we have a few issues.
1. No PMD for NFV connected port.
2. No container support.
3. Denial of reconnection.
• Hopefully “1” and “2” will be solved in half year.
• But still “3” will be left.
Thanks

More Related Content

PDF
OpenDataPlane - Bill Fischofer
PDF
DPDK Architecture Musings - Andy Harvey
PDF
Hyperscan - Mohammad Abdul Awal
PDF
Generic Resource Manager - László Vadkerti, András Kovács
PDF
TRex Traffic Generator - Hanoch Haim
PDF
OpenDataPlane Project
PDF
DPDK Integration: A Product's Journey - Roger B. Melton
PDF
Learn more about the tremendous value Open Data Plane brings to NFV
OpenDataPlane - Bill Fischofer
DPDK Architecture Musings - Andy Harvey
Hyperscan - Mohammad Abdul Awal
Generic Resource Manager - László Vadkerti, András Kovács
TRex Traffic Generator - Hanoch Haim
OpenDataPlane Project
DPDK Integration: A Product's Journey - Roger B. Melton
Learn more about the tremendous value Open Data Plane brings to NFV

What's hot (20)

PPTX
The Need for Complex Analytics from Forwarding Pipelines
PDF
LF_OVS_17_OVN at Nutanix
PPTX
Bluetooth LE: User Experience with iOS
PDF
LF_DPDK17_Accelerating NFV with VMware's Enhanced Network Stack (ENS) and Int...
PDF
Dpdk Validation - Liu, Yong
PDF
Summit 16: Service Function Chaining: Demo and Usage
PPT
OpenFlow tutorial
PDF
Platform Independent Packet Processing with ODL
PDF
LF_OVS_17_OVN and Kelda
PDF
FreeSWITCH as a Microservice
PDF
KVM Enhancements for OPNFV
PDF
ODP Presentation LinuxCon NA 2014
PDF
Opensource approach to design and deployment of Microservices based VNF
PDF
SDN & NFV Introduction - Open Source Data Center Networking
PDF
FD.io - The Universal Dataplane
PDF
FreeSWITCH on Docker
PDF
LF_DPDK17_rte_raw_device: implementing programmable accelerators using generi...
PDF
LF_DPDK17_Abstract APIs for DPDK and ODP
PDF
Tungsten Fabric Overview
PPTX
Barak Perlman, ConteXtream - SFC (Service Function Chaining) Using Openstack ...
The Need for Complex Analytics from Forwarding Pipelines
LF_OVS_17_OVN at Nutanix
Bluetooth LE: User Experience with iOS
LF_DPDK17_Accelerating NFV with VMware's Enhanced Network Stack (ENS) and Int...
Dpdk Validation - Liu, Yong
Summit 16: Service Function Chaining: Demo and Usage
OpenFlow tutorial
Platform Independent Packet Processing with ODL
LF_OVS_17_OVN and Kelda
FreeSWITCH as a Microservice
KVM Enhancements for OPNFV
ODP Presentation LinuxCon NA 2014
Opensource approach to design and deployment of Microservices based VNF
SDN & NFV Introduction - Open Source Data Center Networking
FD.io - The Universal Dataplane
FreeSWITCH on Docker
LF_DPDK17_rte_raw_device: implementing programmable accelerators using generi...
LF_DPDK17_Abstract APIs for DPDK and ODP
Tungsten Fabric Overview
Barak Perlman, ConteXtream - SFC (Service Function Chaining) Using Openstack ...
Ad

Similar to Hotplug and Virtio - Tetsuya Mukawa (20)

PDF
Summit 16: How to Compose a New OPNFV Solution Stack?
PPTX
High Performance Networking Leveraging the DPDK and Growing Community
PDF
DPDK Summit - 08 Sept 2014 - 6WIND - High Perf Networking Leveraging the DPDK...
PDF
NFV Infrastructure Manager with High Performance Software Switch Lagopus
PDF
Network Virtualization & Software-defined Networking
PPTX
IRATI @ RINA Workshop 2014, Dublin
PDF
OpenStack Paris Meetup on Nfv 2014/10/07
PDF
Openstack Neutron & Interconnections with BGP/MPLS VPNs
PPTX
dpdk acceleration techniques ncdşs şdcnş
ODP
Wireless openflow (english)
PDF
DPDK Summit - 08 Sept 2014 - NTT - High Performance vSwitch
PPTX
DPDK summit 2015: It's kind of fun to do the impossible with DPDK
PDF
DPDK Summit 2015 - NTT - Yoshihiro Nakajima
PPSX
FD.io Vector Packet Processing (VPP)
PPSX
FD.IO Vector Packet Processing
PDF
LinuxConJapan2014_makita_0_MACVLAN.pdf
PPTX
6WINDGate™ - Accelerated Data Plane Solution for EPC and vEPC
PDF
Software Innovations and Control Plane Evolution in the new SDN Transport Arc...
PDF
Next Steps in the SDN/OpenFlow Network Innovation
PDF
SR-IOV ixgbe Driver Limitations and Improvement
Summit 16: How to Compose a New OPNFV Solution Stack?
High Performance Networking Leveraging the DPDK and Growing Community
DPDK Summit - 08 Sept 2014 - 6WIND - High Perf Networking Leveraging the DPDK...
NFV Infrastructure Manager with High Performance Software Switch Lagopus
Network Virtualization & Software-defined Networking
IRATI @ RINA Workshop 2014, Dublin
OpenStack Paris Meetup on Nfv 2014/10/07
Openstack Neutron & Interconnections with BGP/MPLS VPNs
dpdk acceleration techniques ncdşs şdcnş
Wireless openflow (english)
DPDK Summit - 08 Sept 2014 - NTT - High Performance vSwitch
DPDK summit 2015: It's kind of fun to do the impossible with DPDK
DPDK Summit 2015 - NTT - Yoshihiro Nakajima
FD.io Vector Packet Processing (VPP)
FD.IO Vector Packet Processing
LinuxConJapan2014_makita_0_MACVLAN.pdf
6WINDGate™ - Accelerated Data Plane Solution for EPC and vEPC
Software Innovations and Control Plane Evolution in the new SDN Transport Arc...
Next Steps in the SDN/OpenFlow Network Innovation
SR-IOV ixgbe Driver Limitations and Improvement
Ad

More from harryvanhaaren (6)

PDF
The 7 Deadly Sins of Packet Processing - Venky Venkatesan and Bruce Richardson
PPTX
Symmetric Crypto for DPDK - Declan Doherty
PDF
Performance Lessons learned in vRouter - Stephen Hemminger
PPTX
Packet Framework - Cristian Dumitrescu
PDF
Project growth & Next steps - Thomas monjalon
PDF
OVS and DPDK - T.F. Herbert, K. Traynor, M. Gray
The 7 Deadly Sins of Packet Processing - Venky Venkatesan and Bruce Richardson
Symmetric Crypto for DPDK - Declan Doherty
Performance Lessons learned in vRouter - Stephen Hemminger
Packet Framework - Cristian Dumitrescu
Project growth & Next steps - Thomas monjalon
OVS and DPDK - T.F. Herbert, K. Traynor, M. Gray

Recently uploaded (20)

PDF
Comparative analysis of machine learning models for fake news detection in so...
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
PDF
Enhancing plagiarism detection using data pre-processing and machine learning...
PDF
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
PDF
EIS-Webinar-Regulated-Industries-2025-08.pdf
PDF
Data Virtualization in Action: Scaling APIs and Apps with FME
PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PDF
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
PDF
Rapid Prototyping: A lecture on prototyping techniques for interface design
PDF
Improvisation in detection of pomegranate leaf disease using transfer learni...
PPTX
future_of_ai_comprehensive_20250822032121.pptx
PPTX
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
PDF
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
PDF
SaaS reusability assessment using machine learning techniques
PPTX
Internet of Everything -Basic concepts details
PDF
Auditboard EB SOX Playbook 2023 edition.
PPTX
SGT Report The Beast Plan and Cyberphysical Systems of Control
PPTX
Module 1 Introduction to Web Programming .pptx
PDF
Lung cancer patients survival prediction using outlier detection and optimize...
Comparative analysis of machine learning models for fake news detection in so...
Convolutional neural network based encoder-decoder for efficient real-time ob...
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
Enhancing plagiarism detection using data pre-processing and machine learning...
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
EIS-Webinar-Regulated-Industries-2025-08.pdf
Data Virtualization in Action: Scaling APIs and Apps with FME
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
Rapid Prototyping: A lecture on prototyping techniques for interface design
Improvisation in detection of pomegranate leaf disease using transfer learni...
future_of_ai_comprehensive_20250822032121.pptx
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
SaaS reusability assessment using machine learning techniques
Internet of Everything -Basic concepts details
Auditboard EB SOX Playbook 2023 edition.
SGT Report The Beast Plan and Cyberphysical Systems of Control
Module 1 Introduction to Web Programming .pptx
Lung cancer patients survival prediction using outlier detection and optimize...

Hotplug and Virtio - Tetsuya Mukawa

  • 1. Userspace 2015 | Dublin Dynamic NFV Deployment with Port Hotplug and Virtio Tetsuya Mukawa, IGEL Co., Ltd.
  • 2. About me • I am a software engineer at IGEL Co., Ltd. • Roughly 10 years experience in embedded linux products. • Currently, I am one of developers of Lagopus, an open source software switch. – https://lagopus.github.io/
  • 3. Agenda • Current Status of Port Hotplug • Dynamic NFV Deployment with Port Hotplug and Virtio – Current limitations – What will be solved in DPDK-2.2/2.3?
  • 4. Current Status of Port Hotplug
  • 5. Port 0 • After starting an application – attach to a port – detach from a port • To support Port Hotplug, each PMD and EAL needs to be changed. Detached Port 2 Attached Port 1 DPDK application What is Port Hotplug?
  • 6. Supported OS and UIO module • Linux – igb_uio – uio_pci_generic – VFIO • BSD – nic_uio No support for VFIO
  • 7. Supported PMD PMD Supported version Submitter of Port Hotplug bond 2.1 Bernard Iremonger ring 2.1 Bernard Iremonger virtio 2.1 Bernard Iremonger i40e 2.1 Bernard Iremonger ixgbe 2.1 Bernard Iremonger e1000 2.1 Bernard Iremonger fm10k 2.1 Michael Qiu null 2.0 Tetsuya Mukawa pcap 2.0 Tetsuya Mukawa Thanks for hard working of Bernard and Michael.
  • 8. Not Supported PMD • Below PMDs – af_packet – mlx4 – xenvirt – bnx2x – cxgbe – mpipe
  • 9. Dynamic NFV Deployment with Port Hotplug and Virtio
  • 10. Background NFVNFVNFV • In some cases, NFV is needed to be deployed on demand.
  • 11. Block Diagram of Host NFVNFVNFV Detail of Host Port Software Switch (SSW) Hotplugged Port for NFV NFV • To deploy NFV dynamically, followings are needed. – Software Swtich(SSW) – Port Hotplug function – Hotplugged port for NFV
  • 12. Block Diagram of NFV NFVNFVNFV Detail of Host Port Software Switch (SSW) Hotplugged Port for NFV NFV Detail of NFV VM / Container Virtual NIC Driver Virtual NIC Virtual Wire to SSW Application
  • 13. Component description Port Software Switch (SSW) Hotplugged Port for NFV VM / Container Virtual NIC Driver Virtual NIC Virtual Wire to SSW Application Component Description VM / Container Isolation to separate NFV and Software switch Application NFV application Virtual NIC Driver Device driver for virtual NIC Virtual NIC Virtual NIC device to connect to SSW Virtual Wire to SSW Connection between Virtural NIC and SSW Hotplugged Port for NFV Abstraction for SSW to treat NFV connection as normal port Software Switch Packet distributor
  • 14. Which legacy implementations can be used? Feature Available implementation VM / Container QEMU/KVM(*1) Virtual NIC Driver virtio-net PMD Virtual NIC virtio-net Virtual Wire to SSW vhost-user / vhost-cuse Hotplugged Port for NFV Port Hotplug API(*2) librte_vhost Software Switch Lagopus / dpdk-ovs / etc... (*1) No support for container. (*2) There is no PMD for this purpose. Port Software Switch (SSW) Hotplugged Port for NFV VM / Container Virtual NIC Driver Virtual NIC Virtual Wire to SSW Application
  • 15. Current limitations • No PMD for NFV connected port. • No Support for container like docker. • Denial of reconnection. – Currently, when SSW is killed or stopped, then restarted, NFV cannot connect to SSW. To connect again, NFV also needs to be restarted.
  • 16. What will be solved in DPDK-2.2/2.3? • “vhost PMD” for NFV connected port. – The PMD will support Port Hotplug. • Container support. – Virtio and vhost will be used. – All containers will be supported.
  • 17. Conclusion • So far, we have a few issues. 1. No PMD for NFV connected port. 2. No container support. 3. Denial of reconnection. • Hopefully “1” and “2” will be solved in half year. • But still “3” will be left.