From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <users-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id C886743D27
	for <public@inbox.dpdk.org>; Sat, 23 Mar 2024 00:32:23 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 7B21C402BD;
	Sat, 23 Mar 2024 00:32:23 +0100 (CET)
Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com
 [209.85.215.174])
 by mails.dpdk.org (Postfix) with ESMTP id 9FE5740279
 for <users@dpdk.org>; Sat, 23 Mar 2024 00:32:22 +0100 (CET)
Received: by mail-pg1-f174.google.com with SMTP id
 41be03b00d2f7-5cedfc32250so1666799a12.0
 for <users@dpdk.org>; Fri, 22 Mar 2024 16:32:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1711150341;
 x=1711755141; 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=UYldXgBuUal93OkcH2/IRBPIuNIj5HuCBiqe0xNI15M=;
 b=tjuymVAXFhPhkJakbzOiSBWeWF6+hnKOUbffWuM2yrRps1FEsq3Og0TGbX4YxPkdF/
 BETbOn1JWbnllppzxSYOg/W80S7uq9CoukyOrxvbXkAm6EeL/PEmjI413w31AfxumROc
 eDOEyeHvUwautjoFWV5Lj4Z0SmHN59BU8otThmxvPPVEhOhLPSIMHZ3lFmztZW1L2vD7
 GGG1qoe7OqbZ92REjJmLb1GYjbjVNr8t7gAnCJrK42E7tOg84ieJgC/qZfToJJjiJeXP
 9KSK5cXBRRFb+uzrJePY0wGZdnACM9AbYxVbwtZbhbCA+EeOTuDI2D2kGCq6MeK+nx5D
 ExOg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1711150341; x=1711755141;
 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=UYldXgBuUal93OkcH2/IRBPIuNIj5HuCBiqe0xNI15M=;
 b=xFE+vKSkLQKzmt7v+HOrNlHHaOYjtwtHPzUC3Yqgd5y9sFMDhx+/2a3wMIHfKumu37
 B0YNKXdmL/l7JLn5kEveGEBRquHiXfPC4AQQMugsOYe55fWBtcO2IBLLKVs+hVAYIoZM
 39Mv8ReRSEG1LMrKgYsdArY/9zih0tmna2jb4e4Dlul0/0B9oNZMYCBQLcpQ2BQDRpN/
 BtTiTNaDQPfWj4v4B92PeL9Flz/vJoe+Olv5g3HwdRAw5mZGkMlcS3vL+xYjmgAx9voO
 gj46bzZYS54D75h6+m3oGLmWYr5IUjMxfqRFO/E3Ks5sgEy2lNCrGtrdGgVIh8twqg8p
 eOCg==
X-Gm-Message-State: AOJu0YwDTBuPnZAnIbU8AvU4pEDinCIR+i6gSYz6Ss+l7uCUGwHQCS6z
 Rmuha7OUt0iqLiKUuN0/DCzHl+myqP/ZRUlv0SfTBL7/Nf49TChFALfEiij7+w0=
X-Google-Smtp-Source: AGHT+IEbtSlfhv5FraY7uvkA9ydn/QhyBsFuWClkEEg8b4kCfq6MBUFFNq6P70t5ccaR2dB/oQZr1A==
X-Received: by 2002:a05:6a21:3293:b0:1a3:638f:4fbe with SMTP id
 yt19-20020a056a21329300b001a3638f4fbemr1241015pzb.42.1711150341649; 
 Fri, 22 Mar 2024 16:32:21 -0700 (PDT)
Received: from hermes.local (204-195-123-203.wavecable.com. [204.195.123.203])
 by smtp.gmail.com with ESMTPSA id
 ju9-20020a170903428900b001dee4bee1acsm300145plb.224.2024.03.22.16.32.21
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 22 Mar 2024 16:32:21 -0700 (PDT)
Date: Fri, 22 Mar 2024 16:32:19 -0700
From: Stephen Hemminger <stephen@networkplumber.org>
To: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Cc: users@dpdk.org, Anuj Mittal <anuj.mittal@intel.com>
Subject: Re: dpdk-testpmd on XDP
Message-ID: <20240322163219.0fba2900@hermes.local>
In-Reply-To: <CAPk1OjFpnW6Jb78m=0_cQiUgpzmUg3O7aDYhDx7RtMHux7FOyA@mail.gmail.com>
References: <CAPk1OjFMnpprktN=rYCweL5BUOPgyM38exXK-BC8VbTJmbwcUw@mail.gmail.com>
 <20240319090747.16a3b28d@hermes.local>
 <CAPk1OjGtLL998wC7t_8mW-nHW9Gz1EuMFRBMJuv7MS8hL7YYNg@mail.gmail.com>
 <20240320092409.4e223a23@hermes.local>
 <CAPk1OjFpnW6Jb78m=0_cQiUgpzmUg3O7aDYhDx7RtMHux7FOyA@mail.gmail.com>
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 <users.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/users>,
 <mailto:users-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/users/>
List-Post: <mailto:users@dpdk.org>
List-Help: <mailto:users-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/users>,
 <mailto:users-request@dpdk.org?subject=subscribe>
Errors-To: users-bounces@dpdk.org

On Fri, 22 Mar 2024 18:57:54 +0100
Alessio Igor Bogani <alessio.bogani@elettra.eu> wrote:

> Hi Stephen,
> 
> Thank you for your support!
> 
> On Wed, 20 Mar 2024 at 17:24, Stephen Hemminger
> <stephen@networkplumber.org> wrote:
> [...]
> > Then you need to build bpf tools from the same kernel directory and use  
> [...]
> 
> Using the right version of libbpf makes all errors disappear!
> Unfortunately packets aren't flowing yet between the two interfaces
> (things that happen when I use the vfio-pci approach).
> Do you have other tips for me?
> 
> Thanks!
> 
> Ciao,
> Alessio

You are going to have instrument and debug the internals of XDP.
I am not an expert there.