devtools: skip removed DLB driver in ABI check
authorThomas Monjalon <thomas@monjalon.net>
Tue, 13 Apr 2021 08:29:37 +0000 (10:29 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 13 Apr 2021 09:25:56 +0000 (11:25 +0200)
The eventdev driver DLB was removed in DPDK 21.05,
breaking the ABI check.
The exception was agreed so we just need to skip this check.

Note: complete removal of a driver cannot be ignored
in devtools/libabigail.abignore, so the script must be patched.

Fixes: 698fa829415d ("event/dlb: remove driver")

Reported-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: David Marchand <david.marchand@redhat.com>
devtools/check-abi.sh

index 9835e34..ca523eb 100755 (executable)
@@ -44,6 +44,10 @@ for dump in $(find $refdir -name "*.dump"); do
                echo "Skipped glue library $name."
                continue
        fi
+       if grep -qE "\<soname='librte_event_dlb\.so" $dump; then
+               echo "Skipped removed driver $name."
+               continue
+       fi
        dump2=$(find $newdir -name $name)
        if [ -z "$dump2" ] || [ ! -e "$dump2" ]; then
                echo "Error: cannot find $name in $newdir" >&2