From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 74C7DF72 for ; Mon, 14 Nov 2016 10:08:07 +0100 (CET) Received: by mail-wm0-f43.google.com with SMTP id t79so85326899wmt.0 for ; Mon, 14 Nov 2016 01:08:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=uxh496g48g78wJa4lspuurc0mwcUdxYpdXW2+NXJSoE=; b=B27EfWYR2bMP1uOlprRXnmxBT4LgqfK/DJUyqwRlhFXiVjdrty1o9H2Gklu3QXWY/b E4GwHJTvzgRZrWYG8hP/vv2UV4jpXZuxLeWN/QAVDfjDRVguqyZYGQDINurWztiyIGpK UxfSiP+JvJlVBkf5aM+a3lNZuZ0gW5kLOe5dpQu/EfuNa0g6Mkz3A+LFO5CCAesK563e lPqwMIXuH8KQwUzyJJAd2kbEaERoNkFbQsZcl86jbnpiCvqAmvZD4+Xps2YDrgXNzoiH rtSsfLJ+TE4IXQt51ApmYUqDJX7ujQAOeIQROga9dl6jpFDzZAeAdahQ4IvnqnydjwQm XCvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=uxh496g48g78wJa4lspuurc0mwcUdxYpdXW2+NXJSoE=; b=XrzbLedwPdEGas8ek+7D81GM50+LTarImeClpKPfPs4VHTJibDfZ1ALeekVP5r83jR swhDCIeQps5/rK9Yoy0prJlE9HPrvnVqhgXwDjCSQEVLnyIh2PQ0tsl6Ak2D28nsED5z R7b6CQeVhjgRus85cC22jM6wBXJQzU+yyXKBf6WFEjjdV4OqxD8NiCRFjO0fvEy5j1OX hE4Pc+aMHO6uYQOwkQdZTueEe56pVEeNSCm1rhSOA+mL2NtzKTtEFVzRfFBX4K7aN8+Q KE2MwLJNJ940yDLnv+FLy80PVqsPT6EVjiyFZaUBDs6GOJpJ1NQk386h+RFatenefKmW D7tQ== X-Gm-Message-State: ABUngvfAgSVRwpk4+kIBzpwBUZPwcHwsZn6d3gR80kuN4jBbI5XM61EzuFwp+RD/AEkuadtbzVL32OwNDBBRdGb4 X-Received: by 10.28.146.201 with SMTP id u192mr10147052wmd.142.1479114487179; Mon, 14 Nov 2016 01:08:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.188.6 with HTTP; Mon, 14 Nov 2016 01:07:46 -0800 (PST) In-Reply-To: <1a19615c-1121-fed4-b34f-aa0f4b654085@intel.com> References: <86ece536-1574-6d84-661e-9b9e77180344@nxp.com> <1a19615c-1121-fed4-b34f-aa0f4b654085@intel.com> From: David Marchand Date: Mon, 14 Nov 2016 10:07:46 +0100 Message-ID: To: Ferruh Yigit Cc: Shreyansh Jain , "dev@dpdk.org" Content-Type: text/plain; charset=UTF-8 Subject: Re: [dpdk-dev] Clarification for eth_driver changes 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, 14 Nov 2016 09:08:07 -0000 On Fri, Nov 11, 2016 at 8:16 PM, Ferruh Yigit wrote: > On 11/10/2016 11:05 AM, Shreyansh Jain wrote: >> On Thursday 10 November 2016 01:46 PM, David Marchand wrote: >>> Do we really need to keep a eth_driver ? >> >> No. As you have rightly mentioned below (as well as in your Jan'16 >> post), it is a mere convenience. > > Isn't it good to separate the logic related which bus device connected > and what functionality it provides. Because these two can be flexible: > > device -> virtual_bus -> ethernet_functionality > device -> pci_bus -> crypto_functionality > device -> x_bus -> y_function "a device is linked to a bus" (fine) "a bus knows what a device does" (?!) Not sure I follow you. -- David Marchand