From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by dpdk.org (Postfix) with ESMTP id E268A91C8 for ; Mon, 31 Aug 2015 16:12:17 +0200 (CEST) Received: by wiclp12 with SMTP id lp12so866896wic.1 for ; Mon, 31 Aug 2015 07:12:17 -0700 (PDT) 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=qrg5Tl7smk1xzrWkn/xMblbri6sWH3evQ6rHQin96x0=; b=Rlo+/WfKX8TwhzjvgT4dHq/ZsVvk81QlK4Yk7RkJJvU7FPjN/cTsf0FSvf5AuNy6OD izqjbAjbOr47Kb32Cnu2e/1YJiffj2Rhyx0SAgdZCYXbUgEqKFn2dwiEC7Uj7NFsWO1q Y8W4Q3SY5meT0AZiscsBjl8r8OPhnfelMHoUiz6n8TmD8jFkAlBrZJd7M96BVgSdTFzP FNXxc1Otv985mpyA9Tckw/iT1oQ2WSkXYCPO34vY0a3Odw3+LLJJ39cPWSNyFFSTH5Gy mSpGT199g+7qDJEPdXZKbX6sxhx5k/e43mqzxynSe56Njoxej/Ir0+z2kE4hZ8rb69Uz Fmfg== X-Gm-Message-State: ALoCoQmIP2VEkA46sbUFu1+F/GmEHGWiTaRXkvqZnJwh6QuoQIzdsJtExj77OiBYd6doybpXO4eR X-Received: by 10.194.117.70 with SMTP id kc6mr27360717wjb.13.1441030337767; Mon, 31 Aug 2015 07:12:17 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id c7sm22430026wjb.19.2015.08.31.07.12.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Aug 2015 07:12:17 -0700 (PDT) From: Thomas Monjalon To: Bernard Iremonger Date: Mon, 31 Aug 2015 16:11:07 +0200 Message-ID: <60043761.M5sdKGtq51@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1440690041-32391-4-git-send-email-bernard.iremonger@intel.com> References: <1440690041-32391-4-git-send-email-bernard.iremonger@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [RFC PATCH 3/6] null: remove pci device driver 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: Mon, 31 Aug 2015 14:12:18 -0000 2015-08-27 16:40, Bernard Iremonger: > remove rte_null_pmd and pci_dev. > > Signed-off-by: Bernard Iremonger [...] > - eth_dev->pci_dev = pci_dev; > - eth_dev->driver = &rte_null_pmd; > + eth_dev->pci_dev = NULL; Simple comment: Why a driver should reset a PCI field if it does not care about PCI?