FreeBSD/src 091a1e7sys/dev/qlnx/qlnxe qlnx_os.c ecore_l2.c

qlnxe: Overhaul setting the multicast MAC filters

When operating the multicast MAC filters, the current usage of
ECORE_FILTER_ADD and ECORE_FILTER_REMOVE are rather misleading.
ECORE_FILTER_ADD reads "adding new filter", but it actually removes
any existing filters and then addes a new one. ECORE_FILTER_REMOVE
reads "removing a filter", but it actually removes all filters.
Let's use ECORE_FILTER_REPLACE and ECORE_FILTER_FLUSH instead to
avoid confusion.

In the current implementation, only one MAC address is passed to
ecore_sp_eth_filter_mcast() and any previously installed filters are
removed, hence it breaks the multicast function. That can be observed
via either assigning new IPv6 addresses to the interface or putting
the interface as a member of lagg(4) interface with LACP aggregation
protocol. Fix that by calculating the multicast filter bins directly
from multicast MAC addresses and replace the filters every time
the bins changes.


    [22 lines not shown]
DeltaFile
+37-153sys/dev/qlnx/qlnxe/qlnx_os.c
+21-20sys/dev/qlnx/qlnxe/ecore_l2.c
+3-8sys/dev/qlnx/qlnxe/ecore_vf.c
+4-5sys/dev/qlnx/qlnxe/ecore_l2_api.h
+1-4sys/dev/qlnx/qlnxe/qlnx_def.h
+66-1905 files

FreeBSD/src 281d578sys/dev/qlnx/qlnxe qlnx_os.c

qlnxe: Allow tapping the TX packets

Currently only the packets in the RX path can be captured by tcpdump
as the ETHER_BPF_MTAP call in the TX path is missing. Add it so that
packets in both directions can be captured.

PR:             290973
Reviewed by:    kbowling
MFC after:      5 days
Differential Revision:  https://reviews.freebsd.org/D54891

(cherry picked from commit 968647502ec21464ad3aecc7577ff0e8dfd41693)
(cherry picked from commit 425b9cec0b8ce15a6e67d54a73f4f38dc66a4ccc)
(cherry picked from commit ddfe98e8ccb120a0a5c42b2288694ecd2b70c80c)
DeltaFile
+1-0sys/dev/qlnx/qlnxe/qlnx_os.c
+1-01 files

FreeBSD/src 52609ccsys/dev/qlnx/qlnxe qlnx_os.c

qlnxe: Let ether_ioctl() handle SIOCSIFADDR ioctl

Since the change [1], the init routine qlnx_init() works as intended.
Let ether_ioctl() handle SIOCSIFADDR to simplify the code.

Combined with the change [1], this shall be a better fix for PR 287445.

[1] c10e6bc0f007 qlnxe: Avoid reinitializing the interface when it is already initialized

PR:             287445
Reviewed by:    kbowling
MFC after:      5 days
Differential Revision:  https://reviews.freebsd.org/D54888

(cherry picked from commit 4012b63889e40bb877bc0e4c8da1792bce472c08)
(cherry picked from commit 0f383f74b7398161c12a290e50b060baf45d2800)
(cherry picked from commit 20ffe22fcfe13b48a8e993cbf565f9cd9229a4b3)
DeltaFile
+0-19sys/dev/qlnx/qlnxe/qlnx_os.c
+0-191 files

FreeBSD/src aef23e8sys/dev/qlnx/qlnxe qlnx_os.c

qlnxe: Avoid reinitializing the interface when it is already initialized

qlnx_init_locked() unconditionally uninitialize the interface thus is
actually reinitializing the interface. Well the init routine qlnx_init()
is to initialize the interface by net stack when assigned with the first
inet or inet6 address. The ioctl SIOCSIFADDR for the first inet6 address
is handled by ether_ioctl() thus the interface is reinitialized no matter
it was initialized or not.

Add a driver status check for that to avoid reinitializing. Further plan
is removing SIOCSIFADDR ioctl from the driver and let ether_ioctl() handle
it.

Reviewed by:    kbowling
MFC after:      5 days
Differential Revision:  https://reviews.freebsd.org/D54887

