# PF_RING and transparent_mode | ntop

> Many PF_RING users know that for avoid patching the Linux kernel, as of PF_RING 4.x packets are received though NAPI. This means that the packet journey is th

[Blog](https://www.ntop.org/blog/)[PF\_RING](https://www.ntop.org/category/pf_ring/)

# PF\_RING and transparent\_mode

February 2, 20111 min read

Many PF\_RING users know that for avoid patching the Linux kernel, as of PF\_RING 4.x packets are received though NAPI. This means that the packet journey is the same used in standard Linux, thus the performance improvement with respect to vanilla Linux is minimal (< 5%) although PF\_RING allows to do many more things than the standard AF\_PACKET.

In order to boost performance PF\_RING supports a parameter named transparent\_mode that can be used when the module is loaded into the kernel as follows *insmod pf\_ring.ko transparent\_mode=X* where X can either be set to 0, 1 or 2. Its meaning changes depending on the NIC driver used for the interface on which you hook your PF\_RING-based application (e.g. pfcount); so it might be that on one interface you have a standard driver, and on another interface you have a PF\_RING-aware driver. Currently all supported PF\_RING-aware drivers reside in [PF\_RING/drivers](https://github.com/ntop/PF_RING) in addition to [TNAPI](https://www.ntop.org/category/tnapi/). Note that in the case of [DNA](https://www.ntop.org/products/packet-capture/pf_ring/) drivers, as the kernel is totally bypassed, the transparent\_mode parameter has no effect.

The following table explains the meaning of this parameter.

| Mode | Standard driver | PF\_RING-aware driver | Packet Capture Acceleration |
| --- | --- | --- | --- |
| 0 | Packets are received through Linux NAPI | Same as Vanilla Linux |  |
| 1 | Packets are received through Linux NAPI | Packets are passed to NAPI (for sending them to PF\_RING-unaware applications) and copied directly to PF\_RING for PF\_RING-aware applications (i.e. PF\_RING does not need NAPI for receiving packets) | Limited |
| 2 | The driver sends packets only to PF\_RING so PF\_RING-unaware applications do not see any packet | The driver copies packets directly to PF\_RING only (i.e. NAPI does not receive any packet) | Extreme |

## Keep reading

centoJan 25, 2026

### [nProbe Cento at Scale: Flow Offload Acceleration on Napatech](https://www.ntop.org/nprobe-cento-at-scale-flow-offload-acceleration-on-napatech/)

High-speed networks continue to push the limits of software-based monitoring and security applications. As link speeds grow and traffic patterns become more complex, efficiently analyzing packets while maintaining per-flow state, for updating…

AnnounceApr 28, 2025

### [Released PF\_RING 9.0.0: Fully Fledged Hardware Flow Tracking](https://www.ntop.org/released-pf_ring-9-0-0-fully-fledged-hardware-flow-tracking/)

This is to announce a new PF\_RING release 9.0.0! This release brings significant improvements for a deeper flow tracking integrations, making PF\_RING even more powerful for building high-performance flow processing networking applications…

PF\_RINGAug 6, 2024

### [Released PF\_RING 8.8.0: Flow Table Offload and nVidia BlueField Support](https://www.ntop.org/released-pf_ring-8-8-flow-table-offload-and-nvidia-bluefield-support/)

This is to announce a new PF\_RING release 8.8.0! This release adds generic support for flow table offload, which is currently supported on Napatech adapters with Flow Manager enabled. This new technology…

## Try it on your own network

Download the free Community edition and see your first flows in five minutes.

[Download ntopng free](https://www.ntop.org/support/documentation/software-installation/)[Talk to an engineer](https://www.ntop.org/support/need-help/contacts/)
Source: https://www.ntop.org/pf_ring-and-transparent_mode/