From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 01A875A3E for ; Sun, 30 Apr 2017 14:22:29 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 8415B20A4C; Sun, 30 Apr 2017 08:22:29 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Sun, 30 Apr 2017 08:22:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=kcxzTnDJ9i58Uf2 jCtJSCw56E+zh8aPH7L+xFGP4yj8=; b=ZE2UQsxLWV5wuqhC/NuublgGtF/m0pl aw+/yXraSEilKrV3rQ1Db1qCoenV00UcPEjq/cLv447T7bTvmVTw9TTV1/BndhAq lIPqVySWGcBj3hBkfjrPrYzzDC+OH1Sepx7wnP7XUi5jaEuVQzrAMc1IOTf5ihjS 4CZdz64a9oLI= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=kcxzTnDJ9i58Uf2jCtJSCw56E+zh8aPH7L+xFGP4yj8=; b=aBW5NqM0 h173yp6/AdRnTQZNUl4r7FWMi4hAemmBDtkV9dlQemcdl2w+NgowDw9RP24z0qPv aPFsZ4KI0KLSKoI8+Z5hcwnOG1BK0GUls3FTVFgd3O+4l6tBexrE8qGFUpjcrv6F 4kbfvoc+zffguZK9xt/Do3OKHsaA7BW6n13biRULKfTaii5K0lyypgKdi6YvAGGj wLOawRLf0NMzdFvIq7yrJ5teTH6CEZBBWZfUxu75ttD2GuGG9PKO5mdgKQUjAVEA OVIQ3bF9ytXDdB8VbTm9kIP0u1rL9XlMltYCm4H4YS0AUcRnls1vt0NKLhBbR4H3 J5m9cBRO2I/3AA== X-ME-Sender: X-Sasl-enc: YfkTmpflnJ1aT9aW7JKzpKhE06Baxs+rQsVN4aj5VjQM 1493554949 Received: from xps.localnet (245.114.118.80.rev.sfr.net [80.118.114.245]) by mail.messagingengine.com (Postfix) with ESMTPA id 146F82473A; Sun, 30 Apr 2017 08:22:29 -0400 (EDT) From: Thomas Monjalon To: Guduri Prathyusha Cc: dev@dpdk.org, lijuanx.a.tu@intel.com Date: Sun, 30 Apr 2017 14:22:26 +0200 Message-ID: <2360815.kab1WunKFW@xps> In-Reply-To: <1493214739-9957-1-git-send-email-gprathyusha@caviumnetworks.com> References: <1493214739-9957-1-git-send-email-gprathyusha@caviumnetworks.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] usertools: fix device binding when using with kernel tools 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: , X-List-Received-Date: Sun, 30 Apr 2017 12:22:30 -0000 26/04/2017 15:52, Guduri Prathyusha: > The following sequence of operation gives error in binding devices > 1) Bind a device using dpdk-devbind.py > 2) Unbind the device using kernel tools(/sys/bus/pci/device/driver/unbind) > 3) Bind the device using kernel tools(/sys/bus/pci/driver/new_id and > /sys/bus/pci/driver/bind) > > The bind failure was due to cached driver name in 'driver_override'. > Fix it by writing 'null' to driver_override just after binding a > device so that any method of binding/unbinding can be used. > > Fixes: 2fc350293570 ("usertools: use optimized driver override scheme to bind") > > Reported-by: Tu LijuanX A > Signed-off-by: Guduri Prathyusha Applied, thanks