From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7C4FDA2EDB for ; Mon, 30 Sep 2019 20:53:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C024E1BE90; Mon, 30 Sep 2019 20:53:42 +0200 (CEST) Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by dpdk.org (Postfix) with ESMTP id 648D91BE8F for ; Mon, 30 Sep 2019 20:53:41 +0200 (CEST) Received: by mail-pg1-f195.google.com with SMTP id y35so7894858pgl.1 for ; Mon, 30 Sep 2019 11:53:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Gz06nLR0mMyrrQY+OUSP6Zsk8E+CJDm8sFzIggdhBGU=; b=deA+zi1n8YPGK2DVM6sMhGiIv5rkCgs7dPTvqFhDcTTweNIwwnL+Pf9IDvITJWEnEa 6lGDSST3/cdLirJggQBVG9sc0keVNDre96+89ZCO9KgiuelzFT/nEvabyDCv5wcEUQI6 cfF04MtjSm4x/ZmT+rh66SszFOjhaTvj3pr0QUVgNytzcINLkp7Q9dv63gf054rVQSCX DJckahD4F45tq1zX1gNcLGIs1VsHd4gunY5TvqBHWgltNjGAZOlwQngjzSVQEtS/cuWw 5coci/YozM8X5ZAbFAnQQbkZirIy59m29ajdWzKackSOErVHO9ncmjn7ZsDpG0qYin0x Cc3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Gz06nLR0mMyrrQY+OUSP6Zsk8E+CJDm8sFzIggdhBGU=; b=ryKSzZAYxAqSzvTFoE33lNAKI2G01v4ONlNXA0y2jUA258Fer/FqwxAK3a3dMyXjp5 3UMyD978K0Yvxbs6iuawDVeQP9nTXk+KZRA9hdNil1h0mU/50KuuhrTzF2HFxJxtGkGn eUyQOsscmmLj1cNldcYUVEtif1x7piCTPfDSp3ksjDW3ytHSlqr+8ul5qQiRpv5KZr2k AzdKHkJ+/2mgRedYoD0N44FIwoFpZQQ4c7CMbKqemeZp77bxRPJUnpklaCo5ltaOUsQ3 YTGlZvU+6hegYBndUfA0kxQ+f9OodFzDxujObf+Yj5imC9PK7rPUvNOlPv68Kx1UmQw7 ZseA== X-Gm-Message-State: APjAAAVDn6qFRCwvS8XptX/0RBOuFlsWrdKBVlqbfmIhy2pxl+mLqYxr ZmrQt6x0K7Dk9FPTfsdhznJT9w== X-Google-Smtp-Source: APXvYqzVs8LtN4J3N8+jetRkxFEwNAPylxLVFbF7l7wYtEGVIF2sYaxP8UCjEeyU3jtXUT4bPUYDvw== X-Received: by 2002:aa7:9735:: with SMTP id k21mr23689033pfg.174.1569869620333; Mon, 30 Sep 2019 11:53:40 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id y138sm14651884pfb.174.2019.09.30.11.53.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2019 11:53:40 -0700 (PDT) Date: Mon, 30 Sep 2019 11:53:33 -0700 From: Stephen Hemminger To: Gaetan Rivet Cc: dev@dpdk.org, Slava Ovsiienko , Ferruh Yigit , Anatoly Burakov , Thomas Monjalon , Jerin Jacob Kollanukkaran , David Marchand Message-ID: <20190930115333.5302e457@hermes.lan> In-Reply-To: <30b29c553a1ae4faafbd2018ec3a6701b71d266a.1569846991.git.gaetan.rivet@6wind.com> References: <30b29c553a1ae4faafbd2018ec3a6701b71d266a.1569846991.git.gaetan.rivet@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v1] eal: add manual probing option X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, 30 Sep 2019 14:51:03 +0200 Gaetan Rivet wrote: > Add a new EAL option enabling manual probing in the EAL. > This command line option will configure the EAL so that buses > will not trigger their probe step on their own. > > Applications are then expected to hotplug devices as they see fit. > > Devices declared on the command line by the user (using -w and --vdev), > will be probed using the hotplug API, in the order they are declared. > > This has the effect of offering a way for users to control probe order > of their devices, for drivers requiring it. > > Signed-off-by: Gaetan Rivet I have no problems with the patch, but it would help if there was better way to handle device naming policy in DPDK. Applications that depend on particular port number are prone to get broken by changes in surrounding OS or hardware environment. Just like Linux applications that are built to depend on "eth0"; which is unfortunately all too common.