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 1410543CEE for ; Tue, 19 Mar 2024 17:07:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CA08840EDC; Tue, 19 Mar 2024 17:07:52 +0100 (CET) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mails.dpdk.org (Postfix) with ESMTP id 0C4A540ED9 for ; Tue, 19 Mar 2024 17:07:51 +0100 (CET) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-6e6cb0f782bso4877777b3a.1 for ; Tue, 19 Mar 2024 09:07:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1710864471; x=1711469271; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=Fax8yTe8dFIDdB7JTESznYGRM5Zx8UX8iuXgOhBsv/s=; b=I7cNxtnioaw2e8wh3Dd3UGTp0eZxibqXQZ7KSojtwbGR90f6ueMJyY4fsAnK10tkNZ b2l7LVu0A00VjMJ/PVLShd404pPVwTf5x/TgW0W0oOvx4ggJiijTTzxeHhgI+vt6+cNL glWujVgHQ/6MvGE7rdpDCjrCq9ajRsSrpKAg7KvM+pfh4+5q7ixDMDVLDBELZGyo8YSk d6e3uc0tKV/KGyfZj/rMBJ1uR8qlpjcZFOeU5D/NgXWGNLduURAtB/ZzzxLn1hEhY/9P u+mdQi8lWVGyExtn4DwuRfa519Tb9hgGOOP1yFfgf3V1Yu9nSsyf31pVL2vsH33wdmBB /FxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864471; x=1711469271; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Fax8yTe8dFIDdB7JTESznYGRM5Zx8UX8iuXgOhBsv/s=; b=ut89OtAIp3rn9CY/O1/bkyOYMjWbyBXBPUYB+EcZXH0RtSH6RCl3llnb/Lbje3cB4y p2l8T5G3HdQXP3NK2/FwyS4Lz75W+Dv/2dJa4xyzgikfKfswJC+cxdCqenyncub58c9Y fYq5V3b8Cctxmc3ZMo5qGuKClXFidMCr4y7nHeOXixWKFzMIvC3CpPKdznWjyBNK3pGd AKlhmQPXj/YTTXVOpWKQdko0+MfkILLIFsyrWNgdoA1OqJZi0SwL4QDZiqHeRtf3Gcyt 5rrPjNbiqjD9bhkrdkS+dqyFiUYlcIuJKknuKZrxJVM1WsNnBh3RQrsM5bk4dSeKCp/P U7Xw== X-Gm-Message-State: AOJu0YzFYjhXEVmGcNWQEOyNps6//wmGcsq4e16AZLbyjZLPJaGnEhEX ftJJo4981uS2SIJLtDfq1OCj4u6VJNNvNbRgbzPyQb/Bz9+gK7Ah50DWvlydEtiqXts68qfC0Bp T X-Google-Smtp-Source: AGHT+IEUD4KnJ3Wrpg4xYFmTYyXRL8aIO118HUtUTUYbOsbpDnY6oErc31FUJA9qab6BNurnb4NFyg== X-Received: by 2002:a05:6a00:4fc3:b0:6e6:8ca5:c0d4 with SMTP id le3-20020a056a004fc300b006e68ca5c0d4mr3844250pfb.12.1710864469374; Tue, 19 Mar 2024 09:07:49 -0700 (PDT) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id s1-20020aa78d41000000b006e4e19f3539sm5498620pfe.86.2024.03.19.09.07.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:07:49 -0700 (PDT) Date: Tue, 19 Mar 2024 09:07:47 -0700 From: Stephen Hemminger To: Alessio Igor Bogani Cc: users@dpdk.org Subject: Re: dpdk-testpmd on XDP Message-ID: <20240319090747.16a3b28d@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Tue, 19 Mar 2024 11:48:53 +0100 Alessio Igor Bogani wrote: > The only suspicious part in the output of the dpdk-testpmd utility is: > [...] > libxdp: XDP flag not supported by libxdp. > 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 'xdp-dispatcher.o' > libxdp: Failed to load dispatcher: Invalid argument > libxdp: Falling back to loading single prog without dispatcher > [...] What distribution and kernel version? BPF/XDP has changed a lot over last couple of years and not maintained compatibility. If you are building your own kernel, likely need to build the xdp library as well. If getting from a distro (Fedora, Ubuntu, Debian, etc) then make sure that xdp and kernel match.