FreeBSD/ports eba41bemultimedia/ffmpeg Makefile, multimedia/handbrake Makefile

multimedia:{ffmpeg,handbrake}: Switch dependency from onevpl to libvpl

onevpl has been superceded by libvpl upstream. So switch dependencies
of dependent ports.

PR:             293561
Reported by:    Yuichiro NAITO <naito.yuichiro at gmail.com>
Approved by:    portmgr (blanket; switch deprecated dependencies)
DeltaFile
+3-3multimedia/ffmpeg/Makefile
+2-2multimedia/handbrake/Makefile
+5-52 files

FreeBSD/ports 7ef46d5multimedia/libvpl Makefile pkg-plist, multimedia/libvpl/files patch-libvpl_src_mfx__dispatcher__vpl__loader.cpp patch-libvpl_src_mfx__dispatcher__vpl__lowlatency.cpp

multimedia/libvpl: New port: Intel Video Processing Library API, dispatcher, and examples

Intel Video Processing Library (Intel VPL) provides access to hardware
accelerated video decode, encode, and processing capabilities on Intel GPUs
to support AI visual inference, media delivery, cloud gaming, and virtual
desktop infrastructure use cases.

This repository contains the following components:

- Copies of the Intel VPL API header files.
  The version of the API is listed in the mfxdefs.h file.
- Intel VPL Dispatcher
- Examples demonstrating API usage

*** IMPORTANT ***

Intel VPL Tools are no longer in this repository. They have all been
moved to libvpl-tools.


    [4 lines not shown]
DeltaFile
+131-0multimedia/libvpl/files/patch-libvpl_src_mfx__dispatcher__vpl__msdk.cpp
+113-0multimedia/libvpl/pkg-plist
+73-0multimedia/libvpl/files/patch-libvpl_src_linux_device__ids.h
+36-0multimedia/libvpl/Makefile
+30-0multimedia/libvpl/files/patch-libvpl_src_mfx__dispatcher__vpl__lowlatency.cpp
+27-0multimedia/libvpl/files/patch-libvpl_src_mfx__dispatcher__vpl__loader.cpp
+410-08 files not shown
+494-014 files

FreeBSD/ports 424318emultimedia/onevpl Makefile

multimedia/onevpl: Deprecate and set to expire on 2026-09-30

Upstream has been renamed to libvpl and libvpl-tools. Use
multimedia/libvpl and multimedia/libvpl-tools.

While here, add CONFLICTS_INSTALL=libvpl.

PR:             293561
Reported by:    Yuichiro NAITO <naito.yuichiro at gmail.com>
DeltaFile
+5-0multimedia/onevpl/Makefile
+5-01 files

FreeBSD/src 94596f9sys/dev/igc igc_regs.h igc_mac.c

igc: Correct hardware error statistics

Track RERC separately instead of adding receive errors to the collision
count, and read the previously omitted RXERRC register.  Include RFC in
input errors because CRCERRS does not count bad-CRC runts, implementing
the I225 length-error accounting workaround alongside RUC and ROC.

Stop treating host transmit MAC discards as receive errors.  Expose both
RERC and HTDPMC as dedicated MAC statistics so their overlapping counts
remain available without corrupting aggregate interface counters.

(cherry picked from commit a108ee9138a698f212d6d6832d54e88ce6786617)
DeltaFile
+14-3sys/dev/igc/if_igc.c
+1-0sys/dev/igc/igc_regs.h
+1-0sys/dev/igc/igc_mac.c
+1-0sys/dev/igc/igc_hw.h
+17-34 files

FreeBSD/src 1c83638share/man/man4 igc.4, sys/dev/igc if_igc.h if_igc.c

igc: Add VLAN hardware filtering

Borrow the e1000 VLAN filter table

Ambiguous presence of the feature by Intel was settled by DPDK and
emperical testing.

Relnotes:       yes

(cherry picked from commit 8f779f159e2198c85b4fcb8685989879a9330104)
DeltaFile
+107-9sys/dev/igc/if_igc.c
+3-3share/man/man4/igc.4
+3-0sys/dev/igc/if_igc.h
+113-123 files

FreeBSD/src c577d5esys/dev/igc igc_defines.h if_igc.c

igc: Work around I225 v1 minimum IPG erratum

I225 v1 cannot receive the minimum inter-packet gap required at
2.5 Gb/s.  For affected back-to-back links, Intel recommends using a
15-byte transmit IPG instead of 12 bytes.

Program TIPG.IPGT to 0xb for pre-v2 I225 devices at 2.5 Gb/s and
restore the default at lower speeds.  Avoid penalizing fixed I225 and
I226 parts.

(cherry picked from commit 709426551c6a3607fb5a33f5b8dbb87cfa9c8125)
DeltaFile
+29-0sys/dev/igc/if_igc.c
+1-0sys/dev/igc/igc_defines.h
+30-02 files

FreeBSD/src f310b83share/man/man4 igc.4, sys/dev/igc if_igc.h if_igc.c

igc: Add VLAN hardware filtering

Borrow the e1000 VLAN filter table

Ambiguous presence of the feature by Intel was settled by DPDK and
emperical testing.

Relnotes:       yes

(cherry picked from commit 8f779f159e2198c85b4fcb8685989879a9330104)
DeltaFile
+107-9sys/dev/igc/if_igc.c
+3-3share/man/man4/igc.4
+3-0sys/dev/igc/if_igc.h
+113-123 files

FreeBSD/src 49c6cf8sys/dev/igc igc_regs.h igc_mac.c

igc: Correct hardware error statistics

Track RERC separately instead of adding receive errors to the collision
count, and read the previously omitted RXERRC register.  Include RFC in
input errors because CRCERRS does not count bad-CRC runts, implementing
the I225 length-error accounting workaround alongside RUC and ROC.

Stop treating host transmit MAC discards as receive errors.  Expose both
RERC and HTDPMC as dedicated MAC statistics so their overlapping counts
remain available without corrupting aggregate interface counters.

(cherry picked from commit a108ee9138a698f212d6d6832d54e88ce6786617)
DeltaFile
+14-3sys/dev/igc/if_igc.c
+1-0sys/dev/igc/igc_regs.h
+1-0sys/dev/igc/igc_mac.c
+1-0sys/dev/igc/igc_hw.h
+17-34 files

FreeBSD/src 3fab6b2sys/dev/igc igc_defines.h if_igc.c

igc: Work around I225 v1 minimum IPG erratum

I225 v1 cannot receive the minimum inter-packet gap required at
2.5 Gb/s.  For affected back-to-back links, Intel recommends using a
15-byte transmit IPG instead of 12 bytes.

Program TIPG.IPGT to 0xb for pre-v2 I225 devices at 2.5 Gb/s and
restore the default at lower speeds.  Avoid penalizing fixed I225 and
I226 parts.

(cherry picked from commit 709426551c6a3607fb5a33f5b8dbb87cfa9c8125)
DeltaFile
+29-0sys/dev/igc/if_igc.c
+1-0sys/dev/igc/igc_defines.h
+30-02 files

FreeBSD/ports 887848fcad/irsim Makefile

cad/irsim: Use https:// scheme for MASTER_SITES and WWW

Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+2-2cad/irsim/Makefile
+2-21 files

FreeBSD/ports 3855ba2cad/xcircuit distinfo Makefile

cad/xcircuit: Update 3.10.44 => 3.10.45, take maintainership

* Add WWW for source code repository

Approved by:            danilo@ (maintainer)
Approved by:            db@, yuri@ (Mentors, implicit)
Differential Revision:  https://reviews.freebsd.org/D58866
DeltaFile
+4-3cad/xcircuit/Makefile
+3-3cad/xcircuit/distinfo
+7-62 files

FreeBSD/ports 5939902devel/libffi pkg-plist Makefile

devel/libffi: Update to 3.8.0

Contains BSD fixes for i386 and powerpc64
DeltaFile
+3-3devel/libffi/distinfo
+1-1devel/libffi/pkg-plist
+1-1devel/libffi/Makefile
+5-53 files

FreeBSD/src 374799fsys/arm64/linux linux_emul_md.c, sys/i386/linux linux_emul_md.c

linux: sort sys headers in linux_emul_md.c

style(9): sys/param.h, then sys/systm.h, then the remaining kernel
headers alphabetically.  imgact.h belongs before proc.h.

Reported by:    jhibbits
MFC after:      1 month
Reviewed by:    jhibbits
Differential Revision:  https://reviews.freebsd.org/D58884
DeltaFile
+1-1sys/i386/linux/linux_emul_md.c
+1-1sys/arm64/linux/linux_emul_md.c
+2-22 files

