From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yegor Yefremov Subject: Re: KS8695: possible NAPI issue Date: Fri, 5 Mar 2010 16:00:11 +0100 Message-ID: References: <4B8D1C02.1010204@softplc.com> <1267798077.2576.17.camel@myhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Dick Hollenbeck , netdev@vger.kernel.org, zealcook@gmail.com To: "Figo.zhang" Return-path: Received: from ey-out-2122.google.com ([74.125.78.25]:59444 "EHLO ey-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753318Ab0CEPAN (ORCPT ); Fri, 5 Mar 2010 10:00:13 -0500 Received: by ey-out-2122.google.com with SMTP id 25so606826eya.19 for ; Fri, 05 Mar 2010 07:00:11 -0800 (PST) In-Reply-To: <1267798077.2576.17.camel@myhost> Sender: netdev-owner@vger.kernel.org List-ID: >> My tests look like following: >> >> 1. system start >> 2. ping one host: O.K. >> 3. nc -l -p 5000 > /var/test (about 1Mb): O.K. >> 4. ping the same host: failed > 1. type "arp" command, see the arp is exit or expire? debian:~# nc -l -p 5000 > /var/zImage debian:~# ping -c 1 192.168.1.38 PING 192.168.1.38 (192.168.1.38) 56(84) bytes of data. >>From 192.168.1.66 icmp_seq=1 Destination Host Unreachable --- 192.168.1.38 ping statistics --- 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms debian:~# arp Address HWtype HWaddress Flags Mask Iface 192.168.1.38 (incomplete) eth0 192.168.1.36 ether 00:10:18:39:19:aa C eth0 > 2. at this point, see is it still have RX interrpt and receive packet in > ks8695_rx()? (in some watchpoint add printk). I've inserted some printks and I can see that interrupts are coming and the received count will be increased. I can also see my system sending arp requests. Even this ping request is visible in wireshark and its reply, but the ping utility sees nothing of it.