Skip to content

Enable additional DPDK drivers#619

Merged
rjarry merged 3 commits into
DPDK:mainfrom
rjarry:dpdk-drivers
May 19, 2026
Merged

Enable additional DPDK drivers#619
rjarry merged 3 commits into
DPDK:mainfrom
rjarry:dpdk-drivers

Conversation

@rjarry
Copy link
Copy Markdown
Collaborator

@rjarry rjarry commented May 18, 2026

Enable additional drivers to support more NICs.

Link: https://mails.dpdk.org/archives/grout/2026-May/000041.html

meson.build

  • Replace hardcoded comma-separated DPDK enable strings with explicit Meson lists: introduce dpdk_drivers and dpdk_libs arrays and pass their values to the DPDK dependency by building 'enable_drivers=' + ','.join(dpdk_drivers) and 'enable_libs=' + ','.join(dpdk_libs) in libdpdk default_options.
  • Add three net drivers to dpdk_drivers: net/bnxt, net/e1000, net/r8169.

.github/workflows/package.yml

  • Replace the prior runner-selection expression in the rpm job matrix with a conditional expression that appends '-arm' when matrix.arch == 'aarch64' and leaves other architecture labels unchanged.

Review Change Stack

@coderabbitai

This comment was marked as low quality.

@rjarry
Copy link
Copy Markdown
Collaborator Author

rjarry commented May 18, 2026

Hi @appliedprivacy, once the build is complete:

https://github.com/DPDK/grout/actions/runs/26059436089/job/76615573217

Can you download the deb-packages artifact (zip file which contains grout_amd64.deb) and let me know if it works with your hardware?

If it does, please report back with a comment:

Tested-by: Your Name <your@email>

Thanks!

Copy link
Copy Markdown
Member

@david-marchand david-marchand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the principle, the series looks good to me.

@rjarry
Copy link
Copy Markdown
Collaborator Author

rjarry commented May 19, 2026

Tested-by: Christoph cm@appliedprivacy.net

rjarry added 3 commits May 19, 2026 21:42
The case() expression function is not supported in the runs-on field
which is evaluated at workflow dispatch time with a limited expression
parser. This causes the entire workflow to fail validation, preventing
any jobs from running on pull requests.

Use the ternary pattern (condition && value || default) which is
already used successfully in check.yml for the same purpose.

Fixes: e57cea2 ("ci: simplify rpm job matrix")
Signed-off-by: Robin Jarry <rjarry@redhat.com>
Tested-by: Christoph <cm@appliedprivacy.net>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Instead of opaque comma separated strings, use meson lists and join them
before passing to the DPDK subproject default arguments.

Signed-off-by: Robin Jarry <rjarry@redhat.com>
Tested-by: Christoph <cm@appliedprivacy.net>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Enable additional drivers to support more NICs.

Link: https://mails.dpdk.org/archives/grout/2026-May/000041.html
Requested-by: Christoph <cm@appliedprivacy.net>
Signed-off-by: Robin Jarry <rjarry@redhat.com>
Tested-by: Christoph <cm@appliedprivacy.net>
Reviewed-by: David Marchand <david.marchand@redhat.com>
@rjarry rjarry merged commit d2934d6 into DPDK:main May 19, 2026
5 checks passed
@rjarry rjarry deleted the dpdk-drivers branch May 19, 2026 21:43
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.

2 participants