FreeBSD/src 8c81b3bsys/net iflib.h iflib.c

iflib: Add restart transactions for IOV reconfiguration

Some devices remap the PF queues when entering or leaving SR-IOV. Add
opt-in PCI IOV helpers that hold the iflib context lock across the
complete stop, driver callback, and restart transaction.

Existing drivers continue to use the non-restarting helpers.

Sponsored by:   BBOX.io

(cherry picked from commit f8fa2d77bc305bec519f9f02afe211e903c57573)
DeltaFile
+22-0sys/net/iflib.c
+2-0sys/net/iflib.h
+24-02 files

FreeBSD/src f75a28esys/net iflib.h iflib.c

iflib: Add restart transactions for IOV reconfiguration

Some devices remap the PF queues when entering or leaving SR-IOV. Add
opt-in PCI IOV helpers that hold the iflib context lock across the
complete stop, driver callback, and restart transaction.

Existing drivers continue to use the non-restarting helpers.

Sponsored by:   BBOX.io

(cherry picked from commit f8fa2d77bc305bec519f9f02afe211e903c57573)
DeltaFile
+22-0sys/net/iflib.c
+2-0sys/net/iflib.h
+24-02 files

FreeBSD/src cce53d1sys/arm64/linux linux_emul_md.c, sys/compat/linux linux_emul.h

linux: unbreak arm64 linux_emul_md.c after pkey syscalls

linux_emul.h uses struct image_args without a file-scope forward
declaration.  The new arm64 (and i386) stubs include that header
without imgact.h first, which fails the build under -Werror.
Include it the same way linux_pkru.c already does, and declare the
type next to struct image_params so the header is self-contained.

Reported by:    tuexen
Fixes:          bdb561843e86
MFC after:      1 month
DeltaFile
+1-0sys/i386/linux/linux_emul_md.c
+1-0sys/compat/linux/linux_emul.h
+1-0sys/arm64/linux/linux_emul_md.c
+3-03 files

FreeBSD/src c1ff9c9lib/libc/gen fts.c, lib/libc/tests/gen fts_regress_test.c

fts: fix trailing-slash regression in fts_read after fts_children

When fts_read() descends into a directory whose children were
already prefetched by fts_children() (as ls -R does), it changed
directory using p->fts_name instead of p->fts_accpath.

With a trailing slash on a relative root path (e.g. 'dir/'),
the bare name was resolved relative to the wrong directory, so
every sibling directory after the first failed with ENOENT and
was reported as FTS_DNR.  This manifested as 'ls -lR dir/'
skipping the contents of all but the first subdirectory.

Restore the use of p->fts_accpath, matching the behavior prior
to 4bd01d6ae016.

Add a regression test that reproduces the exact conditions:
fts_children() on each directory, FTS_PHYSICAL without
FTS_NOCHDIR, and a trailing slash on the root path.


    [5 lines not shown]
DeltaFile
+58-0lib/libc/tests/gen/fts_regress_test.c
+1-1lib/libc/gen/fts.c
+59-12 files

FreeBSD/ports c995da1java/openjdk8 distinfo Makefile

java/openjdk8: Update to 8u502
DeltaFile
+3-3java/openjdk8/distinfo
+3-3java/openjdk8/Makefile
+6-62 files

FreeBSD/src 851af28sys/dev/ixgbe if_ix.c

ixgbe: Report the management packet drop counter

The management_pkts_drpd sysctl was wired to MNGPTC, making it an
alias of management_pkts_txd, instead of MNGPDC.

(cherry picked from commit 435cde959c8823ff38c699d1bc8655918fda57dd)
DeltaFile
+1-1sys/dev/ixgbe/if_ix.c
+1-11 files

FreeBSD/src dbb7ce7sys/dev/ixgbe if_ix.c

ixgbe: Re-enable the SFP laser during initialization

ixgbe_if_stop() disables the transmit laser on every 82599 SFP fiber
port, but the iflib initialization path did not re-enable it. Re-enable
the laser before deferred SFP module setup so interface
reinitialization cannot leave either single-speed or multispeed optics
dark.

The hardware wrapper is a no-op when laser control is unavailable. The
placement follows Intel ix-3.4.39; this version deliberately applies to
every SFP port affected by the stop path.

(cherry picked from commit 545779a99290b7b7d94dece6c096ce230be91ff9)
DeltaFile
+2-0sys/dev/ixgbe/if_ix.c
+2-01 files