(cherry picked from commit c10e6bc0f0079e90cb484323ad71d437f1882422)
(cherry picked from commit 8731ff4871d5397bae65bf184c44629a52c0e97b)
(cherry picked from commit ee6495580925b337f5851b6ee0f1188f81d7a6c8)
DeltaFile
+2-1sys/dev/qlnx/qlnxe/qlnx_os.c
+2-11 files

FreeBSD/src eeb4c04sys/dev/qlnx/qlnxe qlnx_os.c qlnx_def.h

qlnxe: Refactor setting the promiscuous and allmulti mode

There are two entry points to set the promiscuous and allmulti mode.
One is ioctl, and another is the init routine. Given they share almost
the identical logic, refactor a little to make the code more clear.

While here, for the ioctl, translate the error to EINVAL to avoid
confusing the net stack.

Reviewed by:    kbowling
MFC after:      5 days
Differential Revision:  https://reviews.freebsd.org/D54890

(cherry picked from commit 45b1718fadae7d56051ba04ef9d7a175a602a226)
(cherry picked from commit b8d2c1c367465506b66a1696483caec1d04b2ea0)
(cherry picked from commit 00ab0df79364f4567ad61f6a66eba1b2f0a7d507)
DeltaFile
+38-46sys/dev/qlnx/qlnxe/qlnx_os.c
+0-1sys/dev/qlnx/qlnxe/qlnx_def.h
+38-472 files

FreeBSD/src e16c965sys/dev/qlnx/qlnxe qlnx_os.c

qlnxe: Prevent potential concurrency between ioctls

The driver-managed status flags should be lock protected to be touched.
Also this can serialize ioctls those check the IFF_DRV_RUNNING status.

Reviewed by:    kbowling
MFC after:      5 days
Differential Revision:  https://reviews.freebsd.org/D54886

(cherry picked from commit 0df8a998a9fe28af659cb401c537c6d785e55f81)
(cherry picked from commit 285b25c080faf71c60de36e834ef31cf70e6b50d)
(cherry picked from commit 6e5b12acb66a9e269801b8d88c8f9838044d631c)
DeltaFile
+9-8sys/dev/qlnx/qlnxe/qlnx_os.c
+9-81 files

FreeBSD/src fb463bcsys/dev/qlnx/qlnxe qlnx_os.c

qlnxe: Fix setting the unicast MAC filter of RX path

When an Ethernet interface is added to lagg(4) as a child interface, its
type, aka if_type, is changed from IFT_ETHER to IFT_IEEE8023ADLAG. Well
changing the link-layer address of the lagg(4) interface will be
propagated to all child interfaces, hence the drivers of child interfaces
shall not presume the type of the interface will not be changed.

Meanwhile, on initializing, an ifnet has been fully attached and it is
guaranteed to have non-null link-layer address so stop NULL checking for
it.

Reviewed by:    kbowling
Fixes:          792226e53023 qlnxe: Allow MAC address override
MFC after:      5 days
Differential Revision:  https://reviews.freebsd.org/D54885

(cherry picked from commit f250852c9a0c1021c3be4b498e27cfc7b42a81db)
(cherry picked from commit 6d138e958ffb318595eec29b910cada414e2f86d)
(cherry picked from commit 93719f8c8348a5d13c9037352072ce67f530288b)
DeltaFile
+3-11sys/dev/qlnx/qlnxe/qlnx_os.c
+3-111 files

FreeBSD/src 18e4cb4sys/dev/qlnx/qlnxe qlnx_os.c qlnx_def.h

qlnxe: Avoid memcpy with same source and destination

In case the device is VF, qlnx_get_mac_addr() returns ha->primary_mac
hence it ends up memcpy with same source and destination. Refactor
slightly to avoid that.

Reviewed by:    kbowling
MFC after:      5 days
Differential Revision:  https://reviews.freebsd.org/D54884

(cherry picked from commit 3aeeedc7e0dc231c16406ff64f4a08a716964c40)
(cherry picked from commit 6462189595047800337aaf052e397d1aade3f9a7)
(cherry picked from commit ea1143bddbc3671f49219a6b2a054965deea0c63)
DeltaFile
+7-6sys/dev/qlnx/qlnxe/qlnx_os.c
+0-1sys/dev/qlnx/qlnxe/qlnx_def.h
+7-72 files

