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 C9CB3436D3 for ; Tue, 12 Dec 2023 17:43:51 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 83ED442E4F; Tue, 12 Dec 2023 17:43:51 +0100 (CET) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mails.dpdk.org (Postfix) with ESMTP id 5132F42E4E for ; Tue, 12 Dec 2023 17:43:50 +0100 (CET) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-6ce6caedce6so3665630b3a.3 for ; Tue, 12 Dec 2023 08:43:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702399429; x=1703004229; 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=cOjAXZGxa2DutJgRNc6FjG6/SdGUgItS6MkEMFrhQVA=; b=Cmc3sh5/bLB+48xpaL+1sxuWuPBz+Q6qqSAvTHCBNPlSPTBYwgOJ4d0a5Y39JK0gJh ulxyRNs3xMkK8roVI67pzCH5mFEMS/+jR8DBrn60U+c/SBJmqlRukLZyCAuMtNawysQ8 PaLVzNUf/M5viZT+P3/CWuHceSEToLdsgeXvuCVJXDgek2MStvQomV8p0J7Xy5Jc5hnV Cj/TNUae8ACE3mda4FZxp4BAybWHYbEi851sHuZuNBlBiCwhWVmEfkseAGtG80Nnn5Lz PczBAjZvwhjENA+k0ThQkCcqyTLJzy1OCaQTUF7G1B7L7m1cPBJ9FgVxu9cJRmKv0yim s2wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702399429; x=1703004229; 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=cOjAXZGxa2DutJgRNc6FjG6/SdGUgItS6MkEMFrhQVA=; b=PLa6Jclnf4//L6QpU5R9I2JJ6OERsrTKFRKnS0+cveY/kHv0BWqISWiD0PcqqOGi1H 0XwkswHtUNFo4NiVPM+tAWMqnM1xxUuYjDNvp8A8WP9eFnjFUY/+IqGd26X9H+pA7sin 4cdPCMVQ9SWydBKNh3H0+B1YiSMDmSrrhDk6KiwbATIt1/UWO+zhQUykKkF9vJ6ZvzUi ZRdH9YVKbtYQzuGISKPorP0ViK5GVilTAYVrU5akO0R7oVaysMl2PXZdQ1P9sYRCSJfE 7FJ4PUsxBN6rbZCPQrDuJvR6pz564322+QXXR9yioPg0Ka+TQFaL+WqZdnRzngdIH+uG ecgw== X-Gm-Message-State: AOJu0YzHjQsCuZt8oiRQp2Z3qIQcIbjqgj5SLjGca03Q8pn3j1K7TGgf RbPjcXa6n2uaJv8OPTgIhswmpA== X-Google-Smtp-Source: AGHT+IG9Yj3nyfqo5UdzoRzjyZhNz3cUIlTNmzCAZtuH4C8YGYBk12FpDOoanYGOnVpRNuNuQnVZTg== X-Received: by 2002:a05:6a21:350d:b0:190:4376:c15f with SMTP id zc13-20020a056a21350d00b001904376c15fmr4813353pzb.8.1702399429434; Tue, 12 Dec 2023 08:43:49 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id q20-20020a656854000000b005b7dd356f75sm7277119pgt.32.2023.12.12.08.43.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 08:43:49 -0800 (PST) Date: Tue, 12 Dec 2023 08:43:47 -0800 From: Stephen Hemminger To: "Lombardo, Ed" Cc: "users@dpdk.org" Subject: Re: VM SR-IOV VF fails dpdk Message-ID: <20231212084347.3d25c53b@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, 12 Dec 2023 16:33:51 +0000 "Lombardo, Ed" wrote: > Hi, > I am finding an issue on ESXi host running our Linux VM application. The DPDK version is 17.11 and VM OS is 3.10.0-1160.81.1.el7.x86_64. > ESXi host version is 7.03. > The NIC is the Intel x710-DA2 in SR-IOV mode. Configured on ESXi host 4 virtual functions. > Our VM has one of the four virtual functions from the x710 NIC for DPDK port. > > In our application, when we initialize the port and all the checks pass, but rte_eth_dev_start() fails for -1 return code. > The failure from gdb is: > i40evf_configure_vsi_queues(): Failed to execute command of VIRTCHNL_OP_CONFIG_VSI_QUEUES > i40evf_dev_start(): configure queues failed > > Our application requires 1 Rx queue and 4 Tx queues. > > When I change the number of Tx queues from 4 to 1 the failure is not seen. However our application requires 4 Tx queues so not an option. > This same VM ran successfully when ESXi host was 5.5. > > We had our IT department do a sanity check on the ESXi host and upgrade any VIBs recommended, but did not resolve the problem. > > Tried testpmd and also failed for DPDK start. > > Thanks, > Ed Using a 5 year old version of DPDK is not recommended or supported. Not familiar with VMWare internals, but suspect that it requires that the number of Rx and Tx queues are the same.