From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH 1/2] kni: add API to set link status on kernel interface Date: Tue, 18 Sep 2018 17:54:09 +0100 Message-ID: <0e366549-2ae6-2e70-6e60-7e5970b1a98e@intel.com> References: <20180911232906.18352-1-dg@adax.com> <20180911232906.18352-2-dg@adax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Igor Ryzhov , Stephen Hemminger To: Dan Gora , dev@dpdk.org Return-path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 8BE4D532C for ; Tue, 18 Sep 2018 18:54:16 +0200 (CEST) In-Reply-To: <20180911232906.18352-2-dg@adax.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 9/12/2018 12:29 AM, Dan Gora wrote: > Add a new API function to KNI, rte_kni_update_link() to allow DPDK > applications to update the link status for KNI network interfaces in > the linux kernel. > > Signed-off-by: Dan Gora +1 to sysfs implementation. But right now this API is not used at all which makes it hard to test and catch when API broken. Can you please implement the API either on kni sample app or kni unit test? Also you need to add new API to .map file for shared library build. (you would catch this if API implemented somewhere...)