FreeBSD/src 610b813sys/dev/qlnx/qlnxe qlnx_os.c

qlnxe: Fix promiscuous and allmulti settings

PR:             278087

(cherry picked from commit e3ec564ecb9c2daa96a8db36052e50ea554fe598)
(cherry picked from commit e4f48fc20b56df8a03ab63fb867f49bfcc0e7eae)
DeltaFile
+22-11sys/dev/qlnx/qlnxe/qlnx_os.c
+22-111 files

FreeBSD/ports ec95d7cmultimedia/tsduck Makefile

multimedia/tsduck: use USES=java

Do not hardcode the openjdk11 dependency.
Do not depend on a bootstrap-openjdk package.

PR:     293386
Approved-by:    Thierry Lelegard (maintainer)
DeltaFile
+2-3multimedia/tsduck/Makefile
+2-31 files

FreeBSD/ports 52073bbnet-mgmt/victoria-logs distinfo pkg-plist

net-mgmt/victoria-logs: update to 1.46
DeltaFile
+5-5net-mgmt/victoria-logs/distinfo
+9-0net-mgmt/victoria-logs/pkg-plist
+2-3net-mgmt/victoria-logs/Makefile
+16-83 files

FreeBSD/ports 9903b6dastro/traccar pkg-plist distinfo

astro/traccar: update to 6.12
DeltaFile
+199-176astro/traccar/pkg-plist
+3-3astro/traccar/distinfo
+1-1astro/traccar/Makefile
+203-1803 files

FreeBSD/ports 1236852databases/mongodb70/files patch-src_third__party_boost_boost_log_utility_strictest__lock.hpp patch-src_third__party_boost_boost_numeric_conversion_detail_int__float__mixture.hpp

databases/mongodb70: fix build with clang 21

With clang 21 databases/mongodb70 fails to build, with errors similar to:

    In file included from src/third_party/boost/libs/log/src/default_sink.cpp:20:
    In file included from src/third_party/boost/boost/thread/locks.hpp:10:
    In file included from src/third_party/boost/boost/thread/lock_algorithms.hpp:11:
    In file included from src/third_party/boost/boost/thread/lock_types.hpp:18:
    In file included from src/third_party/boost/boost/thread/thread_time.hpp:11:
    In file included from src/third_party/boost/boost/date_time/posix_time/posix_time_types.hpp:16:
    In file included from src/third_party/boost/boost/date_time/posix_time/posix_time_duration.hpp:15:
    In file included from src/third_party/boost/boost/numeric/conversion/cast.hpp:33:
    In file included from src/third_party/boost/boost/numeric/conversion/converter.hpp:13:
    In file included from src/third_party/boost/boost/numeric/conversion/conversion_traits.hpp:13:
    In file included from src/third_party/boost/boost/numeric/conversion/detail/conversion_traits.hpp:18:
    In file included from src/third_party/boost/boost/numeric/conversion/detail/int_float_mixture.hpp:19:
    In file included from src/third_party/boost/boost/mpl/integral_c.hpp:32:
    src/third_party/boost/boost/mpl/aux_/integral_wrapper.hpp:62:51: error: in-class initializer for static data member is not a constant expression
       62 |     BOOST_STATIC_CONSTANT(AUX_WRAPPER_VALUE_TYPE, prior_value = BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE, (N - 1)));

    [24 lines not shown]
DeltaFile
+70-0databases/mongodb70/files/patch-src_third__party_boost_boost_log_utility_strictest__lock.hpp
+23-0databases/mongodb70/files/patch-src_third__party_boost_boost_numeric_conversion_detail_int__float__mixture.hpp
+23-0databases/mongodb70/files/patch-src_third__party_boost_boost_numeric_conversion_detail_sign__mixture.hpp
+23-0databases/mongodb70/files/patch-src_third__party_boost_boost_numeric_conversion_detail_udt__builtin__mixture.hpp
+139-04 files

FreeBSD/ports 2225ee9devel/ruby-build distinfo Makefile

devel/ruby-build: Update to 20260222

Changes:        https://github.com/rbenv/ruby-build/releases/tag/v20260222
(cherry picked from commit c3e4b1a87e09d8b5a078b3573db3e3b0c0407875)
DeltaFile
+3-3devel/ruby-build/distinfo
+1-1devel/ruby-build/Makefile
+4-42 files

