From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 95E319386 for ; Tue, 26 Jan 2016 21:15:39 +0100 (CET) Received: by mail-wm0-f44.google.com with SMTP id r129so119852426wmr.0 for ; Tue, 26 Jan 2016 12:15:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=0/0YGQTKvz1i/cJUVZNgc7KDxRsz9GK4RwpyUSS4Bts=; b=a2CJsjSh5//9orlQ9qemmxFuVuk9a5A5HPOadcVuL03YNDqsrsp5ug4kML1ZWEsJfX fxF3QuIV3KIwPXXzy6ByVMIlqtyCw3J7/CJNVTpFFetxplNR61cf8OlYKC7j+TFSu5hI KHbXx/pRdWfhBKoW0U+MgssfDj7EG4EjoFuHn93rSmdhs2A9tazZD5gfE9M+OClHwXXE j82PntS17VAmGRUPs3igzUL//kO+ywVgGTIS3Y6gKD6jZEJLftkdZvKFXqU6adgjUCAE +gnITu8xCU2LAjjGoid/jRFwv+Rvr4Ubuu5jYRfUgqOPzm1/Af7DiDXEkIXxsgbNAsm7 fMtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=0/0YGQTKvz1i/cJUVZNgc7KDxRsz9GK4RwpyUSS4Bts=; b=DIN53ne9tk5yx329/ahvVvEynyt+frh8pKBDktLW7SU38LetNbbNQVN87qpxu5hBrn 3zLoIyqWVzIJJV78MMB34QCWvlKe87Bn7cz0RLdTOmncs7cv+zpKDkrG4BKBcysrjzBq lvzEHT7M+mu+qmXVdmTzTJQHUyrHy64toGqywWaJPnJH0YblmeYgWuZ+B8vbPjnn95xc PUfQCDXCrtuaj3m7FVJlSn8wni/JVU6HHYGIQTWFvKf1yRDxfi3UU3Vnpi2C8YiGOSN3 bGhmdkGz1IcrhSq+oZFTOln48QmCE/iKHw0gC1FohQUMOEoqdfcwgoNoR5ma8xBJXqHd dbkw== X-Gm-Message-State: AG10YOT1XxCvvXvZk8SwChgzMMf2IIRD6Hp+fG11yxzbIE/h/nrFdssjqHlt641F7WqazpwT X-Received: by 10.194.52.8 with SMTP id p8mr3827768wjo.62.1453839339441; Tue, 26 Jan 2016 12:15:39 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id f205sm4391222wme.4.2016.01.26.12.15.38 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 26 Jan 2016 12:15:38 -0800 (PST) From: Thomas Monjalon To: Aaron Conole , david.marchand@6wind.com Date: Tue, 26 Jan 2016 21:14:31 +0100 Message-ID: <2190233.dCyjSQMtc6@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1449850823-29017-1-git-send-email-aconole@redhat.com> References: <1449850823-29017-1-git-send-email-aconole@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 2.3] tools/dpdk_nic_bind.py: Verbosely warn the user on bind X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2016 20:15:39 -0000 2015-12-11 11:20, Aaron Conole: > DPDK ports are only detected during the EAL initialization. After that, any > new DPDK ports which are bound will not be visible to the application. > > The dpdk_nic_bind.py can be a bit more helpful to let users know that DPDK > enabled applications will not find rebound ports until after they have been > restarted. I think it's better to improve hotplug and allow hot binding. A work is in progress towards this direction. David, can you confirm? Is this patch still valuable in the meantime? > --- a/tools/dpdk_nic_bind.py > +++ b/tools/dpdk_nic_bind.py > @@ -344,8 +344,10 @@ def bind_one(dev_id, driver, force): > dev["Driver_str"] = "" # clear driver string > > # if we are binding to one of DPDK drivers, add PCI id's to that driver > + bDpdkDriver = False Please do not use camel case.