DOCA DPDK march=corei7 switch set in build image

I am running into an issue when trying to use some of our in-house existing libraries with the host DOCA build image.

In short we want to do uuid generation fast. for that we are using this library:

Which in turn means that -march=haswell has to be set in order to avoid errors like this:

https://stackoverflow.com/questions/58116785/inlining-failed-in-call-to-always-inline-mm256-add-epi32-target-specific-opt

Previously when using DPDK we have in our build images configured DPDK to be build with -march=haswell

However, since the DPDK version that comes with DOCA is build with -march=corei7 that causes a ‘target specific option mismatch’ buid error.

As far as I can tell, it is not possible to configure the DPDK that comes with DOCA with another -march (But maybe I am missing something).

Or, do the DOCA libraries come with any functionality for fast UUID generation?

Thanks

Hello mvo,

Thank you for posting your inquiry to the NVIDIA Developer forums.

If customization of DPDK for use with Bluefield is needed, you will need to recompile manually:
https://doc.dpdk.org/guides/platform/bluefield.html

Currently, there are no DOCA libraries which enable fast UUID generation. If this is a feature enhancement you think we should implement, we recommend reaching out to your account team (or our sales and solutions team) to start the conversation.

Best regards,
NVIDIA Enterprise Experience

1 Like