From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Gora Subject: [PATCH 0/2] kni: add API to set link status on kernel interface Date: Tue, 11 Sep 2018 20:29:04 -0300 Message-ID: <20180911232906.18352-1-dg@adax.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Igor Ryzhov , Stephen Hemminger , Ferruh Yigit , Dan Gora To: dev@dpdk.org Return-path: Received: from mail-qk1-f194.google.com (mail-qk1-f194.google.com [209.85.222.194]) by dpdk.org (Postfix) with ESMTP id AB27F2BFA for ; Wed, 12 Sep 2018 01:29:21 +0200 (CEST) Received: by mail-qk1-f194.google.com with SMTP id 130-v6so16338qkd.10 for ; Tue, 11 Sep 2018 16:29:21 -0700 (PDT) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi All, The following patches are to add support for DPDK applications to be able to change the carrier state of Linux network interfaces in the KNI kernel module. The carrier state is changed by writing to the Linux /sys file: /sys/devices/virtual/net//carrier, where is the KNI interface name. These patches supercede: '[PATCH v2 10/10] kni: add API to set link status on kernel interface' https://mails.dpdk.org/archives/dev/2018-August/110383.html Dan Gora (2): kni: add API to set link status on kernel interface kni: set default carrier state to 'off' kernel/linux/kni/kni_misc.c | 2 ++ kernel/linux/kni/kni_net.c | 2 ++ lib/librte_kni/rte_kni.c | 57 +++++++++++++++++++++++++++++++++++++ lib/librte_kni/rte_kni.h | 18 ++++++++++++ 4 files changed, 79 insertions(+) -- 2.19.0