1 / 7

Enrich your NIC's capabilities with DPDK Soft NIC

Enrich your NIC's capabilities with DPDK Soft NIC. Cristian Dumitrescu, Jasvinder Singh, Reshma Pattan & Kevin Laatz Intel FOSDEM 2019. Why Soft NIC?. In DPDK, we have: Many ethdev APIs. Lots of NIC vendors. Not all NICs support the same features.

claudiar
Download Presentation

Enrich your NIC's capabilities with DPDK Soft NIC

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Enrich your NIC's capabilities with DPDK Soft NIC Cristian Dumitrescu, Jasvinder Singh, Reshma Pattan & Kevin Laatz Intel FOSDEM 2019

  2. Why Soft NIC? • In DPDK, we have: • Many ethdev APIs. • Lots of NIC vendors. • Not all NICs support the same features. • Soft NIC provides a solution for this by providing a software fallback for physical NICs by augmenting missing features! • Benefits • Usability: Allows consumption of advanced DPDK features without application redesign. • Performance: Allows performance boost of DPDK consumers apps. 1

  3. Soft NIC Overview 2

  4. Soft NIC Internals • Configuration Script • Provision resources. • Create and configure pipelines. • Application Thread / Service Cores • Configure Soft NIC. • Read packets from/write packets to Soft NIC queues. • Update Soft NIC: Flow, QoS, Security. • Soft NIC Threads • Call the Soft NIC run API to execute the pipelines assigned to current thread. 3

  5. Soft NIC Use Cases - Available feature • L2 Fwd (Switching). • L3 Fwd (Routing). • Flow classification (Firewall, encap, NAT). • Traffic management (Metering and Policing, QoS Scheduler). • Packet processing pipelines of complex work loads (vBNG/vBRAS). - Missing feature - Application ACL Routing Packet TX Packet RX HQoS Flow Classification Metering/ Policing Routing APP (CPU) Physical NIC only ACL Routing Packet TX Packet RX HQoS With Soft NIC Flow Classification Metering/ Policing Routing APP (CPU) Uplink Processing Blocks Downlink Processing Blocks 4

  6. Recap & References • Key take aways • Soft NIC provides a software fallback for physical NICs. • Consume advanced DPDK features without application redesign. • Potential performance improvement for consumer applications. • Many use cases – From simple forwarding to complex work loads. • DPDK Soft NIC documentation https://doc.dpdk.org/guides/nics/softnic.html 5

  7. Cristian Dumitrescu cristian.dumitrescu@intel.com Jasvinder Singh jasvinder.singh@intel.com Reshma Pattan reshma.pattan@intel.com Kevin Laatz kevin.laatz@intel.com Thank you!Questions? 6

More Related