* Migrate DPDK 18.05.1 -> DPDK 24.11.1 LTS
@ 2025-03-28 13:48 Eldho Paul Mathew
2025-03-31 9:08 ` Bruce Richardson
0 siblings, 1 reply; 2+ messages in thread
From: Eldho Paul Mathew @ 2025-03-28 13:48 UTC (permalink / raw)
To: dev
[-- Attachment #1: Type: text/plain, Size: 490 bytes --]
Hi,
In the 24.11.1 build, I have specific questions
1) I need the DPDK output in static lib format. How can I switch off the
shared lib build?
2) I need to build librte_kni. a - Is this module deprecated in DPDK 24.11.1
3) How can I enable librte_pmd_* modules? In the driver/net folder, many
pmd are available, but none of them are built in the default ninja build.?
How to enable this?
I used the build steps listed below
cd dpdk
meson build
ninja -C build
Will you please help?
[-- Attachment #2: Type: text/html, Size: 1773 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Migrate DPDK 18.05.1 -> DPDK 24.11.1 LTS
2025-03-28 13:48 Migrate DPDK 18.05.1 -> DPDK 24.11.1 LTS Eldho Paul Mathew
@ 2025-03-31 9:08 ` Bruce Richardson
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Richardson @ 2025-03-31 9:08 UTC (permalink / raw)
To: Eldho Paul Mathew; +Cc: dev
On Fri, Mar 28, 2025 at 07:18:18PM +0530, Eldho Paul Mathew wrote:
> Hi,
> In the 24.11.1 build, I have specific questions
> 1) I need the DPDK output in static lib format. How can I switch off
> the shared lib build?
Hi,
Both static and shared libraries are built, you do not need to disable
shared libraries in order to use the static libs. To get the appropriate
linker flags you can use the pkgconfig .pc files output from the DPDK
build, or installed when you do a "ninja install". For static linkage:
"pkg-config --libs --static libdpdk"
For a not-installed build, you can use the same command, just set
PKG_CONFIG_PATH to "<builddir>/meson-private" so the .pc files can be
found.
> 2) I need to build librte_kni. a - Is this module deprecated in DPDK
> 24.11.1
yes. Recommend to use an in-kernel alternative, such as TAP or
virtio-vhost.
> 3) How can I enable librte_pmd_* modules? In the driver/net folder,
> many pmd are available, but none of them are built in the default ninja
> build.?
> How to enable this?
All buildable drivers are built by default. You will find them in the
<builddir>/drivers folder. NOTE: the names may have changed in some cases,
e.g. network drivers are now named with "librte_net_*" rather than
"librte_pmd_*", since all drivers in DPDK are of "pmd" type.
> I used the build steps listed below
> cd dpdk
> meson build
> ninja -C build
> Will you please help?
/Bruce
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-03-31 9:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-28 13:48 Migrate DPDK 18.05.1 -> DPDK 24.11.1 LTS Eldho Paul Mathew
2025-03-31 9:08 ` Bruce Richardson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).