Skip to main content
QUICK REVIEW

[Paper Review] Towards a Stateful Forwarding Abstraction to Implement Scalable Network Functions in Software and Hardware

Luca Petrucci, Nicola Bonelli|arXiv (Cornell University)|Nov 9, 2016
Software-Defined Networks and 5GComputer Science34 references4 citations
TL;DR

This paper proposes a stateful forwarding abstraction based on an Extended Finite State Machine (EFSM) model, implemented via the Open Packet Processor (OPP) framework, to enable efficient, scalable deployment of high-performance network functions in both software and hardware. It demonstrates that flow-level state consistency enables seamless multi-core scaling in software and hardware offload support for functions like firewalls and NATs.

ABSTRACT

An effective packet processing abstraction that leverages software or hardware acceleration techniques can simplify the implementation of high-performance virtual network functions. In this paper, we explore the suitability of SDN switches' stateful forwarding abstractions to model accelerated functions in both software and hardware accelerators, such as optimized software switches and FPGA-based NICs. In particular, we select an Extended Finite State Machine abstraction and demonstrate its suitability by implementing the Linux's iptables interface. By doing so, we provide the acceleration of functions such as stateful firewalls, load balancers and dynamic NATs. We find that supporting a flow-level programming consistency model is an important feature of a programming abstraction in this context. Furthermore, we demonstrate that such a model simplifies the scaling of the system when implemented in software, enabling efficient multi-core processing without harming state consistency.

Motivation & Objective

  • Address the challenge of implementing high-performance, scalable virtual network functions (VNFs) in multi-tenant, commodity server environments.
  • Overcome the limitations of existing SDN abstractions like OpenFlow, which lack support for stateful operations and hardware acceleration.
  • Enable seamless hardware and software acceleration of complex network functions such as stateful firewalls, load balancers, and dynamic NATs.
  • Provide a consistent, flow-level programming model that supports runtime reconfiguration and multi-core scaling without sacrificing state consistency.

Proposed method

  • Adopt the Open Packet Processor (OPP) framework, an extension of OpenState, to expose an Extended Finite State Machine (EFSM) abstraction for network function programming.
  • Map the Linux iptables interface onto the OPP abstraction to demonstrate support for common stateful network functions.
  • Implement the EFSM model using a pipeline of match-action tables (MATs) with flow-level state tracking, enabling consistent state management across packet flows.
  • Leverage software acceleration techniques (e.g., DPDK, Netmap) and hardware offload via smart NICs (e.g., FPGA-based NICs) to achieve high line-rate performance.
  • Design the abstraction to support runtime reconfiguration and dynamic migration of VNFs without disrupting active flows.
  • Ensure compatibility with existing software switches and hardware accelerators by using a standardized, extensible programming model based on MATs and EFSM semantics.

Experimental results

Research questions

  • RQ1Can a stateful forwarding abstraction based on EFSM be efficiently implemented in both software and hardware accelerators?
  • RQ2Does a flow-level consistency model enable scalable multi-core deployment of stateful network functions without sacrificing state integrity?
  • RQ3To what extent can the OPP abstraction model real-world network functions such as firewalls, load balancers, and dynamic NATs?
  • RQ4How does the proposed abstraction compare to existing solutions like OpenFlow, SoftFlow, Click, and NetBricks in terms of expressiveness, performance, and hardware offload support?
  • RQ5Can the abstraction be extended to support future hardware accelerators without requiring changes to the core programming model?

Key findings

  • The OPP-based EFSM abstraction successfully models complex, stateful network functions such as iptables-based firewalls, load balancers, and dynamic NATs.
  • The flow-level state consistency model enables efficient, lock-free multi-core scaling in software, maintaining state consistency across cores.
  • The implementation achieves high performance on commodity hardware, with the OPP software switch capable of line-rate forwarding at 10 Gbps and beyond.
  • Hardware offload is natively supported via smart NICs, enabling packet classification and stateful operations to be offloaded to FPGA-based NICs.
  • The abstraction is compatible with existing software accelerators like DPDK and Netmap, and the OPP implementation is available for integration with OFSoftSwitch.
  • A subset of the OPP API (mainly OpenState) is under consideration for inclusion in OpenFlow v1.6, indicating growing standardization interest.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.