From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by dpdk.org (Postfix) with ESMTP id 5E8D6475D for ; Thu, 15 Dec 2016 18:26:25 +0100 (CET) Received: by mail-pf0-f195.google.com with SMTP id i88so3150075pfk.2 for ; Thu, 15 Dec 2016 09:26:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=JbLewWTyQq3RM9vCg0WGRSh+IfChyJPNXrIaLXkWKTk=; b=Ki0UYd9OEvHlGheiEttufZYkRebR3K0w9CNS6ZY4XtghAkWFJ4xhnL/icCPKzh/ZLt h7zVtIF+4rM6Wgwk9AnJxSYXFJ5kbwrFvc/O1OB8IuiQwZrTPmdAFaDNFNNef73URVWh YsdonSKgXUfQG8GaxoIx5NE9sYqeFMq6YRGbiCSQnFd+EPGH+vjEOb2wxuj1KtJm5jwe tUaHDfGvoeY98pdJgiwFBe8RklMKZC2Wt+F3i4C2OLb+RSsQ37I/n3nWstcVBfY0Yk3g Bua4pNruIysZyMj+dHx7g0v98ob6qL5HP5Nkyo7X1i3DAVL7OFfVyzVdI7caf3E6CCQh Ivvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=JbLewWTyQq3RM9vCg0WGRSh+IfChyJPNXrIaLXkWKTk=; b=DiXaBpTUQcpvtRsVcjJZ4tz7JP9IcsEzBfnkSmH59ej5j0oMYb9970ZBfHccZn8O0Z kYqlomTDl3QyySBGQT+iI9rGwzvGSKzDTH3MRe43k0z6QR2S8vImsJZJ4LPTrnKrYCoQ +BVlHR65I+a8uCQVE6GM5ZXVMr4nYvUJJUz77xH6Vh3eKx4zv1g9VoH+mRv/tkwQnuIc okK5FcwuNV5/RE4LPaQNosglQo0jW6fELYAGwIvHScQ7I92fsgF29WXkfORU2D+7RXTN y+HBa2zkxy4xED6cO4jKgjO3CVYuSiVm/rdGsUA7vuuvVGUkeOJIYqTuFU0/NfvA2wt6 8Gvw== X-Gm-Message-State: AKaTC02JSfL+q5qO3gsMZ/+LHiqwPLxH6zkqvU4NH8agNoBr282HCbqoNqmryZBqmFiqZg== X-Received: by 10.84.217.143 with SMTP id p15mr4530533pli.77.1481822784699; Thu, 15 Dec 2016 09:26:24 -0800 (PST) Received: from [192.168.1.3] ([72.168.144.104]) by smtp.googlemail.com with ESMTPSA id 186sm5932141pfv.61.2016.12.15.09.26.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Dec 2016 09:26:24 -0800 (PST) To: Stephen Hemminger , Ferruh Yigit References: <20161214154049.698de2e8@xeon-e3> <53ad7e36-380c-e5b7-a002-1690d2e63603@intel.com> <20161215091608.25ab1b43@xeon-e3> Cc: dev@dpdk.org From: John Fastabend Message-ID: <5852D230.7000907@gmail.com> Date: Thu, 15 Dec 2016 09:26:08 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20161215091608.25ab1b43@xeon-e3> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] KNI Questions 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: Thu, 15 Dec 2016 17:26:25 -0000 On 16-12-15 09:16 AM, Stephen Hemminger wrote: > On Thu, 15 Dec 2016 11:53:59 +0000 > Ferruh Yigit wrote: > >> Hi Stephen, >> >> <...> >> >>> >>> Which raises a couple of questions: >>> 1. Why is DPDK still keeping KNI support for Intel specific ethtool functionality. >>> This always breaks, is code bloat, and means a 3rd copy of base code (Linux, DPDK PMD, + KNI) >> >> I agree on you comments related to the ethtool functionality, >> but right now that is a functionality that people may be using, I think >> we should not remove it without providing an alternative to it. >> >>> >>> 2. Why is KNI not upstream? >>> If not acceptable due to security or supportablity then why does it still exist? >> >> I believe you are one of the most knowledgeable person in the mail list >> on upstreaming, any support is welcome. > > It should be upstreamable but I doubt it would make it past the maintainer. > Mostly because it supports DPDK which he is not in favor of but also since > it is a specialized interface only usable by DPDK, ie. not a general infrastructure. > I was looking to see if we could get more or less the same interface put in either af_packet or vhost directly. It would work nicely with the XDP patches where we want to forward a packet into userspace without having to build skb, etc. So it wouldn't be _just_ a DPDK interface at that point. I was hoping to look into it in Jan/Feb I need to wrap a few other things up first. .John