FreeBSD/ports c3e4b1adevel/ruby-build distinfo Makefile

devel/ruby-build: Update to 20260222

Changes:        https://github.com/rbenv/ruby-build/releases/tag/v20260222
DeltaFile
+3-3devel/ruby-build/distinfo
+1-1devel/ruby-build/Makefile
+4-42 files

FreeBSD/ports 39ddbbdtextproc/peco distinfo Makefile

textproc/peco: Update to 0.6.0

While here, switch to use GO_MODULE instead of GH_TUPLE.

Changelog: https://github.com/peco/peco/blob/v0.6.0/Changes

Reported by:    portscout
DeltaFile
+5-21textproc/peco/distinfo
+5-17textproc/peco/Makefile
+10-382 files

FreeBSD/ports 9c84770misc/py-hf-xet distinfo Makefile.crates

misc/py-hf-xet: Update to 1.3.0

Changelog: https://github.com/huggingface/xet-core/releases/tag/v1.3.0

Reported by:    portscout
DeltaFile
+579-505misc/py-hf-xet/distinfo
+288-251misc/py-hf-xet/Makefile.crates
+3-2misc/py-hf-xet/Makefile
+870-7583 files

FreeBSD/ports dbdb672security/vuxml/vuln 2026.xml

security/vuxml: Document Vaultwarden vulnerabilities
DeltaFile
+29-0security/vuxml/vuln/2026.xml
+29-01 files

FreeBSD/ports 0351720devel Makefile, devel/py-aiofile Makefile pkg-descr

devel/py-aiofile: New port: Asynchronous file operations
DeltaFile
+22-0devel/py-aiofile/Makefile
+13-0devel/py-aiofile/pkg-descr
+3-0devel/py-aiofile/distinfo
+1-0devel/Makefile
+39-04 files

FreeBSD/ports 5be1c58devel Makefile, devel/py-caio Makefile distinfo

devel/py-caio: New port: Asynchronous file IO for Python
DeltaFile
+22-0devel/py-caio/Makefile
+14-0devel/py-caio/files/patch-pyproject.toml
+3-0devel/py-caio/distinfo
+1-0devel/py-caio/pkg-descr
+1-0devel/Makefile
+41-05 files

FreeBSD/ports 633747edevel/py-cyclopts Makefile distinfo

devel/py-cyclopts: update 3.23.1 → 4.6.0
DeltaFile
+4-5devel/py-cyclopts/Makefile
+3-3devel/py-cyclopts/distinfo
+7-82 files

FreeBSD/ports 22842d5devel Makefile, devel/py-py-key-value-aio Makefile distinfo

devel/py-py-key-value-aio: New port: Async Key-Value Store - A pluggable interface for KV Stores
DeltaFile
+24-0devel/py-py-key-value-aio/Makefile
+11-0devel/py-py-key-value-aio/files/patch-pyproject.toml
+3-0devel/py-py-key-value-aio/distinfo
+3-0devel/py-py-key-value-aio/pkg-descr
+1-0devel/Makefile
+42-05 files

FreeBSD/src 686280clib/libjail jail.c

libjail: avoid a double-free in the MAC label bits

As written, we'll repeatedly jps_free() the first element, which is
obviously bogus.  Fix it to index appropriately.

Fixes:  db3b39f063d9f ("libjail: extend struct handlers [...]")
DeltaFile
+1-1lib/libjail/jail.c
+1-11 files

FreeBSD/ports 82c0edcdevel/py-archinfo distinfo Makefile

devel/py-archinfo: Update to 9.2.199

PR:             293158
Reported by:    Rares Aioanei <schaiba at gmail.com> (maintainer)
DeltaFile
+3-3devel/py-archinfo/distinfo
+1-1devel/py-archinfo/Makefile
+4-42 files

FreeBSD/ports 79c12ednet-p2p/jackett distinfo Makefile.nuget

net-p2p/jackett: Update to 0.24.1127

Changelog: https://github.com/Jackett/Jackett/releases

PR:             293204
Reported by:    Ralf van der Enden <tremere at cainites.net> (maintainer)
Approved by:    Submitter is maintainer
DeltaFile
+63-63net-p2p/jackett/distinfo
+30-31net-p2p/jackett/Makefile.nuget
+35-12net-p2p/jackett/pkg-plist
+1-1net-p2p/jackett/Makefile
+129-1074 files

