From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id 7B5315B2A for ; Fri, 31 Aug 2018 00:12:15 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id i134-v6so2860138wmf.0 for ; Thu, 30 Aug 2018 15:12:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=/kBmihfvg78qW+xxb3KGZiG1O0cVL66BEmsHd1dx3h8=; b=KeFV3wrmKtyl5UFHRBwhacKJtn7w/hqfF0sTgVPtT9nbUG++1F2p4o/SybDTU4qGqW /ppslhAjJrxOVRRpF7DP2VS68qUJd/uq1A1Oqx0tZZQoNJEN9z8Yx/X1Z/wgk5VbwUPz XlLQWzJ+NP3Y8hjm7t6y7Gi/rf/rsWw9iq8AYpH60gvirgnPzjRpdGnVQ2JYCNVvRlq1 Gr5bN0xYRaT4xGnGJbpsIVkwfgBK7dDGqK/SI5gyLIScLKlSVPWETIzBAi8Zdc0O78CJ bIikJ2g73opKkwjjZ6pvq5re94nKM8KxwPQZe9Z+MwHxLp5QPR+S3j1TsapOSPbGOVNH P8VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=/kBmihfvg78qW+xxb3KGZiG1O0cVL66BEmsHd1dx3h8=; b=cBcjuxDqL6LZXvOKyKj8taWy1h1eTNgMf8kuGJLMB2QJiY9TU06ZZndMDwmYkTXOQH TTFjTg32v9JsFgrDRnB5yAIy55iHz/ScNetXE3p7hYIwCzK6RG/ExixUGZ05EJUb8xPL FIT1VnNQ07x00IiEtXkOKycSBSfB37nzoMwio4gwRo/zEme7bcIleOqPi2ZRURAhhmo5 +WTzqVMIzaapeVHdUKdhQrbLLMTZYccS/gaVrB7WyK8DI8yPO5Iq1sS/wqE4DpP66p2M 4pQu9DUVFugwzEVMUnLFQ9vguQ4Jas295+VFBH5AcFvt1iyaQ0lw7jy5lufreLBipv9p C50w== X-Gm-Message-State: APzg51CU5WZj/9ImvjtwsMVjKd/ku538es/GCp+xoeQms0l8duvwkWdT Eb7ufB41w+O5Rm7OLLOe/dGxsuJf+zeKY91T/Ao= X-Google-Smtp-Source: ANB0VdZfQaKbG5fVNSehqyS2WVJVl+FQzrTpwueynMja/8N0xRRffGjVKBFImjQTZsVBLdm00Bwc6EGayjs2Of6mi84= X-Received: by 2002:a1c:f913:: with SMTP id x19-v6mr3023295wmh.63.1535667135017; Thu, 30 Aug 2018 15:12:15 -0700 (PDT) MIME-Version: 1.0 Sender: dan.gora@gmail.com Received: by 2002:adf:fbc1:0:0:0:0:0 with HTTP; Thu, 30 Aug 2018 15:11:34 -0700 (PDT) In-Reply-To: <20180830150911.6b0e7901@xeon-e3> References: <20180628224513.18391-1-dg@adax.com> <20180629015508.26599-1-dg@adax.com> <20180629015508.26599-11-dg@adax.com> <20180829085410.4411c07e@xeon-e3> <20180829150014.0ae59128@xeon-e3> <20180829161043.11bb2434@xeon-e3> <20180830150911.6b0e7901@xeon-e3> From: Dan Gora Date: Thu, 30 Aug 2018 19:11:34 -0300 X-Google-Sender-Auth: b8dRvxe7dVdvLXzV5bMKVXCUyGk Message-ID: To: Stephen Hemminger Cc: Igor Ryzhov , Ferruh Yigit , dev@dpdk.org Content-Type: text/plain; charset="UTF-8" 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: Thu, 30 Aug 2018 22:12:15 -0000 On Thu, Aug 30, 2018 at 7:09 PM, Stephen Hemminger wrote: > On Thu, 30 Aug 2018 18:41:14 -0300 > Dan Gora wrote: > >> On the other hand, the "write to /sys" method is a bit more simple and >> confines the changes to the user space library. If we're confident >> that the /sys ABI is stable and not going to be changed going forward >> it seems like a valid alternative. > > See Documentation/ABI/testing/sysfs-class-net yeah, but it's in the 'testing' directory :) >>From Documentation/ABI/README: testing/ This directory documents interfaces that are felt to be stable, as the main development of this interface has been completed. The interface can be changed to add new features, but the current interface will not break by doing this, unless grave errors or security problems are found in them. Userspace programs can start to rely on these interfaces, but they must be aware of changes that can occur before these interfaces move to be marked stable. Programs that use these interfaces are strongly encouraged to add their name to the description of these interfaces, so that the kernel developers can easily notify them if any changes occur (see the description of the layout of the files below for details on how to do this.) Like I said, I'm ok with using this if that's what everyone wants to do. d