From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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=5HYgvwbsjjbpMrbaPdbvtqHHbnlDlvqG9jJZhU+rp5w=; b=duCjGfRHq/tYvx0VMejj3yoNwYrPkppi6vjZDitvrDqBW/PoD6IOsjLDiVzKk1Pfas X5ZFo8IHTezdZy3p0zDkdD70ulZtMOUSkNkWDe9CY5/c1Fh7w1Egveyd4WW+QZPwfmxO c+hzPMwb6ux+Si7uGdkcNGvlCn/iVV54QuD00iGJJovtD3Twij5xcMRMUednrdHsPAp/ xfkVeAjLO6k2jVXVrnrONbtc/SmLnYZGcszKxws0a3cqH7StlYEAabzN0oHFNZ/jIAuE Gn1LKsyf7qsjm8xcFAyafwsOUdL/ZgoSMPUGPQeCkNnleFZzOh9xKjalsSMmxfO539OE SS6Q== 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=5HYgvwbsjjbpMrbaPdbvtqHHbnlDlvqG9jJZhU+rp5w=; b=P4sWVcJwZyhUWe85XzFjA5FfN/HMJAJPv6m9M4GlSxcrSFsRVFgccRIOZ77xJunwjp t2T/U7nll8O/UYGBqm900VVYqjhAK3X6I85G29Gh6RgbtbzwhC4MZdgXyICRYdG4NCmM UDCLbu1B8AYcq+ila3YRxarfuoLGEo3JyZxoS1LwIGPHkeeLGZ4NpFr/2a109Rxfujyf qX/bddCrCvw20S4I4twiT1udiMmtReKVxBiP+qwG/SdqyQGtPPckX/KgUhfSx86q5494 ++4ZxC7u4bbaPxUx4c7RP2xpvyCF8TctPfDAv9hW9GQRMMoWTmVHcY9rIgMFxnCZTNkr NGRA== X-Gm-Message-State: APzg51C0dwNt3c/U+g4OYPDj4E57LYQvWl2fBFMTRYoLXhLZtJaLr9aN xp3mVMFVCMnRal/WP7e44i8B0w44yrlCci+6qfo= X-Google-Smtp-Source: ANB0VdYSqiXylWqUXChNVR+y1fldkxnbvssX8F7aq/JR6hFj2QMRo2f/3Iuy+Vmm703zMUwOya3N/jSWqVdmZEhk2hM= X-Received: by 2002:a1c:dc41:: with SMTP id t62-v6mr16676102wmg.137.1537295723022; Tue, 18 Sep 2018 11:35:23 -0700 (PDT) MIME-Version: 1.0 Sender: dan.gora@gmail.com Received: by 2002:adf:fbc1:0:0:0:0:0 with HTTP; Tue, 18 Sep 2018 11:34:42 -0700 (PDT) In-Reply-To: References: <20180911232906.18352-1-dg@adax.com> <20180911232906.18352-3-dg@adax.com> <30ebb4b6-cf0e-37d8-00d4-167b46667378@intel.com> From: Dan Gora Date: Tue, 18 Sep 2018 15:34:42 -0300 X-Google-Sender-Auth: GinK3ShKQN44zygJFyBVkUhvOgM Message-ID: To: Ferruh Yigit Cc: dev@dpdk.org, Igor Ryzhov , Stephen Hemminger Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH 2/2] kni: set default carrier state to 'off' 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: Tue, 18 Sep 2018 18:35:23 -0000 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