How hard to convert a non napi driver to napi driver? Is there any step by step to follow to convert? Leigh -----Original Message----- From: linux-net-owner@vger.kernel.org [mailto:linux-net-owner@vger.kernel.org]On Behalf Of Jason Lunz Sent: Thursday, December 19, 2002 10:55 AM To: linux-net@vger.kernel.org Subject: Re: ns83820.c napi leigh@softtech.co.nz said: > Is ns83820.c napi driver? you can find out with grep. If it passes skbuffs to the net core using netif_rx, it's an old-style non-napi driver. If it uses netif_receive_skb, it's a napi driver. If it has both, it's probably got an #ifdef USE_NAPI somewhere that only compiles in one or the other. > http://www.kvack.org/~blah/ns83820.c $ egrep (netif_rx|net_receive_skb) ns83820.c if (NET_RX_DROP == netif_rx(skb)) { no napi. Jason - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html