DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-stable-24.11.3] bbdev_trace.h: No such file or directory
@ 2025-09-22 16:44 David Aldrich
  2025-09-23  7:14 ` David Marchand
  0 siblings, 1 reply; 3+ messages in thread
From: David Aldrich @ 2025-09-22 16:44 UTC (permalink / raw)
  To: users

Hi
I am upgrading our DPDK-enabled app from dpdk-stable-23.11.1 to
dpdk-stable-24.11.3. With dpdk-stable-24.11.3 I get compilation error:

In file included from <snip>:
/opt/dpdk/dpdk-stable-24.11.3/install/include/rte_bbdev.h:36:10: fatal
error: bbdev_trace.h: No such file or directory

We use pkg-config to provide cflags:

$ pkg-config --cflags libdpdk
-I/opt/dpdk/dpdk-stable-24.11.3/install/include -include rte_config.h
-march=native -mrtm

but the path to bbdev_trace.h is not included:

$ find /opt/dpdk/dpdk-stable-24.11.3/ -name bbdev_trace.h
/opt/dpdk/dpdk-stable-24.11.3/lib/bbdev/bbdev_trace.h

Please suggest what is missing.

Best regards
David

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-stable-24.11.3] bbdev_trace.h: No such file or directory
  2025-09-22 16:44 [dpdk-stable-24.11.3] bbdev_trace.h: No such file or directory David Aldrich
@ 2025-09-23  7:14 ` David Marchand
  2025-09-23 16:04   ` David Aldrich
  0 siblings, 1 reply; 3+ messages in thread
From: David Marchand @ 2025-09-23  7:14 UTC (permalink / raw)
  To: David Aldrich; +Cc: users, Maxime Coquelin, Kevin Traynor

Hello,

On Mon, 22 Sept 2025 at 18:45, David Aldrich
<david.aldrich.ntml@gmail.com> wrote:
> I am upgrading our DPDK-enabled app from dpdk-stable-23.11.1 to
> dpdk-stable-24.11.3. With dpdk-stable-24.11.3 I get compilation error:
>
> In file included from <snip>:
> /opt/dpdk/dpdk-stable-24.11.3/install/include/rte_bbdev.h:36:10: fatal
> error: bbdev_trace.h: No such file or directory

Something is strange.
I see no reference to bbdev_trace.h in neither v24.11.3 tarball, nor
the 24.11 stable branch.
$ git grep bbdev_trace.h v24.11.3

It looks like you have some change in your dpdk copy, or I am missing
context to understand your report.


> We use pkg-config to provide cflags:
>
> $ pkg-config --cflags libdpdk
> -I/opt/dpdk/dpdk-stable-24.11.3/install/include -include rte_config.h
> -march=native -mrtm
>
> but the path to bbdev_trace.h is not included:
>
> $ find /opt/dpdk/dpdk-stable-24.11.3/ -name bbdev_trace.h
> /opt/dpdk/dpdk-stable-24.11.3/lib/bbdev/bbdev_trace.h

Which is expected.
bbdev_trace.h is a private header that is not exported.


-- 
David Marchand


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-stable-24.11.3] bbdev_trace.h: No such file or directory
  2025-09-23  7:14 ` David Marchand
@ 2025-09-23 16:04   ` David Aldrich
  0 siblings, 0 replies; 3+ messages in thread
From: David Aldrich @ 2025-09-23 16:04 UTC (permalink / raw)
  To: David Marchand; +Cc: users, Maxime Coquelin, Kevin Traynor

Hi David

Thanks for your reply. I found that bbdev_trace.h is created by a
third-party patch I am required to apply, and it is not copied to the
install directory. My workaround is to manually copy it.

BR
David

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-09-23 16:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-22 16:44 [dpdk-stable-24.11.3] bbdev_trace.h: No such file or directory David Aldrich
2025-09-23  7:14 ` David Marchand
2025-09-23 16:04   ` David Aldrich

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).