Compile DPDK in static?

Open
#2 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

Research direction

Start by reproducing zeek -i dpdk::auto and inspect how the plugin configures DPDK linkage and loads the MLX5 driver. Determine whether static linking can avoid the reported shared-linkage and version error; done means the command initializes successfully with MLX5 without that failure.

Written by the indexing model from the issue text.

Description

Hi all!
Thanks for this superb plugin !
Would it be possible to link to DPDK statically. First, it's supposed to perform better, but then it would also fix some linking issues when using MLX5 driver.

zeek -i dpdk::auto
Found 1 queues
EAL: Detected CPU lcores: 32
EAL: Detected NUMA nodes: 1
EAL: Auto-detected process type: PRIMARY
EAL: Detected shared linkage of DPDK
EAL: /lib/x86_64-linux-gnu/libmlx5.so.1: version `MLX5_OFED' not found (required by /usr/local/lib/x86_64-linux-gnu/librte_common_mlx5.so.22)
EAL: FATAL: Cannot init plugins
EAL: Cannot init plugins
fatal error: Error with EAL initialization

Did you try mlx5 by any chance?

Dominant language
C++
Stars
30
Forks
12
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from esnet/dpdk-plugin

All issues in esnet/dpdk-plugin

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.