FreeBSD/src 2a27dd0 — sys/dev/ena ena.c

ena: Reinit RSS components during queue count change flow

The io_queues_nb sysctl is writable while the interface is down, and
setting it destroys the RSS components. When the interface is not UP
nothing reinitialises them, so the indirection table is left referencing
queues that no longer exist until the next ifconfig up.

Call ena_rss_configure() after the queue count changes when the
interface is down. When it is up, this happens through ena_up().

This can configure RSS twice if the interface is brought up afterwards,
costing three redundant admin commands. That is preferred over changing
ena_up(), which the reset path also uses.

Reviewed by: cperciva
Fixes: 56d41ad5fe9c ("Add sysctl node for ENA IO queues number adjustment")
MFC after: 3 days
Sponsored by: Amazon, Inc.
DeltaFile
+5-0sys/dev/ena/ena.c
+5-01 files

FreeBSD/src 5e66bf0 — sys/dev/ena ena.h

ena: Update driver version to v2.8.5

New Features:
* Retrieve RSS indirection table size from device

Bug Fixes:
* Limit IO IRQ setup loop to active queues only
* Reinit RSS table on device restore when queue count shrinks
* Fix RSS not working after driver reload
* Fix NULL deref before NULL check in RSS sysctl
* Reinit RSS components during queue count change flow

Minor Changes:
* Fix ENA_MEM_FREE_COHERENT with an expression size argument

Reviewed by: cperciva
MFC after: 3 days
Sponsored by: Amazon, Inc.
DeltaFile
+1-1sys/dev/ena/ena.h
+1-11 files

FreeBSD/src 2d4d2ed — sys/dev/ena ena.c

ena: Reinit RSS table on device restore when queue count shrinks

When ena_restore_device() is called after a reset, pci_alloc_msix()
may return fewer MSI-X vectors than requested, causing num_io_queues
to shrink. When this happens, the RSS indirection table retains
entries referencing queues that no longer exist, routing packets to
non-existent queues and causing connectivity loss.

Extract ena_set_io_queue_count() to pair the queue count update with
ena_com_rss_destroy(), ensuring the RSS table is always invalidated
when the queue count changes. Use it from both ena_update_io_rings()
and ena_restore_device().

Reviewed by: cperciva
Fixes: e2735b095b7e ("Fix assumptions about number of IO queues in the ENA")
MFC after: 3 days
Sponsored by: Amazon, Inc.
DeltaFile
+11-5sys/dev/ena/ena.c
+11-51 files

FreeBSD/src 462b6c5 — sys/dev/ena ena_sysctl.c

ena: Fix NULL deref before NULL check in RSS sysctl

In ena_sysctl_rss_indir_table(), the code dereferenced
indir->sysctl_buf before checking whether indir itself is NULL.
Move the NULL check above the dereference so the early-return path
fires before any access through indir.

Reviewed by: cperciva
Fixes: 6d1ef2abd330 ("ena: Implement full RSS reconfiguration")
MFC after: 3 days
Sponsored by: Amazon, Inc.
DeltaFile
+1-2sys/dev/ena/ena_sysctl.c
+1-21 files

FreeBSD/src 3d1e732 — share/man/man4 ena.4, sys/dev/ena ena.h ena.c

ena: Retrieve RSS table size from device

The current driver assumes a default RSS table size of 128 entries,
expecting the device's RSS table size to match this assumption.

This patch allows the driver to create RSS indirection table
with the size advertised by the device.

Reviewed by: cperciva
MFC after: 3 days
Sponsored by: Amazon, Inc.
DeltaFile
+40-6sys/dev/ena/ena_rss.c
+29-6sys/dev/ena/ena_rss.h
+24-8sys/dev/ena/ena_sysctl.c
+4-1sys/dev/ena/ena.c
+0-3sys/dev/ena/ena.h
+0-1share/man/man4/ena.4
+97-256 files

FreeBSD/src a620576 — sys/dev/ena ena_sysctl.c ena.c

ena: Fix RSS not working after driver reload

When reloading the driver (kldunload/kldload),
ena_rss_init_default_deferred() is called before ena_attach()
completes. At this point, devclass_get_softc() returns NULL for all
devices because the adapter structs have not been populated yet. As a
result, ena_rss_init_default() is never called and ENA_FLAG_RSS_ACTIVE
is never set. Later, in ena_up_complete(), the code checks the flag,
finds it unset, and skips ena_rss_configure() entirely. RSS is never
initialized, and all traffic is directed to queue 0.

Remove the ENA_FLAG_RSS_ACTIVE gate in ena_up_complete() and always call
ena_rss_configure(), which initialises the table when tbl_log_size is
zero. The deferred SYSINIT is now redundant, so remove it.

Reviewed by: cperciva
Fixes: 9b8d05b8ac78 ("Add support for Amazon Elastic Network Adapter (ENA) NIC")
MFC after: 3 days
Sponsored by: Amazon, Inc.
DeltaFile
+0-33sys/dev/ena/ena_rss.c
+6-7sys/dev/ena/ena.c
+1-1sys/dev/ena/ena_sysctl.c
+7-413 files

FreeBSD/src 32c3019 — sys/dev/ena ena.c

ena: Limit IO IRQ setup loop to active queues only

The loop in ena_request_io_irq() iterated over adapter->msix_vecs,
which reflects the maximum number of MSI-X vectors allocated at
init time. When the number of IO queues is reduced at runtime via
the io_queues_nb sysctl, msix_vecs is not updated, causing the
driver to bind interrupts and log CPU affinity for queues that no
longer exist.

Replace the loop bound with ENA_IO_IRQ_IDX(adapter->num_io_queues)
to iterate only over the currently active IO queues.

Also replace the loop in ena_free_io_irq() the same.

Reviewed by: cperciva
Fixes: 56d41ad5fe9c ("Add sysctl node for ENA IO queues number adjustment")
MFC after: 3 days
Sponsored by: Amazon, Inc.
DeltaFile
+2-2sys/dev/ena/ena.c
+2-21 files

FreeBSD/src 0f6f751 — sys/contrib/ena-com ena_plat.h ena_com.h, sys/contrib/ena-com/ena_defs ena_admin_defs.h

ena: Upgrade ena-com to freebsd v2.8.5

Merge commit 'c51345cf234c029abf8b5f1655f65f6c2ffaaec9'

Reviewed by: cperciva
MFC after: 3 days
Sponsored by: Amazon, Inc.
DeltaFile
+35-27sys/contrib/ena-com/ena_com.c
+3-2sys/contrib/ena-com/ena_com.h
+5-0sys/contrib/ena-com/ena_defs/ena_admin_defs.h
+1-1sys/contrib/ena-com/ena_plat.h
+44-304 files

FreeBSD/ports 77623b0 — . MOVED

www/mod_sgi4: removed MOVED line now the port has been reintroduced

The port has been reintroduced, so this is no longer needed
and may break existing setups that have mod_wsgi4 installed.

Fixes: 0121f370d86ddea8411bacfb72961eecedbd163a
Approved by: clusteradm
DeltaFile
+0-1MOVED
+0-11 files

FreeBSD/ports 5e657d7 — net/onedrivegui Makefile pkg-plist, net/onedrivegui/files patch-src_onedrivegui_global__config.py patch-src_resources_OneDriveGUI.desktop

net/onedrivegui: Update to 2.4.0
DeltaFile
+100-39net/onedrivegui/pkg-plist
+19-14net/onedrivegui/Makefile
+30-0net/onedrivegui/files/patch-pyproject.toml
+16-0net/onedrivegui/files/patch-src_onedrivegui_resources_OneDriveGUI.desktop
+0-15net/onedrivegui/files/patch-src_resources_OneDriveGUI.desktop
+12-0net/onedrivegui/files/patch-src_onedrivegui_global__config.py
+177-683 files not shown
+181-849 files

FreeBSD/src c51345c — . ena_com.h ena_com.c, ena_defs ena_admin_defs.h

ena: Retrieve RSS indirection table size from the device in ena-com

This patch allows the driver to create RSS indirection table with the
size advertised by the device.

Reviewed by: cperciva
MFC after: 3 days
Sponsored by: Amazon, Inc.
DeltaFile
+35-27ena_com.c
+3-2ena_com.h
+5-0ena_defs/ena_admin_defs.h
+43-293 files

FreeBSD/src 092a543 — . ena_plat.h

ena: Fix ENA_MEM_FREE_COHERENT with an expression size argument

