PC Hardware, Part 3 Codexery

Network processor

Integrated circuit optimized for packet processing in networks.

Network processor

A network processor is a type of integrated circuit designed with features that are specifically aimed at networking tasks. Like a general-purpose CPU, it is usually programmable through software and shares many basic characteristics with the processors found in a wide range of devices.

The shift from older analog networks (like the public switched telephone network or analog TV/radio) to modern packet-switched networks—where voice, video, and data travel as packets—created a need for integrated circuits optimized to handle this kind of data. Network processors emerged with specialized architectures to speed up packet processing. Over time, they evolved into more complex and flexible chips. Newer models are programmable, meaning a single hardware design can perform many different functions depending on the software loaded onto it.

These processors are used to build various types of network equipment, including routers, software routers, switches, firewalls, session border controllers, intrusion detection and prevention devices, network monitoring systems, and secure cryptoprocessors for network security.

In 2013, Reconfigurable Match-Tables (RMT) were introduced to let switches run at high speeds while staying flexible about which network protocols are supported and how they are processed. The P4 programming language is used to program these chips. Barefoot Networks, a company built around RMT processors, was bought by Intel in 2019. An RMT pipeline has three main stages: a programmable parser, Match-Action tables, and a programmable deparser. The parser reads the packet in chunks, identifies protocols (like Ethernet, VLAN, IPv4), and extracts certain fields into a Packet Header Vector (PHV). Some PHV fields are reserved for special uses, such as indicating which headers are present or the total packet length. The protocols and fields to extract are typically programmable. The Match-Action tables read the input PHV, match fields using a crossbar and CAM memory, and produce a wide instruction that modifies one or more PHV fields along with supporting data. The output PHV then goes to the next Match-Action stage or to the deparser. The deparser takes the PHV, the original packet, and its metadata (to fill in missing bits not extracted into the PHV) and outputs the modified packet in chunks.

Introduced
2013
Introduced feature
Reconfigurable Match-Tables
Company based on rmt
Barefoot Networks
Acquisition
Intel purchased Barefoot Networks in 2019
Programming language for rmt
P4

Lore & Background

Network processors evolved from the need to handle packet data in modern telecommunications networks, which use packet switching for voice, video, and data, as opposed to older analog signal networks like the PSTN or analog TV/Radio. These processors have specific features or architectures to enhance and optimize packet processing. Over time, they evolved into more complex and flexible integrated circuits, becoming programmable so that a single hardware design can undertake multiple functions depending on the installed software.

In 2013, Reconfigurable Match-Tables (RMT) were introduced to allow switches to operate at high speeds while maintaining flexibility regarding which network protocols are enabled and how they are processed. The P4 programming language is used to program these chips. Barefoot Networks was based around RMT processors and was later purchased by Intel in 2019. An RMT pipeline consists of three main stages: a programmable parser, Match-Action tables, and a programmable deparser. The parser reads packet chunks to identify protocols and extracts fields into a Packet Header Vector (PHV). Match-Action tables match fields using a crossbar and CAM memory, producing instructions that operate on the PHV. The deparser reassembles the modified packet.

Network processors are used in equipment such as routers, software routers, switches, firewalls, session border controllers, intrusion detection and prevention devices, network monitoring systems, and network security devices (secure cryptoprocessors). Generic functions include pattern matching, key lookup, computation, data bitfield manipulation, queue management, control processing, and quick allocation and re-circulation of packet buffers.

Reader's Guide

Network processors are significant because they provide a programmable, optimized platform for handling the high-speed packet processing required in modern telecommunications networks. Their evolution from fixed-function circuits to programmable devices allowed a single hardware design to serve multiple roles, reducing the need for specialized chips. The introduction of Reconfigurable Match-Tables in 2013 further enhanced flexibility by enabling switches to support new protocols without hardware changes, using the P4 programming language. This approach was later extended to Network Interface Controllers via FlexNIC, allowing servers to send and receive packets at high speeds with reduced CPU overhead. Architecturally, network processors employ pipelines of processors, parallel processing with multithreading, specialized microcoded engines, and multicore designs for higher-layer processing. Traffic management, once handled by separate co-processors, became an integral part of the network processor, occupying substantial silicon area. Modern network processors also include low-latency on-chip interconnection networks for efficient inter-core communication. Their legacy lies in enabling a wide range of network equipment—from routers and switches to security devices—to perform tasks such as packet forwarding, quality of service enforcement, access control, encryption, and TCP offload processing, all through software-defined functionality.

Did You Know?

More in PC Hardware, Part 3 1-24

Spotted an error? Know more?

Reader corrections go straight into our review queue. Suggest an edit · How this site is sourced

Comments

Loading…
Open in the interactive codex →