Message ID | 20180911232906.18352-1-dg@adax.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 17251326D; Wed, 12 Sep 2018 01:29:23 +0200 (CEST) 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 <dev@dpdk.org>; Wed, 12 Sep 2018 01:29:21 +0200 (CEST) Received: by mail-qk1-f194.google.com with SMTP id 130-v6so16338qkd.10 for <dev@dpdk.org>; Tue, 11 Sep 2018 16:29:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/fNb9dhAhfNFzCazAruVsF6vyC/yo97C/AhD8h0+vgo=; b=h62eRFdJjy/eCc6e9MVdzbVGNO1CnQb0gzodpdmgJ8wN1qC3ElXCzaPZUDueyYbeKY Xz/2bQK+2lP3BZ7y53sSCoWXSczt+bYpxCZIIk4fH9e3FpDsaI9LtgEqCZY3j9vVRfkJ k6HccKk2zg9o+wHW/2JKnK+gYF8i4ALWnzJmVwtHl6KYl6Jax4/FaSLZPf+dqpAE9Ex3 4wd0YqabTYnIw9zHgcombWSz/oxjxOlM4YfG9YZVJIl9q7tJbtdB17HhfBt7oI0hMKeP i6eIM5UaenzF6k147luYd6Jem1xN1FdefwoXkrKSmHlgsF6oKwuD6sLfiMDo+rtUYRo0 Uxqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=/fNb9dhAhfNFzCazAruVsF6vyC/yo97C/AhD8h0+vgo=; b=nIAmoEC7UgUeXSzmKC59v/2wzedHlTR5683I/cST13NSX/w+O/NAXHgL4LB03MTEtu HWHU0xTg/fr5yzJW3v+XpuCQUdrpEgNQ0u7FuKZjDUn6zcTa6crwSsn8H8eWO2G1UQdm ZBADU4Zbi9eO/fWJxUFE4bPT9aQNmK1G4nvr09JHFdVZzDs0iXwFIrLvKTfPFrqS7F14 rJUK8ic36ve/sM/FzLT4g6UhIiTIkgm0V+t1BJYYZ7sWseWWMoEtgwneMjKvmbEBEvQJ 8jJn+cRQUiSpoxlXKZDdMwVcbGCY1blfoI4afVcFmTWLKMxwbuvt8TeSPR97cr5hobjt eTSA== X-Gm-Message-State: APzg51A0aWNIZ1FgZsWviz5oH3XTHmsft3pprWRPPBAOF16MNnLroUeZ gvI7jb3VjBO/gtQCq1yibBq29olz X-Google-Smtp-Source: ANB0VdYKXstuhUoD7NwN/h4KAY/w5QL2Aw+8C+vqj2MRLhR9SLgodrh4hx6M7/TQFqAY3B5CBfzQJg== X-Received: by 2002:a37:787:: with SMTP id 129-v6mr20657968qkh.300.1536708560689; Tue, 11 Sep 2018 16:29:20 -0700 (PDT) Received: from snappy.local.lan (189-46-164-241.dsl.telesp.net.br. [189.46.164.241]) by smtp.gmail.com with ESMTPSA id p30-v6sm12767814qta.4.2018.09.11.16.29.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 11 Sep 2018 16:29:19 -0700 (PDT) From: Dan Gora <dg@adax.com> To: dev@dpdk.org Cc: Igor Ryzhov <iryzhov@nfware.com>, Stephen Hemminger <stephen@networkplumber.org>, Ferruh Yigit <ferruh.yigit@intel.com>, Dan Gora <dg@adax.com> Date: Tue, 11 Sep 2018 20:29:04 -0300 Message-Id: <20180911232906.18352-1-dg@adax.com> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 0/2] 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
kni: add API to set link status on kernel interface
|
|
Message
Dan Gora
Sept. 11, 2018, 11:29 p.m. UTC
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/<name>/carrier, where <name> 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(+)