FreeBSD/doc c9eb5b7website/content/ru/status/report-2025-10-2025-12 foundation-sta.adoc freebsd-foundation.adoc

website: translate Status report Q4 2026 to russian

Reviewed by: andy
Differential Revision: https://reviews.freebsd.org/D55437
DeltaFile
+26-26website/content/ru/status/report-2025-10-2025-12/foundation-sta.adoc
+19-13website/content/ru/status/report-2025-10-2025-12/freebsd-foundation.adoc
+15-15website/content/ru/status/report-2025-10-2025-12/sylve.adoc
+13-13website/content/ru/status/report-2025-10-2025-12/lkpi-wireless.adoc
+12-12website/content/ru/status/report-2025-10-2025-12/kde.adoc
+12-12website/content/ru/status/report-2025-10-2025-12/sbom.adoc
+97-9123 files not shown
+225-21929 files

FreeBSD/ports a8ee523games/libretro-shaders-slang pkg-plist distinfo

games/libretro-shaders-slang: Update to g20260220

Commitlog:
https://github.com/libretro/slang-shaders/compare/a38704e...ff3bd23

PR:             293354
Reported by:    Stefan Schlosser <bsdcode at disroot.org> (maintainer)
DeltaFile
+351-0games/libretro-shaders-slang/pkg-plist
+3-3games/libretro-shaders-slang/distinfo
+2-2games/libretro-shaders-slang/Makefile
+356-53 files

FreeBSD/ports 9ebb19cx11/rofi-calc distinfo Makefile

x11/rofi-calc: Update 2.5.0 -> 2.5.1 (bugfix)

Changelog:
https://github.com/svenstaro/rofi-calc/blob/v2.5.1/CHANGELOG.md

Changes:
- Fix -calc-command-history and -calc-error-color not working due to getting
parsed incorrectly #148 (thanks @Jontos)

PR:             293367
Reported by:    Vidar Karlsen <vidar at karlsen.tech> (maintainer)
DeltaFile
+3-3x11/rofi-calc/distinfo
+1-1x11/rofi-calc/Makefile
+4-42 files

FreeBSD/doc 8fdf179website/content/en/releases/15.0R/ec2-ami-ids release.adoc latest.adoc

EC2 AMIs: Add .trim() to filtering script

The FreeBSD website uses HTML Tidy, which adds whitespace inside the
table of EC2 AMIs; I didn't notice this when I was testing locally
because it didn't run there.  This results in the filtering breaking
since e.g. "ufs" does not match "\nufs\n".

Addding .trim() to the filtering script removes the extra whitespace
which HTML Tidy added.

PR:     293397
DeltaFile
+4-4website/content/en/releases/15.0R/ec2-ami-ids/release.adoc
+4-4website/content/en/releases/15.0R/ec2-ami-ids/latest.adoc
+8-82 files

FreeBSD/src 1ce195dcrypto/heimdal/kdc mit_dump.c

heimdal: Pass the correct pointer to realloc when growing a string buffer

The realloc in my_fgetln was trying to grow the pointer to the string
buffer, not the string buffer itself.

In function 'my_fgetln',
    inlined from 'mit_prop_dump' at crypto/heimdal/kdc/mit_dump.c:156:19:
crypto/heimdal/kdc/mit_dump.c:119:13: error: 'realloc' called on unallocated object 'line' [-Werror=free-nonheap-object]
  119 |         n = realloc(buf, *sz + (*sz >> 1));
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
crypto/heimdal/kdc/mit_dump.c: In function 'mit_prop_dump':
crypto/heimdal/kdc/mit_dump.c:139:11: note: declared here
  139 |     char *line = NULL;
      |           ^~~~

Reviewed by:    rmacklem, cy
Fixes:          a93e1b731ae4 ("heimdal-kadmin: Add support for the -f dump option")
Differential Revision:  https://reviews.freebsd.org/D54933
(cherry picked from commit 03d8ac948b1ad9c419b294c3129b7da58d818363)
DeltaFile
+1-1crypto/heimdal/kdc/mit_dump.c
+1-11 files