From nobody Mon May 09 22:23:41 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 210951AD9548 for ; Mon, 9 May 2022 22:23:42 +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 4KxwgK63DZz3tVW for ; Mon, 9 May 2022 22:23:41 +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 B095C195D4 for ; Mon, 9 May 2022 22:23:41 +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 249MNfGA088158 for ; Mon, 9 May 2022 22:23:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 249MNfcf088157 for bugs@FreeBSD.org; Mon, 9 May 2022 22:23:41 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: Mon, 09 May 2022 22:23:41 +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: mhorne@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mhorne@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to bug_status attachments.created 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=1652135021; 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=qar6qhb46Wde7It6sT63o5TATS7Bkle0//TmAzEwY20=; b=G4kI5n2rL8MTUqQnZMIxY56eMkzQhQsATmSbNGVr90QDovu0Av7vwUgty/G/dYqVYOcKlL ogucXW8SR0qU6K9iLFhEsVRAxaavkxf7nwxEyGp9E91DFa5HDR4eb0qXEFfhdGPEMAWhHy PlbOUMI6OB3lrmmn0GZhz8N3C2n5iWwLtx8uRwrlKoPj+zKjq079fgpDJVzAqrKf5yeUvK XW0tRheENVFcbg6DUO7TaT7ZoCIOjubo3uEOTUzW6IxzMBQ5pY9IDcCqKbaaEtVMQlpDFk fkHIuLb2Qv5636z1aTCu9eBTIloIKzgZNjfA4qjwU+WfA/yOQZk3kl4N/Ro+lg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652135021; a=rsa-sha256; cv=none; b=Q7ShM1oBLkQFTy+0+4K/chffLaT9+pKjBySXoXblAF21OENH7g2ZB8EXIzXV2yGBOvCTKq 8lzmWtjTQvIluSZXdpzAG7hcaHu3gRNnjybeF9XgNz+em3MT6WqKoLam5mRHEO8THjp6EI 6FaxTmI36z7vs2UsDPn71s1Up3w6ZO35lz56rxt75m85FhVY3RUP1G+X47BytPT1qvuGvm qvKKkDxJWgfgUbYY3OGOt5FvTtCAMdqC6o1gZ+vHbDj0MICQ8LGu8nRU8rT58gR/EGXj27 OMvynK2bB0qFllFgdP0NdtRx05WN9+SdIyyk+P7SUu0vENjzp9wCTefo21yhtw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263817 Mitchell Horne changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mhorne@freebsd.org Assignee|bugs@FreeBSD.org |mhorne@freebsd.org Status|New |In Progress --- Comment #2 from Mitchell Horne --- Created attachment 233828 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D233828&action= =3Dedit remove duplicate packet counts from if_dwc Hi, Thanks for the report, I agree with your analysis. I have attached a patch that removes the duplicate if_inc_counter() calls in dwc_harvest_stats(). If you are able, please test that it gives the correct result. --=20 You are receiving this mail because: You are the assignee for the bug.=