ENA_MEM_FREE_COHERENT() discards its size parameter with "(void)size".
A cast binds tighter than '*', so when the argument is an in-place
calculation the macro expands to ((void)(a)) * b, which fails to
compile with "void value not ignored as it ought to be".

Wrap the parameter in parentheses before casting it. No functional
change for existing callers, which all pass a plain variable.

Reviewed by: cperciva
MFC after: 3 days
Sponsored by: Amazon, Inc.
DeltaFile
+1-1ena_plat.h
+1-11 files

FreeBSD/src 78962f9 — sys/amd64/amd64 machdep.c

amd64 FRED: normalize the user-provided 'fred' knob value

Assembler accesses 'fred' as byte, ensure that any non-zero
user-provided value works.  This is pure cosmetics.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+2-0sys/amd64/amd64/machdep.c
+2-01 files

FreeBSD/src 2fd12bf — sys/amd64/amd64 cpu_switch.S

amd64 resumectx(): restore FRED state before loading %cr4

%cr4 has the FRED enable bit. This only matters for NMI and #MC, and the
kernel is really not ready to handle them while in resumectx(), but do
it for formal correctness.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+19-16sys/amd64/amd64/cpu_switch.S
+19-161 files

FreeBSD/src 6105e85 — sys/amd64/amd64 exception.S

amd64 FRED: explain why %rax is saved early

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+4-0sys/amd64/amd64/exception.S
+4-01 files

FreeBSD/src 837bb27 — sys/amd64/amd64 trap.c

amd64 FRED: clear %dr6 on #DB from kernel

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+8-0sys/amd64/amd64/trap.c
+8-01 files

FreeBSD/src 1c25a7f — sys/amd64/amd64 trap.c

amd64 FRED: mark trap frame as initialized for KASAN/KMSAN

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+6-0sys/amd64/amd64/trap.c
+6-01 files

FreeBSD/src 6ca6973 — sys/amd64/amd64 exception.S

amd64 FRED: no need to store fs/gsbase on user_fred_not_syscall path

The stores are only relevant for PCB_FULL_IRET return to userspace,
and setting the flag stores the bases into the pcb anyway.  Also, the
hidden issue is that FRED already did implicit SWAPGS on entry, so
stored gsbase was wrong anyway.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+0-6sys/amd64/amd64/exception.S
+0-61 files

FreeBSD/src efb0c54 — sys/amd64/amd64 trap.c

amd64 FRED: handle in-kernel faults same as IDT

Pass #MC and #DF directly to corresponding handlers, avoiding EFI
pcb_onfault case.

If a fault occurs while kdb/ddb is active, handler must call
kdb_reenter() and not do the normal processing, which typically ends up
in panic() for kernel-mode faults.  But #MC and #DF should be excluded
there as well.

NMI is not an exception, it is delivered as specific event.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+11-2sys/amd64/amd64/trap.c
+11-21 files

FreeBSD/src b2767c7 — sys/amd64/amd64 db_trace.c

amd64 db_nextframe(): classify user_fred_syscall frame as SYSCALL

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+2-2sys/amd64/amd64/db_trace.c
+2-21 files

FreeBSD/src 0cfbb34 — sys/amd64/amd64 trap.c

amd64 FRED: add missed newline in the diagnostic

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+1-1sys/amd64/amd64/trap.c
+1-11 files

FreeBSD/src 66ecb41 — sys/dev/rtwn/rtl8188f r88f_chan.c

rtwn: fix 8188f channel offset / width programming

* rtwn_chan2centieee() already calculates the proper centre
  frequency, so it doesn't need to be further offset.
* Don't program R92C_RF_CHNLBW with further 20MHz wide bits;
  the rest of the programming works correctly for 20/40MHz
  operation.

Tested:

* Verified against the linux rtl8xxxu/8188f.c code.
* Tested w/ 20 and 40MHz 11n; 40MHz is now operating at higher
  speed.

Fixes: 2c38dc04d6f8bc84620bb3b67c8ccd9f910c4d03
DeltaFile
+0-5sys/dev/rtwn/rtl8188f/r88f_chan.c
+0-51 files

FreeBSD/src 1dbcc7e — . Makefile.inc1

Makefile.inc1: Make sure mandoc bootstrap tool depends on libz

