From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v2 10/10] kni: add API to set link status on kernel interface Date: Wed, 29 Aug 2018 12:48:24 +0100 Message-ID: <06764741-fa78-3bef-f790-a4e8d20a4209@intel.com> References: <20180628224513.18391-1-dg@adax.com> <20180629015508.26599-1-dg@adax.com> <20180629015508.26599-11-dg@adax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Dan Gora Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 1521E5A for ; Wed, 29 Aug 2018 13:48:26 +0200 (CEST) In-Reply-To: <20180629015508.26599-11-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 6/29/2018 2:55 AM, Dan Gora wrote: > Add a new API function to KNI, rte_kni_update_link() to allow DPDK > applications to update the link state for the KNI network interfaces > in the linux kernel. > > Note that the default carrier state is set to off when the interface > is opened. Why set carrier off when interface opened? Although I don't see any difference in interface state with or without this call. > > Signed-off-by: Dan Gora Overall looks good to me.