NAPI and libdde_linux26_net

Alexander Valitov valitov79 at
Tue Apr 14 14:55:58 CEST 2009


> Current DDE is based on Linux, so don't expect things from
> later Linux kernels to work properly.
> napi_struct as a new way of handling NAPI seems to have been introduced
> in a later version (quick google indicates something like 2.6.24).

After performing some RTFM actions I’ve found out that it’s not really hard
to back port latest drivers from new to old NAPI. Until driver does not
create multiple NAPI structures per device (possible if NIC is kind of
modern, SMP oriented and can support multiple receive queues with CPU
affinity and flow separation).
Here are useful links for those who might be interested in: – old NAPI (<2.6.24) - new NAPI (>=2.6.24)

Regarding Intel NICs, driver that supports both old and new NAPI is provided
by Intel corp.. I’ve downloaded it from official site and managed to get it
built and running with ORe (it supports my e1000 NIC - 8086:10d3, while
driver from svn repo does not).

Still. In my opinion it is a good thing to have new NAPI support in DDE even
if it’s only network driver specific interface. But I guess you don’t have
plans for adding such a feature to DDE.

Best Regards,
  Alexander Valitov
View this message in context:
Sent from the L4 mailing list archive at

More information about the l4-hackers mailing list