From nobody Fri May 06 21:36:28 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9E60B1AD22B7 for ; Fri, 6 May 2022 21:36:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kw3mD21qYz3ly5 for ; Fri, 6 May 2022 21:36:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 264B123B54 for ; Fri, 6 May 2022 21:36:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 246LaSAA004422 for ; Fri, 6 May 2022 21:36:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 246LaSk6004421 for bugs@FreeBSD.org; Fri, 6 May 2022 21:36:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 263817] dwc: dwc driver will re-count the number of sent/received uni-cast mac address packets and multicast mac address packets Date: Fri, 06 May 2022 21:36:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jiahali@blackberry.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651872988; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aVdq8yn4+aw/QiM/1W2BAmwu6NoGuKoIfINOAg5uf5U=; b=vvBYjn2wZEYYvP4fkf2FRa7hSmx1dk4z6+PD8HiNC9S1g1/zzl9y5L6cOtm84s24oPHU0t nQzlGGTuUrMw2C+iadaxVE1/V8dbVL0IcBaPWitz4QbYAu8Fn8p1PATDeEJeV5LM2CAaxM Oon+SoMJQ84kWkTc2rAw/hUnwYMJdCPa82H3oFRhO6wZjLlD0944GzxCWz/d78R73c/Zbq pGdw102SKDurB74+QwAtn35sWnAuog8ikpl0/IAYV6Cn5grhpcY1lBwYpBckaeD2UyDa6h K9EgsuoZHfRSAoC06vRBWW3u+e+v7mykyMoYoIP+UlsSMCzJ/xBHxdoLFl2skA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651872988; a=rsa-sha256; cv=none; b=yfcfXSpg3pZQzbiIUqegMgBFpVIsGS0pW4NeYWXp50W4mF5JHEYGBJYmD+4BoSZ1xs36Bh tOMBezEtKqgYx7s8oLFTQJ8GU4FU9jpZJ9ssKa3lnBrVQR9PmqGL3rDiOCcV4TJrKHS2Dr isqhbNpAhhfAhjtaTpwtC7j2PeiZMAsirARLfr3ncZo3iVSnBH4zJzCEuuy3QjZY4BA22p 8XJ2cpXL+1rTxR/tCB9Pbrihv0FbBkpb809KP5i73tUjgaaRe6WtWW2UtjsxD8kGPjo+A0 FnahFjyqftPqb4Ob0q/vhhbAwHHNXRdpgHj1iHjJAtJ6wme4LgU3eBus8CzCvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263817 --- Comment #1 from Jiahao LI --- Update the test result for showing the number of counting tx/rx packets is doubled. The previous result did not show the doubled counting in rx, Ipkts. In dwc driver's Freebsd terminal root@generic:~ # arp -d 192.168.3.2 192.168.3.2 (192.168.3.2) deleted root@generic:~ # netstat -nI dwc0 Name Mtu Network Address Ipkts Ierrs Idrop Opkts O= errs Coll dwc0 1500 fa:97:92:f6:f1:09 20 0 0 42 = 0 0 dwc0 - 192.168.3.0/2 192.168.3.129 2 - - 2 = - - root@generic:~ # ping -c 1 192.168.3.2 PING 192.168.3.2 (192.168.3.2): 56 data bytes 64 bytes from 192.168.3.2: icmp_seq=3D0 ttl=3D64 time=3D0.606 ms --- 192.168.3.2 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/stddev =3D 0.606/0.606/0.606/0.000 ms root@generic:~ # netstat -nI dwc0 Name Mtu Network Address Ipkts Ierrs Idrop Opkts O= errs Coll dwc0 1500 fa:97:92:f6:f1:09 24 0 0 46 = 0 0 dwc0 - 192.168.3.0/2 192.168.3.129 3 - - 3 = - - Packets captured by the tcpdump at Host Terminal 1 $ sudo tcpdump -U -pi enp0s31f6 -en tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on enp0s31f6, link-type EN10MB (Ethernet), capture size 262144 by= tes 17:33:20.682566 fa:97:92:f6:f1:09 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x080= 6), length 60: Request who-has 192.168.3.2 tell 192.168.3.129, length 46 17:33:20.682597 8c:8c:aa:c1:2b:c3 > fa:97:92:f6:f1:09, ethertype ARP (0x080= 6), length 42: Reply 192.168.3.2 is-at 8c:8c:aa:c1:2b:c3, length 28 17:33:20.682807 fa:97:92:f6:f1:09 > 8c:8c:aa:c1:2b:c3, ethertype IPv4 (0x08= 00), length 98: 192.168.3.129 > 192.168.3.2: ICMP echo request, id 48389, seq 0, length 64 17:33:20.682864 8c:8c:aa:c1:2b:c3 > fa:97:92:f6:f1:09, ethertype IPv4 (0x08= 00), length 98: 192.168.3.2 > 192.168.3.129: ICMP echo reply, id 48389, seq 0, length 64 ^C 4 packets captured 4 packets received by filter 0 packets dropped by kernel --=20 You are receiving this mail because: You are the assignee for the bug.=