It links against both libopenbsd and libz, so reflect this in the
bootstrap tool's dependencies in case of races from highly-parallel
builds.

Reported by:    jkh
MFC after:      1 week
DeltaFile
+1-1Makefile.inc1
+1-11 files

FreeBSD/ports 58dc48b — misc/py-hf-xet Makefile Makefile.crates

misc/py-hf-xet: Update to 1.7.1

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

Reported by:    Repology
DeltaFile
+21-45misc/py-hf-xet/distinfo
+9-21misc/py-hf-xet/Makefile.crates
+1-2misc/py-hf-xet/Makefile
+31-683 files

FreeBSD/ports d419271 — sysutils/desktop-installer Makefile distinfo

sysutils/desktop-installer: Update to 1.3.1

Bug fix release:
    Fix typo in auto-pkg-latest command
    Remove conflicting ksh93 from CDE install
Changes: https://github.com/outpaddling/desktop-installer/releases
DeltaFile
+3-3sysutils/desktop-installer/distinfo
+1-1sysutils/desktop-installer/Makefile
+4-42 files

FreeBSD/ports 7f870d1 — x11-toolkits/py-pyfltk distinfo Makefile, x11-toolkits/py-pyfltk/files patch-swig420

x11-toolkits/py-pyfltk: update the port to version 1.4.5.0

This synchronizes Python bindings with FLTK 1.4.5 after
commit 514ac9a10d22.  While here:

- Move SF.net in front as that's where distfile is first
  published (per modification time)
- Reduce globbing scope in PORTDOCS and PORTEXAMPLES
- HTML files and images no longer come with the distfile
- Shorten some command lines so they fit the standard
  80-character terminal width
DeltaFile
+0-62x11-toolkits/py-pyfltk/files/patch-swig420
+17-22x11-toolkits/py-pyfltk/Makefile
+3-3x11-toolkits/py-pyfltk/distinfo
+20-873 files

FreeBSD/ports 514ac9a — x11-toolkits/fltk distinfo pkg-plist, x11-toolkits/fltk/files patch-documentation_src_examples.dox patch-documentation_Makefile

x11-toolkits/fltk: update the port to version 1.4.5

PR:     283342
DeltaFile
+40-40x11-toolkits/fltk/files/patch-src_Makefile
+31-27x11-toolkits/fltk/files/patch-configure
+29-7x11-toolkits/fltk/pkg-plist
+13-21x11-toolkits/fltk/files/patch-documentation_Makefile
+0-28x11-toolkits/fltk/files/patch-documentation_src_examples.dox
+3-3x11-toolkits/fltk/distinfo
+116-1261 files not shown
+117-1277 files

FreeBSD/ports 01c3904 — net/rayfish Makefile Makefile.crates, net/rayfish/files patch-cargo-crates_tun-rs-2.8.9_src_platform_freebsd_device.rs

net/rayfish: Update to 0.5.12
DeltaFile
+79-67net/rayfish/distinfo
+38-32net/rayfish/Makefile.crates
+0-20net/rayfish/files/patch-cargo-crates_tun-rs-2.8.9_src_platform_freebsd_device.rs
+2-2net/rayfish/Makefile
+119-1214 files

FreeBSD/ports 55ed30d — devel/py-ty Makefile distinfo

devel/py-ty: Update to 0.0.93

Changelog: https://github.com/astral-sh/ty/blob/0.0.93/CHANGELOG.md

Reported by:    portscout
DeltaFile
+3-3devel/py-ty/distinfo
+1-1devel/py-ty/Makefile
+4-42 files

FreeBSD/ports c9593f9 — security/oidentd pkg-plist distinfo, security/oidentd/files oidentd_masq.conf.sample patch-doc_oidentd__masq.conf.5

security/oidentd: Update to 3.1.0

- Remove unneeded masq man page/config files
- Setup sample config file

PR:             299104, 295725
Reported by:    Chris Petrik <chris at officialunix.com>
Approved by:    maintainer timeout (4 months+)
DeltaFile
+4-11security/oidentd/Makefile
+7-7security/oidentd/files/patch-doc_oidentd__masq.conf.5
+3-3security/oidentd/distinfo
+4-0security/oidentd/pkg-plist
+0-2security/oidentd/files/oidentd_masq.conf.sample
+18-235 files