From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f52.google.com (mail-pb0-f52.google.com [209.85.160.52]) by dpdk.org (Postfix) with ESMTP id 027BDB0BB for ; Tue, 3 Jun 2014 02:30:51 +0200 (CEST) Received: by mail-pb0-f52.google.com with SMTP id rr13so4777707pbb.39 for ; Mon, 02 Jun 2014 17:31:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=wGeG53tYI3e97+O0Esr+Gc9vAC98LjEUmn/bsoWNTsw=; b=OePgUoPXsPaBm8ufoiJiLEGeJZoS72vm7QmfbE7YG44Rz2IiwceNkqjKOBmgzIp9HI eeIUPPhDKRamEJI3c1gelZ71bgUeB2SDL5/gwCNYW6BkPxiYfGfXpCIZNm2CbXnvOc6i 5oLA0cY0IgcjFPJmSsnLJFmPyW0Nuncu6MUyQUw1cpw2WL+dz8NhkJ8e7vpVHMAF8uN6 csGiIwIOGFuZ6Y1LhJPu7ld2c+RKnhFYvITqN/rgySpk8J+JsGn4I0WvX/4goyOKEB5y BB3tEDdGTgnXMyJNGIbEMRzvT3M9TdrDsmVMZ8dnqRssFFLjbSo+oM6PQJtksT4sfY+u fGSQ== X-Gm-Message-State: ALoCoQmAyL0lY8fYpWAzaa7Nn119Bhhoh/FsNXr9kt5pN6z8DAeNpn+B2XBwato9UdtcoyP3WYV8 X-Received: by 10.66.254.198 with SMTP id ak6mr8972541pad.156.1401755464136; Mon, 02 Jun 2014 17:31:04 -0700 (PDT) Received: from nehalam.linuxnetplumber.net (static-50-53-83-51.bvtn.or.frontiernet.net. [50.53.83.51]) by mx.google.com with ESMTPSA id ei4sm22463980pbb.42.2014.06.02.17.31.03 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 02 Jun 2014 17:31:03 -0700 (PDT) Date: Mon, 2 Jun 2014 17:31:00 -0700 From: Stephen Hemminger To: Vincent JARDIN Message-ID: <20140602173100.4168307c@nehalam.linuxnetplumber.net> In-Reply-To: <538CEE10.4000900@6wind.com> References: <5D695A7F6F10504DBD9B9187395A21797D0CF42B@ORSMSX112.amr.corp.intel.com> <20140602203735.GL8384@x220.localdomain> <538CEE10.4000900@6wind.com> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, hyunseok@ieee.org Subject: Re: [dpdk-dev] Ethtool support in DPDK pmd 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, 03 Jun 2014 00:30:52 -0000 On Mon, 02 Jun 2014 23:35:12 +0200 Vincent JARDIN wrote: > On 02/06/2014 22:37, Chris Wright wrote: > > If drivers stayed in kernel and kernel drivers exposed a mechansim for > > registering application dma buffers for dpdk apps, then ethtool would > > simply work as-is. > > Yes, that's the right way to go. Currently, the kernel does not provide > a generic framework for that and I am not aware of any projects in order > to define it. Could it be something to discuss on netdev@? > > So, as a workaround, some proprietary solutions get implemented in order > to get ethtool running with any DPDK PMD. > > Best regards, > Vincent Ethtool has a number of problems. You can implement for KNI or TUN type devices, but it really doesn't make sense for a generic type driver. Also, it tends to get used for device specific things.