Re: ns83820.c napi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux