Date: Thu, 13 Aug 2026 02:00:25 +0000 Message-ID: <6a7d2539.324ac.40a1d50e@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by nprice: URL: https://cgit.FreeBSD.org/src/commit/?id=7fd3c8d6028827b5becb2010baf43923841b3029 commit 7fd3c8d6028827b5becb2010baf43923841b3029 Author: Nick Price <nprice@FreeBSD.org> AuthorDate: 2026-07-19 02:27:36 +0000 Commit: Nick Price <nprice@FreeBSD.org> CommitDate: 2026-08-13 02:00:13 +0000 dpaa2: Apply if_flags and MAC filters in dpaa2_ni_init() make sure interface flags and filters are reprogrammed during init(). The config isn't pushed into the hardware when the interface is down but the flags are still being set, so we need to do the initial programming ourselves. This fixes bridge and multicast behavior. PR: 292006 Reported by: jhibbits Approved by: adrian Reviewed by: jhibbits Differential Revision: https://reviews.freebsd.org/D58330 (cherry picked from commit dc12e3e0e72a73f1ad1a14d8d0fa4e2147151720) Signed-off-by: Nick Price <nprice@FreeBSD.org> --- sys/dev/dpaa2/dpaa2_ni.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sys/dev/dpaa2/dpaa2_ni.c b/sys/dev/dpaa2/dpaa2_ni.c index f85dc41a748c..435b0fdf4085 100644 --- a/sys/dev/dpaa2/dpaa2_ni.c +++ b/sys/dev/dpaa2/dpaa2_ni.c @@ -2491,6 +2491,17 @@ dpaa2_ni_init(void *arg) __func__, error); } + error = dpaa2_ni_setup_if_flags(sc); + if (error) { + device_printf(dev, "%s: failed to update interface flags: " + "error=%d\n", __func__, error); + } + error = dpaa2_ni_update_mac_filters(ifp); + if (error) { + device_printf(dev, "%s: failed to update MAC filters: " + "error=%d\n", __func__, error); + } + DPNI_LOCK(sc); /* Announce we are up and running and can queue packets. */ if_setdrvflagbits(ifp, IFF_DRV_RUNNING, IFF_DRV_OACTIVE);home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a7d2539.324ac.40a1d50e>
