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 269DC43D24 for ; Fri, 22 Mar 2024 19:15:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F58942ECA; Fri, 22 Mar 2024 19:15:04 +0100 (CET) Received: from eggs.elettra.eu (eggs.elettra.trieste.it [140.105.207.10]) by mails.dpdk.org (Postfix) with ESMTP id BA34740284 for ; Fri, 22 Mar 2024 19:15:01 +0100 (CET) X-Envelope-From: Received: from zmp.elettra.eu (zmp.elettra.trieste.it [140.105.206.204]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by eggs.elettra.eu (Postfix) with ESMTPS id 4V1VmJ0y39zBrLw for ; Fri, 22 Mar 2024 19:12:32 +0100 (CET) Received: from zmp.elettra.eu (localhost [127.0.0.1]) by zmp.elettra.eu (Postfix) with ESMTPS id 6D6D6140FEA3 for ; Fri, 22 Mar 2024 19:14:27 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zmp.elettra.eu (Postfix) with ESMTP id 5938A140FEB0 for ; Fri, 22 Mar 2024 19:14:27 +0100 (CET) X-Virus-Scanned: amavis at zmp.elettra.eu Received: from zmp.elettra.eu ([127.0.0.1]) by localhost (zmp.elettra.eu [127.0.0.1]) (amavis, port 10026) with ESMTP id fgXQ6gzypyuv for ; Fri, 22 Mar 2024 19:14:27 +0100 (CET) Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by zmp.elettra.eu (Postfix) with ESMTPSA id 4148F140FEA3 for ; Fri, 22 Mar 2024 19:14:27 +0100 (CET) Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-5c6bd3100fcso1328169a12.3 for ; Fri, 22 Mar 2024 11:14:27 -0700 (PDT) X-Gm-Message-State: AOJu0Yyd6Bbnh3WzpxREM09JMf7CiJa95gitBP1ORPGJOeqn82JQKrtc jKz0xt+KfCw+UnKhAwGKHe9pAyTov44IUX1nRoq/rKUs9yQCpAhT7CXICwIWir1CPUpip0GiR7v o+6fWbcBnA+EVxDmcknHpFgZ6Yw0= X-Google-Smtp-Source: AGHT+IHxeOGy3udYrV7qmnU82FsQO7pZeQXVcnkVxja5H33iHMN4w17jKSCLJFrjbztEoXUFIzQoFbxGzWbAbaNwZ0U= X-Received: by 2002:a17:90a:394d:b0:29f:a0e0:3aef with SMTP id n13-20020a17090a394d00b0029fa0e03aefmr418566pjf.17.1711131265287; Fri, 22 Mar 2024 11:14:25 -0700 (PDT) MIME-Version: 1.0 References: <20240319090747.16a3b28d@hermes.local> <20240320092409.4e223a23@hermes.local> In-Reply-To: From: Alessio Igor Bogani Date: Fri, 22 Mar 2024 19:13:48 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: dpdk-testpmd on XDP To: Stephen Hemminger Cc: users@dpdk.org, Anuj Mittal Content-Type: text/plain; charset="UTF-8" X-elettra-Libra-ESVA-Information: Please contact elettra for more information X-elettra-Libra-ESVA-ID: 4V1VmJ0y39zBrLw X-elettra-Libra-ESVA: No virus found X-elettra-Libra-ESVA-From: alessio.bogani@elettra.eu X-elettra-Libra-ESVA-Watermark: 1711735954.82209@kaadqdvmFl1U2MOgCzwtvg 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 Stephen, Here the diff between logs: # diff vfio.log xdp.log 7,11d6 < EAL: Using IOMMU type 1 (Type 1) < EAL: Ignore mapping IO port bar(2) < EAL: Probe PCI driver: net_e1000_igb (8086:1521) device: 0000:15:00.0 (socket 0) < EAL: Ignore mapping IO port bar(2) < EAL: Probe PCI driver: net_e1000_igb (8086:1521) device: 0000:15:00.3 (socket 0) 22,23c17,18 < Port 0 Link up at 1 Gbps FDX Autoneg < Port 1 Link up at 1 Gbps FDX Autoneg --- > Port 0 Link up at 10 Gbps FDX Autoneg > Port 1 Link up at 10 Gbps FDX Autoneg 36c31 < RX desc=512 - RX free threshold=32 --- > RX desc=0 - RX free threshold=0 40,41c35,36 < TX desc=512 - TX free threshold=0 < TX threshold registers: pthresh=8 hthresh=1 wthresh=16 --- > TX desc=0 - TX free threshold=0 > TX threshold registers: pthresh=0 hthresh=0 wthresh=0 46c41 < RX desc=512 - RX free threshold=32 --- > RX desc=0 - RX free threshold=0 50,51c45,46 < TX desc=512 - TX free threshold=0 < TX threshold registers: pthresh=8 hthresh=1 wthresh=16 --- > TX desc=0 - TX free threshold=0 > TX threshold registers: pthresh=0 hthresh=0 wthresh=0 I don't know why dpdk-testpmd (using xdp) reports 10 Gbps but NICs are 1 Gbs only... Ciao, Alessio