FreeBSD/src eceddfbsys/dev/ixgbe if_ix.c

ixgbe: Report the management packet drop counter

The management_pkts_drpd sysctl was wired to MNGPTC, making it an
alias of management_pkts_txd, instead of MNGPDC.

(cherry picked from commit 435cde959c8823ff38c699d1bc8655918fda57dd)
DeltaFile
+1-1sys/dev/ixgbe/if_ix.c
+1-11 files

FreeBSD/src 45aac70sys/dev/ixgbe if_ix.c

ixgbe: Re-enable the SFP laser during initialization

ixgbe_if_stop() disables the transmit laser on every 82599 SFP fiber
port, but the iflib initialization path did not re-enable it. Re-enable
the laser before deferred SFP module setup so interface
reinitialization cannot leave either single-speed or multispeed optics
dark.

The hardware wrapper is a no-op when laser control is unavailable. The
placement follows Intel ix-3.4.39; this version deliberately applies to
every SFP port affected by the stop path.

(cherry picked from commit 545779a99290b7b7d94dece6c096ce230be91ff9)
DeltaFile
+2-0sys/dev/ixgbe/if_ix.c
+2-01 files

FreeBSD/src 5cd4954sys/net iflib.c

iflib: Permit SR-IOV configuration on a down interface

Drivers which remap PF queues need a stop/mutate/restart transaction
only when the interface has live queues. Permit their IOV
initialization callback while the interface is administratively down
and leave it down afterward.

This restores the standard boot-time iovctl.conf workflow and
lets other opt-in drivers configure VFs before netif brings the PF up.

(cherry picked from commit 2cf580c694f6f392531a63f01c3fb89c0244f89a)
DeltaFile
+31-0sys/net/iflib.c
+31-01 files

FreeBSD/src dc1d2c7sys/net iflib.c

iflib: Permit SR-IOV configuration on a down interface

Drivers which remap PF queues need a stop/mutate/restart transaction
only when the interface has live queues. Permit their IOV
initialization callback while the interface is administratively down
and leave it down afterward.

This restores the standard boot-time iovctl.conf workflow and
lets other opt-in drivers configure VFs before netif brings the PF up.

(cherry picked from commit 2cf580c694f6f392531a63f01c3fb89c0244f89a)
DeltaFile
+31-0sys/net/iflib.c
+31-01 files

FreeBSD/src 5f215a2sys/dev/pci pci.c

pci: Permit function-level reset of 82599 VFs

Intel 82599 supports FLR on VFs but reports FLR support only in the PF
Device Capabilities register.  The VF register therefore leaves the FLR
Capable bit clear, and pcie_flr() rejects the reset.

Intel documents the zeroed VF PCIe capability structure as erratum 35
in the 82599 Specification Update (B0=Yes; NoFix).

Add a positive FLR quirk for the 82599 VF.  Keep the capability check
for every other function, so an unknown nonconforming VF cannot make
pcie_flr() report success when its reset request was ignored.

SR-IOV requires VFs to support FLR, but a clear capability bit cannot
distinguish the 82599's misadvertisement from a VF that fails to
implement it.

(cherry picked from commit ee776a8e291cb73845a8611d3dec5a2a966106b9)
DeltaFile
+11-3sys/dev/pci/pci.c
+11-31 files

FreeBSD/src 61542deshare/man/man4 pci.4, sys/dev/pci pci.c

pci: Ignore SR-IOV VFs when tuning MPS

The VF Device Control MPS and MRRS fields are reserved and preserved.
VF transactions use the PF MPS, so a hardwired VF value must not be
used to retune the shared PCIe hierarchy.

Document the previously undocumented tuning knob and clarify why a VF
may continue to display its reserved hardwired value.

This fixes an instant crash/reboot on my Zen3 system with 82599 VFs.

(cherry picked from commit 5aab6164161db397d84e5fff88e1af1a9e405875)
DeltaFile
+12-1share/man/man4/pci.4
+7-0sys/dev/pci/pci.c
+19-12 files

FreeBSD/src 8620422sys/dev/ixgbe ixgbe.h if_ixv.c

ixv: reconcile VLAN filters through the mailbox

VLAN registration callbacks only update the software shadow, leaving
the PF unaware until a later full initialization.  Initialization then
retries each failed request in a tight loop, while skipping replay
entirely when local hardware filtering is disabled.

