From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7639FA0507 for ; Fri, 29 Apr 2022 21:01:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F0BCD4281C; Fri, 29 Apr 2022 21:01:43 +0200 (CEST) Received: from bacon.elettra.eu (bacon.elettra.eu [140.105.206.12]) by mails.dpdk.org (Postfix) with ESMTP id 2DDC6410E3 for ; Fri, 29 Apr 2022 21:01:42 +0200 (CEST) X-Envelope-From: Received: from zmp.elettra.eu (zmp.elettra.trieste.it [140.105.206.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bacon.elettra.eu (Postfix) with ESMTPS id 805CC41D8E for ; Fri, 29 Apr 2022 21:01:35 +0200 (CEST) Received: from zmp.elettra.eu (localhost [127.0.0.1]) by zmp.elettra.eu (Postfix) with ESMTPS id 75E6014308BE for ; Fri, 29 Apr 2022 21:01:35 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zmp.elettra.eu (Postfix) with ESMTP id 5DEAF14308C1 for ; Fri, 29 Apr 2022 21:01:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at zmp.elettra.eu Received: from zmp.elettra.eu ([127.0.0.1]) by localhost (zmp.elettra.eu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 5xwjEqxi_ozH for ; Fri, 29 Apr 2022 21:01:35 +0200 (CEST) Received: from mail-yb1-f170.google.com (mail-yb1-f170.google.com [209.85.219.170]) by zmp.elettra.eu (Postfix) with ESMTPSA id 3C98814308BE for ; Fri, 29 Apr 2022 21:01:35 +0200 (CEST) Received: by mail-yb1-f170.google.com with SMTP id r189so16066496ybr.6 for ; Fri, 29 Apr 2022 12:01:35 -0700 (PDT) X-Gm-Message-State: AOAM530HCZtsfVk7ktKR7mWaTICLju1qCgwJw0XupSA4KM2CzZI6K2xd +6+mPjzj7jY5ZNp75D0ZRJU1FA78ygzPOi45x50= X-Google-Smtp-Source: ABdhPJxBI1ZVf8KOZK2HT936YJRR5fR+VsWJB4nbtc2SYsK+GhpKELxrpDkjgkyTPcwsFneSTMbgcL/uCAZKApbRnz4= X-Received: by 2002:a25:4243:0:b0:645:7c15:c34b with SMTP id p64-20020a254243000000b006457c15c34bmr943236yba.46.1651258893815; Fri, 29 Apr 2022 12:01:33 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alessio Igor Bogani Date: Fri, 29 Apr 2022 21:00:57 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: test-pmd strange output on AF_XDP To: "Loftus, Ciara" Cc: "users@dpdk.org" Content-Type: text/plain; charset="UTF-8" X-elettra-Libra-ESVA-Information: Please contact elettra for more information X-elettra-Libra-ESVA-ID: 805CC41D8E.AD91D X-elettra-Libra-ESVA: No virus found X-elettra-Libra-ESVA-From: alessio.bogani@elettra.eu X-elettra-Libra-ESVA-Watermark: 1651863696.08006@LLP88MK3KiHrcdGbibcpfw X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Hi Ciara, First of all: Thanks for help! On Fri, 29 Apr 2022 at 15:50, Loftus, Ciara wrote: [...] > > Configuring Port 0 (socket 0) > > libbpf: elf: skipping unrecognized data section(7) .xdp_run_config > > libbpf: elf: skipping unrecognized data section(8) xdp_metadata > > libxdp: XDP flag not supported by libxdp. > > libbpf: elf: skipping unrecognized data section(7) xdp_metadata > > libbpf: prog 'xdp_dispatcher': BPF program load failed: Invalid argument > > libbpf: prog 'xdp_dispatcher': -- BEGIN PROG LOAD LOG -- > > Validating prog0() func#1... > > btf_vmlinux is malformed > > Arg#0 type PTR in prog0() is not supported yet. > > processed 0 insns (limit 1000000) max_states_per_insn 0 total_states 0 > > peak_states 0 mark_read 0 > > -- END PROG LOAD LOG -- > > libbpf: failed to load program 'xdp_dispatcher' > > libbpf: failed to load object '/usr/local/lib/bpf//xdp-dispatcher.o' > > libxdp: Failed to load dispatcher: Invalid argument > > libxdp: Falling back to loading single prog without dispatcher > This looks like the libxdp issue reported here: https://github.com/xdp-project/xdp-tools/issues/184 > It looks like a fix was pushed to libxdp to address it. Could you try that out and see if it solves your issue? Unfortunately I already have it: Indeed I'm using the tip of the HEAD of both DPDK and xdk-tools (which contains libxdp). I'll continue to investigate. Ciao, Alessio