From nobody Wed Oct 16 07:23:40 2024 X-Original-To: dev-commits-src-all@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 4XT2Wc3SxSz5ZcbC; Wed, 16 Oct 2024 07:23:40 +0000 (UTC) (envelope-from git@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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XT2Wc2fY6z4hrS; Wed, 16 Oct 2024 07:23:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729063420; 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; bh=7gFdcAB1FhPtmvgj3h1EazFr8xfsjKCIwSrJYEAF5fU=; b=rGvdfB/OapuALQzDTLSTa4d18EOheQwpfWgp43jqxDg99jt0niPASYgZMjT0bk0DwOvsVf xjjGbSO5L6yDML+heTzTrw3VdeVx+ejVTkvyjOOELf6Z/2LygBeKgdHC2xHpBknHF5De14 V4in7Ir43iWZpgIQ093K/JHZK6sHfKUzZHh6XpYl111eNQyDOASlH2RP5/wnCCgBsfZ01W KFz18koNaKs3WEMO9taCAc5FYixCe8dxDdMsBNVTVH1V6Lw8HNlvA/9byz1/E/XxyLteyv eNIH7g6rMffZ8BcdmOimx92CSkEkJUIxrsdOGnZ4b1lP/5r7GBFa4pwx4TJmMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729063420; 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; bh=7gFdcAB1FhPtmvgj3h1EazFr8xfsjKCIwSrJYEAF5fU=; b=xe1G/K9TfB4U83FItIwHWwVuyLvf39hdmB50iKgYlmwM5ua5AfsU/LTyQQckWgJNFXHMEz HGTyfEw5N5IeZ+EuulQNmy71yp669iZjbpeOonW+049u3TpjXS/uXcbJoQt5OkBuw8ve/C qCMxC7NX0r3R4TJ68qHXpH4P56eE3XjTkN+9b4wLCx0uzipgjR784TAUmj7SxjzIZ+MWRw 77cU8p6efdTTDW2ZB1Ta+Cwu8vc4sABtiF1Cn9pOXODZuvbD1wgz873fimnnYij2gBThmS OXYz31EoVD1fCc2aKEqlE39sh0/IuB4ppVdGQHIKQ3r+GBUiShlzdmhvc2W75A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729063420; a=rsa-sha256; cv=none; b=LF1k4BA+V9pyK+85PFc2+JEvzmj9jxFMwtfxrlGfeX/lv5H1d4bYkE4ugFkISrMd5wRxri XSNuRoO47Gsmmb1I1KK6k/4v25zmGWmle0coJUk7EyGavgPrK53AAbJ4H6MjMLECEnNHNa U0MzSfiWZ93ZNUkH5HIOykakgy6V1+q6eGnkjnBLkdQqnGci7sYeVLGlLvnIev/VVWLt5r N2BnzkRMmyQsUjA3i5fu/eCzcDdnVU4DsWKomED670W8t5EnMXRe9bp7ogR9jixP5F1whe 2zelFs3XWYzaT7NtHv9LZ+aO4i9d08eKc2LzaHyCCFoE/RBCNB2+LGptIJotmw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4XT2Wc2GFdzwL5; Wed, 16 Oct 2024 07:23:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49G7NeFC059997; Wed, 16 Oct 2024 07:23:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49G7NeGE059994; Wed, 16 Oct 2024 07:23:40 GMT (envelope-from git) Date: Wed, 16 Oct 2024 07:23:40 GMT Message-Id: <202410160723.49G7NeGE059994@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Peter Jeremy Subject: git: bf8d4cfe347b - main - eqos: Fix group address filtering. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: peterj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bf8d4cfe347b34a9ca21e2cdab5f9bba09be73bf Auto-Submitted: auto-generated The branch main has been updated by peterj: URL: https://cgit.FreeBSD.org/src/commit/?id=bf8d4cfe347b34a9ca21e2cdab5f9bba09be73bf commit bf8d4cfe347b34a9ca21e2cdab5f9bba09be73bf Author: Peter Jeremy AuthorDate: 2024-10-16 07:20:30 +0000 Commit: Peter Jeremy CommitDate: 2024-10-16 07:20:30 +0000 eqos: Fix group address filtering. The hash filter table order in the GMAC matches the order of the top bit of the hashed destination address. See the description of GMAC_MAC_Hash_table_Reg0 in RK3568 TRM part 2, section 20.4.2. PR: 282074 Reviewed by: manu MFC after: 7 days Differential Revision: https://reviews.freebsd.org/D47115 --- sys/dev/eqos/if_eqos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/eqos/if_eqos.c b/sys/dev/eqos/if_eqos.c index 566f6ffd0a42..6f58c96a10b7 100644 --- a/sys/dev/eqos/if_eqos.c +++ b/sys/dev/eqos/if_eqos.c @@ -442,8 +442,8 @@ eqos_setup_rxfilter(struct eqos_softc *sc) WR4(sc, GMAC_MAC_ADDRESS0_LOW, val); /* Multicast hash filters */ - WR4(sc, GMAC_MAC_HASH_TABLE_REG0, hash[1]); - WR4(sc, GMAC_MAC_HASH_TABLE_REG1, hash[0]); + WR4(sc, GMAC_MAC_HASH_TABLE_REG0, hash[0]); + WR4(sc, GMAC_MAC_HASH_TABLE_REG1, hash[1]); /* Packet filter config */ WR4(sc, GMAC_MAC_PACKET_FILTER, pfil);