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 126F543BF2 for ; Tue, 27 Feb 2024 15:28:41 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0771D40295; Tue, 27 Feb 2024 15:28:41 +0100 (CET) Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) by mails.dpdk.org (Postfix) with ESMTP id C10D040151 for ; Tue, 27 Feb 2024 15:28:39 +0100 (CET) Received: by mail-pj1-f52.google.com with SMTP id 98e67ed59e1d1-299dba8fd24so2375118a91.2 for ; Tue, 27 Feb 2024 06:28:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709044118; x=1709648918; darn=dpdk.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FrKftyH0B7gXk3KPWwjUA9wLvGUJF6luDvw5O33hwIc=; b=kv8vW2xLQ8/twQPGh4s63LYrQRGcpRHYh1I26Dle573JVjWfopoK/ovGI8Kk41UKcj /R3spMjj5XDDD/50G88ACjr6WsV8J0IV1D1SLBRlfvnvcUC4MNSKqzaoOkLviMlENTWX iSvbE7Ha7XBwzffu6lKh/GYRbBOf2pB6RKiI2zZJFrwcRb1cMXyuk7FzqV8IXsYYpite sdWJDrokFG9jtKd7HZBpYZaZL1jv6IC+/Tc23EnMhGeGnwDV2THTn8/MxZ6ZaYzpVkTb P1tv7S/y6FtOrccGN1VYGHdOrISKAeFuccc/nZVka4Mun0D7nAsHv+eZ2v0r+N7KtJad 4Snw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709044118; x=1709648918; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FrKftyH0B7gXk3KPWwjUA9wLvGUJF6luDvw5O33hwIc=; b=DVsX8B7noNhhcseC5BW/uP3tuE2V5EA2qkjwpoz+udtN5FjeeTOTmA1iBM/pXXl9h9 DwNFVqgaDJ/bgPtZX8/h1/CbVlOibGmxdRSFVzONSFasv0eEtL67adOepO3rskxrVIRs rXBcJP1kjg16xCw8u9KupN1SgagCeoBIyUER73xecFqAIs2d5pa1TrR+CvWF0R5U3Rpg yHfAUmEVVkrdd0kW1zALCUdwFpJF3ILAP60O3qntxJR6M801PMa8fwoqpaBQ4bx4Gz/j /S+YaBb7MN29A0wF15R7FqwX92aUCypbRmYRXmU7qMI+ZYV7H3ky9VqrDbxR4t29D/hk QYYw== X-Gm-Message-State: AOJu0Yz8e81TFnw8xwHa5BdKV1odhLnzB8ujMxG1263eAgzFPJe6QTCb sER7sb0GHdaDnWtgL/Ujg9+RiOeoKLWGlE5oZq5U7ng7HvFrmEHEn+hqRT+GNGiSqRf30Ik+4Y7 i5uoWjdm3fszMth6LfsxLsBimEA5Cgd/+3qk= X-Google-Smtp-Source: AGHT+IGRXrngYWYwT3bwlGofhvLYplijke5IuhGA0WUZK/D4FxpLYcKeYvkUPGWR2nZQ52wsukKUYXbUww1p2n0QBiw= X-Received: by 2002:a17:90a:9a4:b0:29a:6678:f7d3 with SMTP id 33-20020a17090a09a400b0029a6678f7d3mr7016212pjo.42.1709044118397; Tue, 27 Feb 2024 06:28:38 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Isaac Boukris Date: Tue, 27 Feb 2024 16:28:25 +0200 Message-ID: Subject: Re: iavf: rte_eth_stats_get() fails upon upgrade to 23.07.0 To: users@dpdk.org, jingjing.wu@intel.com, beilei.xing@intel.com, wenzhuo.lu@intel.com, qi.z.zhang@intel.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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, Feb 27, 2024 at 1:27=E2=80=AFPM Isaac Boukris = wrote: > > Hello, > > This works fine with 23.03.0 but starting from 23.07.0 up to master it > fails as follows. > > Initialization is ok: > EAL: Probe PCI driver: net_iavf (8086:154c) device: 0000:09:00.0 (socket = -1) > iavf_set_rx_function(): request RXDID[1] in Queue[0] is legacy, set > rx_pkt_burst as legacy for all queues > > telemetry.py /ethdev/link_status,0 | jq > { > "/ethdev/link_status": { > "status": "UP", > "speed": 40000, > "duplex": "full-duplex" > } > } > > But the following command hang and fail: > telemetry.py /ethdev/stats,0 | jq > telemetry.py /ethdev/xstats,0 | jq > > On the logs I see: > iavf_execute_vf_cmd(): No response for cmd 15 > iavf_query_stats(): fail to execute command OP_GET_STATS > iavf_dev_stats_get(): Get statistics failed I did some git bisect and found the commit below, help appreciated! 5712bf9d6e14d0eaa7a07814d59351ffeb8e02ed is the first bad commit commit 5712bf9d6e14d0eaa7a07814d59351ffeb8e02ed Author: Wenzhuo Lu Date: Tue Apr 18 13:11:05 2023 +0800 net/iavf: add Tx AVX2 offload path Add a specific path for TX AVX2. In this path, support the HW offload features, like, checksum insertion, VLAN insertion. This path is chosen automatically according to the configuration. 'inline' is used, then the duplicate code is generated by the compiler. Signed-off-by: Wenzhuo Lu Acked-by: Qi Zhang drivers/net/iavf/iavf_rxtx.c | 33 +++++++++++++-------- drivers/net/iavf/iavf_rxtx.h | 2 ++ drivers/net/iavf/iavf_rxtx_vec_avx2.c | 54 +++++++++++++++++++++++++------= ---- 3 files changed, 62 insertions(+), 27 deletions(-)