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 85E3C454E2; Mon, 24 Jun 2024 17:15:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 720A440E1B; Mon, 24 Jun 2024 17:15:52 +0200 (CEST) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mails.dpdk.org (Postfix) with ESMTP id 85E2A40BA5 for ; Mon, 24 Jun 2024 17:15:51 +0200 (CEST) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-7067cac6d6bso1105403b3a.0 for ; Mon, 24 Jun 2024 08:15:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1719242151; x=1719846951; 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=coUhwBvTlDEJ5w4A4g+MiVFg2phkaPurQygrki0pkXU=; b=nr2FBlA5nwtjgPbDV6hCWQlU5y4CCjNxkhzq7qVniKRs8TVch6+QR4EbGuP+AYc9sx ptCjZEVTSo8nj+iYxj2PlUFAwkx9CZzeOWiICfiwa2HyT8ejHG6Ecm+dxoCqUgLZ2+q1 ddDDeaadYTrQ3IvyHfoUcrMwcm5EpcSe+yNyWLpGVsSdlQ42OlyCA414a4zjcInZgOdQ UflfZq3B5v3NrJ2BnUDq+G7dKLXwPxGArSASGw4ClBpcCTkftmx8VHj+IMlpZo6Z3w6O Y7MRvlVv6Uu9vSF/nXkwWmi9o9yxDgGiU4cGX3TTBlyUNZTHmakrCDN7zbVgYHqrj+/A E/rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719242151; x=1719846951; 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=coUhwBvTlDEJ5w4A4g+MiVFg2phkaPurQygrki0pkXU=; b=PMexIYI7PPVOurmKos8/Dyp944gQhlkcn79iYMxNPV61wh/nFg2KkyGT/KEJ1H4lAL gPH+dhUhpR4KesbTxsSJ0NJflTWr6yh2kSWVZYpNkA7B7P7eR6bOiaisOnmSCUnS9RVH +juMHm53GszvY2jdWsQEN7dnnKeIR+m36mmUS0llveC1UGCZRGoGjgP/5x187PHggoN5 iT7nszBX+LPCF3A8+HT9y13/Z9/+iGdMElmt0eU1Ut+w6oRAAzepRhcpTMaVpRCciip2 yX49w92CQyPu3832p1pi9RuVd+pSZpTfrRto9R9qzmaSI6NXBrLPZGSubdsoXVE3htiY 3nrw== X-Forwarded-Encrypted: i=1; AJvYcCXLZoG83o7V0jg+iqyPqc8ztz4mH3/hbgr59Pa2pOg7meSpV5yBUSiCotmUye44GLKvJpfAZZhdhMKW7Ds= X-Gm-Message-State: AOJu0Yw3Xd3O34VnX5ztL2mhLCMNAWfpjwCgJcwQoBP98MU+1EtifNx+ l9JBxpLLUnji88jK6U1mvYqSnrZaJ75C/TBrmDZcSqOkqhYE2NdYBNzCA4ekX/8= X-Google-Smtp-Source: AGHT+IG+ykgNKujCy/h0sR9QxI/UPPuqQtmMrNcsX8dOV7G9jzOTb4WtdjjAnwYY64/mT/ySUcX45g== X-Received: by 2002:a05:6a00:1d1d:b0:706:61cc:577f with SMTP id d2e1a72fcca58-70674548227mr5428124b3a.3.1719242150583; Mon, 24 Jun 2024 08:15:50 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-706512f1466sm6328136b3a.192.2024.06.24.08.15.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jun 2024 08:15:50 -0700 (PDT) Date: Mon, 24 Jun 2024 08:15:48 -0700 From: Stephen Hemminger To: Vladimir Ratnikov Cc: longli@microsoft.com, dev@dpdk.org Subject: Re: [PATCH v2] bus/vmbus: add device_order field to rte_vmbus_dev Message-ID: <20240624081548.22e00e3e@hermes.local> In-Reply-To: <20240624111521.3253-1-vratnikov@netgate.com> References: <20240624110415.3230-1-vratnikov@netgate.com> <20240624111521.3253-1-vratnikov@netgate.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Mon, 24 Jun 2024 11:15:21 +0000 Vladimir Ratnikov wrote: > Field can be used to have static interface naming > in DPDK based applications instead of uuid. > RTE_FOREACH_DEV won't return the correct order of > such devices due to vmbus_ignore_device in case of > blocklisting/allowlisting. So device_order field > will be helpful in that case. > > Signed-off-by: Vladimir Ratnikov The patch only has the device_order field, but it is set but not used anywhere in the DPDK. If you want to use it for naming then please add that patch as well.