From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7u88V7zXYWiBJLpAgW5QCC8Ozr25nPaN6qB2DJrHq3c=; b=G7Rw8MMpvAgM09JW5W2JTqZgcCc0fEYBNAzwtS++papzX6ki+IhJvxLWCM+EA4FZLM lls1xxU9ElnHmbWXvtlvRfF1RZK1zgEzG9aRq7vE7xeOzTcQc4LHIASlfKXniM9Fx9wK wemrNLKWNMlPvJo6E2WeznsVDDd0LHTNXcRSGuLEzHjjJR3lJ7m3wHyAI6y7fnMqZ0sw hJZU7dYWKql4ru5t52k4tJwL7Wnfe4I6UyPRKk6/2Bp8XNXmUpPTH4Nd7/Ys3j3UcA8i hEIxfbmVImO20YauVq11kDp4pYx2lebfA/4clMKpFHqt6BqgmA9rhOd9UzgK8lkKpTz+ QRJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7u88V7zXYWiBJLpAgW5QCC8Ozr25nPaN6qB2DJrHq3c=; b=R6PTa7xASsHng1s5SNtBfoayAyB2QuJ8Ij46bDtFDMN78eevCiXTg4Tzk2COBXQiiQ i70uKR85/Ty0RHQq7g164mqWwDqiM4w0RxFWn2xk53fDKfukffzGlDeh8LEYMum7cXl6 13vG9BS8rdoiazKtvIaoWq5uTWh4yhVpwvZ6h0aBnxQU//ksI8ZuDb/9TB19/3Qlq/oz HEwTUm7TcjX8XDnlI8Sk+N2u7reN0dZTBPiHSc+KHgCpUsQUBb43gyMiBH0zY+2qAajt NJD2rL3LMLKjp3nMYugg4Gq0608ocPXFS6zsYdBP/BH23idFvKR1T6XEulV66/u5ZnmY Hgag== X-Gm-Message-State: APzg51DA1MhHGSon8ZukqHMkOgnaynjn9j3sC2olL0KV5gB02WB1Y94I eXvoNcO9Y9mOtEhadhRFkZvfJA== X-Google-Smtp-Source: ANB0VdabfgBJnP2WM6wrGnpdh4mHMtdNwmm3NtLN/+p+d6m2cXmF0FNyENPjopoAsBGTqaYvycViiw== X-Received: by 2002:a62:1fdd:: with SMTP id l90-v6mr6456917pfj.121.1535558052171; Wed, 29 Aug 2018 08:54:12 -0700 (PDT) Received: from xeon-e3 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id d19-v6sm8128415pfe.42.2018.08.29.08.54.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Aug 2018 08:54:12 -0700 (PDT) Date: Wed, 29 Aug 2018 08:54:10 -0700 From: Stephen Hemminger To: Dan Gora Cc: ferruh.yigit@intel.com, dev@dpdk.org Message-ID: <20180829085410.4411c07e@xeon-e3> In-Reply-To: <20180629015508.26599-11-dg@adax.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=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 10/10] kni: add API to set link status on kernel interface 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: Wed, 29 Aug 2018 15:54:13 -0000 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.