Skip to content

userspace/dpdk/enav2-vfio: fix AL2023 support (dnf + Linux 6.12 patch)#370

Open
roikeman wants to merge 2 commits into
amzn:masterfrom
roikeman:roi/rebase-upstream-pr
Open

userspace/dpdk/enav2-vfio: fix AL2023 support (dnf + Linux 6.12 patch)#370
roikeman wants to merge 2 commits into
amzn:masterfrom
roikeman:roi/rebase-upstream-pr

Conversation

@roikeman
Copy link
Copy Markdown

@roikeman roikeman commented Mar 30, 2026

Why

Amazon Linux 2023 moved from yum to dnf and uses newer kernels (including 6.12).
The previous flow in get-vfio-with-wc.sh relied on yum/yumdownloader and did not include a Linux 6.12 patch path, so the old workflow no longer works on AL2023.

What this PR changes

  • switch kernel source install/download flow from yum + yumdownloader to dnf + dnf download
  • add Linux 6.12 selection logic in apply_wc_patch
  • add linux-6.12-vfio-wc.patch

Impact

This restores the enav2-vfio patch workflow on AL2023 and supports the newer kernel line by selecting the correct patch.

@roikeman roikeman changed the title userspace/dpdk: enav2-vfio patch updates for AL2023 and Linux 6.12 userspace/dpdk/enav2-vfio: fix AL2023 support (dnf + Linux 6.12 patch) Mar 30, 2026
@roikeman
Copy link
Copy Markdown
Author

Context for reviewers: this PR is needed because Amazon Linux 2023 replaced yum with dnf and moved to newer kernels. The old get-vfio-with-wc.sh path depended on yum/yumdownloader and lacked a Linux 6.12 patch selection path, so patching failed on AL2023. This PR updates the package/source flow to dnf and adds Linux 6.12 patch handling.

1 similar comment
@roikeman
Copy link
Copy Markdown
Author

Context for reviewers: this PR is needed because Amazon Linux 2023 replaced yum with dnf and moved to newer kernels. The old get-vfio-with-wc.sh path depended on yum/yumdownloader and lacked a Linux 6.12 patch selection path, so patching failed on AL2023. This PR updates the package/source flow to dnf and adds Linux 6.12 patch handling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant