blob: e4310a16cca6a2d29db4048fcfb22110c767d92a [file] [log] [blame]
The PF_RING library is now able to handle DNA adapters simply using the prefix dna:
before their name. Example "pfcount -i dna1".
With DNA you can dramatically increase the packet capture and transmission speed as the
kernel layer is bypassed and applications can communicate directly with drivers.
In order to exploit DNA, you need a DNA-aware driver. Currently three driver families
are currently available:
1 Gbit
- e1000e (RX and TX)
- igbe (RX and TX)
10 Gbit
- ixgbe (RX and TX)
These drivers can be found in drivers/DNA. Please refer to drivers/DNA/README.DNA
for additional information about this matter.
With both drivers you can achieve wire rate at any packet size. You can test RX
using the pfcount application, and TX using the pfsend application.
IMPORTANT
---------
Note that in case of TX, the transmission speed is limited by the RX performance. This is
because when the receiver cannot keep-up with the capture speed, the ethernet NIC sends
ethernet PAUSE frames back to the sender to slow it down. If you want to ignore these frames
and thus send at full speed, you need to disable autonegotiation and ignore them
(ethtool -A eth? autoneg off rx off tx off).
-------------------------
Luca Deri <deri@ntop.org>