Created attachment 210418 [details]
Patch fixes for compile on 13-CURRENT
The automated package builds for net/dpdk are failing on 13-CURRENT because of changes to the FreeBSD code in the 13 tree. This update provides minor tweaks to the code to fix compatibility with BSD 13.
Two issues were observed:
* rename of CPU_NAND to CPU_ANDNOT
* change in vm_page_replace parameters and behaviour
Both issues only required small changes to a single file, and both fixes are in the diff attached.
This patches have also been submitted upstream for inclusion in future DPDK releases: http://patches.dpdk.org/project/dpdk/list/?series=7977
shows a build error with this patch. Any ideas, why that is the case ?
(In reply to Kurt Jaeger from comment #1)
Is that with the latest kernel sources? Checking https://github.com/freebsd/freebsd/blob/master/sys/vm/vm_page.h#L650 or https://svnweb.freebsd.org/base/head/sys/vm/vm_page.h?view=annotate#l650 shows vm_page_replace with 4 rather than 3 parameters, as is adjusted by the patch.
It's with r354278, so before the change to vm_page_replace().
It will take a bit until I find time to update my testbox to a more recent -CUR.
Ping, any update on testing this?