Send additions and removals as soon as the desired state changes,
independent of the VF local-filter capability.  Replay the desired
memberships after reset and retry a bounded batch per timer tick.  Stop
after the first failure so a silent PF can consume only one mailbox
timeout per pass, while a responsive PF can drain several requests.
Treat the retry window as a no-progress deadline: advance it when
pending work succeeds so a large backlog can drain, but leave entries
dormant after a sustained failure.

A successful mailbox request wakes a dormant backlog.  Dispatch
timer-driven retries only while iflib marks the VF running, so a stale
timer tick cannot restore PF VLAN state after the stop path resets the

    [14 lines not shown]
DeltaFile
+210-54sys/dev/ixgbe/if_ixv.c
+4-0sys/dev/ixgbe/ixgbe.h
+214-542 files

FreeBSD/src a3d02a6share/man/man4 ix.4, sys/dev/ixgbe ixgbe_sriov.h ixgbe.h

ixgbe: implement VF secondary MAC filters

The PF advertises the legacy SET_MACVLAN mailbox request but always
rejects it. The request installs secondary unicast addresses.

Allocate an owned RAR pool for VF secondary addresses, reserve low
entries for PF filters, and place VF-primary addresses at the top of
the usable RAR range. Reject address collisions and cap each VF at
three secondary filters so one guest cannot exhaust the shared table.

Clear secondary filters on VF or PF reset and on SR-IOV teardown. This
hardware can anti-spoof only the VF primary source address. Reject
secondary filters while MAC anti-spoofing is configured, so installing
them requires an explicit administrative policy choice. Report optional
filter-table allocation failure without disabling SR-IOV.

Adapt the owned-RAR allocation and reset-cleanup model from igb(4) in
a2ed165f0049 to DPDK's ixgbe SET_MACVLAN mailbox semantics.


    [3 lines not shown]
DeltaFile
+149-5sys/dev/ixgbe/if_sriov.c
+10-0sys/dev/ixgbe/ixgbe.h
+10-0share/man/man4/ix.4
+2-0sys/dev/ixgbe/ixgbe_sriov.h
+171-54 files

FreeBSD/src 2c12bf9sys/dev/ixgbe ixgbe_vf.c ixgbe.h

ixgbe: enforce VF promiscuity and multicast policy

The allow-promisc IOV property is advertised but ignored, and the PF
rejects the xcast request used by modern VFs. Negotiate mailbox APIs
1.2 and 1.3, implement pool-scoped xcast modes, and require
allow-promisc for requested all-multicast or unicast-promiscuous modes.

The VF mailbox can carry only 30 multicast hashes. When ixv has a
larger list, request the API 1.2 all-multicast xcast mode instead of
extending the legacy SET_MULTICAST message. The PF grants that fallback
only to VFs configured with allow-promisc; otherwise ixv reports that
only the first 30 addresses are active.

Reset xcast state with the VF and have ixv replay the mode implied by
its interface flags after multicast updates.

Follow DPDK's ixgbe API 1.2/1.3 xcast contract, with allow-promisc
policy adapted from igb(4) in a2ed165f0049.


    [3 lines not shown]
DeltaFile
+90-26sys/dev/ixgbe/if_sriov.c
+48-1sys/dev/ixgbe/if_ixv.c
+3-0sys/dev/ixgbe/ixgbe_sriov.h
+1-1sys/dev/ixgbe/ixgbe_vf.c
+2-0sys/dev/ixgbe/ixgbe.h
+144-285 files

FreeBSD/src 5aa48d0sys/dev/ixgbe ix_txrx.c if_sriov.c

ixgbe: Preserve priority-tagged traffic with SR-IOV

VID 0 carries only 802.1p priority and does not identify VLAN
membership. Keep VFTA bit zero in the persistent PF shadow table so
reset and SR-IOV replay admit priority-tagged frames while VLAN
filtering is enabled.

In virtualization mode, also reserve VLVF slot zero and restore PF and
eligible VF pool memberships. A VFTA hit alone admits the tag globally
but does not deliver it to the correct pools.

This matches the priority-tag treatment in em/igb.

(cherry picked from commit caa08ed331da02a91f95472193e25e573c0ae1e3)
DeltaFile
+10-1sys/dev/ixgbe/if_ix.c
+4-2sys/dev/ixgbe/if_sriov.c
+3-2sys/dev/ixgbe/ix_txrx.c
+17-53 files