http://bugs.dpdk.org/show_bug.cgi?id=1957

            Bug ID: 1957
           Summary: [dpdk-26.07] ABI testing dpdk26.07rc1+dpdk25.11 shows
                    error: "undefined symbol: rte_flow_dynf_metadata_offs,
                    version EXPERIMENTAL"
           Product: DPDK
           Version: 26.07
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: testpmd
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Environment
-----------
DPDK version:  
[DPDK 26.07rc1] 
commit c429b06df56788795f886eca748420e2248da784 (HEAD -> main, origin/main,
origin/HEAD)
Author: Thomas Monjalon <[email protected]>
Date:   Thu Jun 11 04:27:32 2026 +0200    
version: 26.07-rc1    
Signed-off-by: Thomas Monjalon <[email protected]>

Steps to reproduce
------------------

1, Build latest dpdk(dpdk26.07rc1)
cd dpdk
rm -rf x86_64-native-linuxapp-gcc
CC=gcc meson -Dlibdir=lib -Dc_args=-DRTE_BUILD_SHARED_LIB
--default-library=shared x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc
rm -rf /root/tmp/dpdk_share_lib /root/shared_lib_dpdk
DESTDIR=/root/tmp/dpdk_share_lib ninja -C x86_64-native-linuxapp-gcc -j 110
install
mv /root/tmp/dpdk_share_lib/usr/local/lib /root/shared_lib_dpdk
cat /root/.bashrc | grep LD_LIBRARY_PATH
sed -i 's#export LD_LIBRARY_PATH=.*#export
LD_LIBRARY_PATH=/root/shared_lib_dpdk#g' /root/.bashrc

2, copy LTS(dpdk25.11) dpdk_abi.tar.gz and build LTS dpdk
tar zxf /tmp/dpdk_abi.tar.gz -C ~
cd ~/dpdk/
rm -rf x86_64-native-linuxapp-gcc
CC=gcc meson -Dlibdir=lib -Dc_args=-DRTE_BUILD_SHARED_LIB
--default-library=shared x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc
rm -rf x86_64-native-linuxapp-gcc/lib
rm -rf x86_64-native-linuxapp-gcc/drivers

3, start testpmd
root@icx-jy-abi-d81:~/dpdk# x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-4
-n 4 -a 0000:31:00.0 --file-prefix=dpdk_14651_20260325102153  -d
/root/shared_lib_dpdk   -- -i

Show the output from the previous commands.
-------------------------------------------
root@icx-jy-abi-d81:~/jaccy/dpdk_25.11#
x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-4 -n 4 -a 0000:31:00.0
--file-prefix=dpdk_14651_20260325102153  -d /root/shared_lib_dpdk   -- -i
x86_64-native-linuxapp-gcc/app/dpdk-testpmd: symbol lookup error:
x86_64-native-linuxapp-gcc/app/dpdk-testpmd: undefined symbol:
rte_flow_dynf_metadata_offs, version EXPERIMENTAL

Expected Result
---------------
launch ok


Is this issue a regression: Y
-----------------------------

Version the regression was introduced:  commit 4ee2f5c1ced

commit 4ee2f5c1cedf9ee7f39afa667f71b07f4004ba5c (HEAD ->
4ee2f5c1ce-flowmetadata)
Author: Dariusz Sosnowski <[email protected]>
Date:   Fri May 29 09:28:53 2026 +0200

    ethdev: promote flow metadata API to stable

    Following experimental symbols related to flow metadata
    were added in v19.11:

    - rte_flow_dynf_metadata_register
    - rte_flow_dynf_metadata_offs
    - rte_flow_dynf_metadata_mask

    Type of rte_flow_dynf_metadata_offs was changed from int to int32_t
    in v20.05 release.
    There were no changes to these symbols since then.

    This patch promotes these symbols and removes __rte_experimental
    from the following inline functions:

    - rte_flow_dynf_metadata_avail
    - rte_flow_dynf_metadata_get
    - rte_flow_dynf_metadata_set

    All these symbols and functions will be used by netdev-doca
    backend in Open vSwitch [1].
    Stabilizing these symbols is required by current OVS policy
    to remove the need for ALLOW_EXPERIMENTAL_API [2].

    [1]:
https://patchwork.ozlabs.org/project/openvswitch/list/?series=504726&state=%2A&archive=both
    [2]: https://mail.openvswitch.org/pipermail/ovs-dev/2026-May/432066.html

    Signed-off-by: Dariusz Sosnowski <[email protected]>

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to