NAPI and libdde_linux26_net
valitov79 at mail.ru
Tue Apr 14 14:55:58 CEST 2009
> Current DDE is based on Linux 126.96.36.199, 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:
http://www.linuxfoundation.org/en/Net:NAPI – old NAPI (<2.6.24)
http://lwn.net/Articles/244640/ - 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.
View this message in context: http://www.nabble.com/NAPI-and-libdde_linux26_net-tp23022198p23038904.html
Sent from the L4 mailing list archive at Nabble.com.
More information about the l4-hackers