From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Gora Subject: Re: [PATCH 2/2] kni: set default carrier state to 'off' Date: Tue, 18 Sep 2018 15:34:42 -0300 Message-ID: References: <20180911232906.18352-1-dg@adax.com> <20180911232906.18352-3-dg@adax.com> <30ebb4b6-cf0e-37d8-00d4-167b46667378@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: dev@dpdk.org, Igor Ryzhov , Stephen Hemminger To: Ferruh Yigit Return-path: Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by dpdk.org (Postfix) with ESMTP id BE5E54C90 for ; Tue, 18 Sep 2018 20:35:23 +0200 (CEST) Received: by mail-wm1-f65.google.com with SMTP id f21-v6so3573174wmc.5 for ; Tue, 18 Sep 2018 11:35:23 -0700 (PDT) In-Reply-To: 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 Tue, Sep 18, 2018 at 1:48 PM, Ferruh Yigit wrote: > I just read the other thread, including Igor's and your comment about starting > the interface down, overall I got your point but my concerns is if someone has a > solution based on assumption that interface will be up when created will be > affected. > The carrier state of the interface does not come up in the "up" state currently. It comes up either in the "down" state or in the "unknown" state, which is really the worst of all worlds.. RHEL/Centos 7.5 running 'test->kni_autotest' 6: test_kni_port: mtu 1450 qdisc pfifo_fast state UNKNOWN group default qlen 1000 link/ether ca:40:e8:72:68:29 brd ff:ff:ff:ff:ff:ff inet6 fe80::691c:755e:5257:83af/64 scope link noprefixroute valid_lft forever preferred_lft forever -dan