From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v2 10/10] kni: add API to set link status on kernel interface Date: Wed, 29 Aug 2018 08:54:10 -0700 Message-ID: <20180829085410.4411c07e@xeon-e3> 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=US-ASCII Content-Transfer-Encoding: 7bit Cc: ferruh.yigit@intel.com, dev@dpdk.org To: Dan Gora Return-path: Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by dpdk.org (Postfix) with ESMTP id 2EC025A for ; Wed, 29 Aug 2018 17:54:13 +0200 (CEST) Received: by mail-pf1-f195.google.com with SMTP id x17-v6so2469636pfh.5 for ; Wed, 29 Aug 2018 08:54:12 -0700 (PDT) In-Reply-To: <20180629015508.26599-11-dg@adax.com> 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 Thu, 28 Jun 2018 18:55:08 -0700 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. > > Signed-off-by: Dan Gora Do you really need a special ioctl for this? There is already ability to set link state via sysfs or netlink.