Project

General

Profile

Actions

Feature #3131

closed

EthernetTransport: re-enable TPACKET_V3 for capture if kernel and libpcap are recent enough

Added by Davide Pesavento over 8 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Category:
Faces
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

We disabled TPACKET_V3 in #1511 as a workaround for a Linux kernel bug. The bug was finally fixed in Linux v3.19, released earlier this year. Recently libpcap also received some patches to improve its behavior with TPACKET_V3 and recent kernels.

We should detect if the system has a recent enough combination of kernel and libpcap, and stop disabling TPACKET_V3 in that case. This should improve the performance of the EthernetTransport receive path, and might help with #2441.


Related issues 1 (0 open1 closed)

Related to NFD - Bug #1511: EthernetFace cannot receive on Ubuntu 14.04ClosedDavide Pesavento04/20/2014

Actions
Actions

Also available in: Atom PDF