From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f180.google.com (mail-pf0-f180.google.com [209.85.192.180]) by dpdk.org (Postfix) with ESMTP id F2DB91B376 for ; Thu, 18 Jan 2018 19:26:55 +0100 (CET) Received: by mail-pf0-f180.google.com with SMTP id k19so15292392pfj.5 for ; Thu, 18 Jan 2018 10:26:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nBlMs5rKs6lWsjaiOWCIKiMWLdau8tqRW64rl/qk818=; b=QfN4R0DgtQgYd5Y6Uqg4jHNqCKNbwVnMk776WSlbkgGReLBKDqD3LbPu5/ZnUm+T4K Vm4qw57k27+Q1yqjPASy7KoKh+smFB/hhPwgrjl76hy5stlJCbpUffIfU+owHIxfprb6 Vf68nYNmqLrKmjpWtDRm3bFJnndi/dX+1LkJl/UF6dQUMWgq9Mqsc3lBiYBVEwKX4YXW jRlrvNMH0aWcvKqyvUZSpZmVQL2U5NhenffQ8u9XF91ukbpFnCKlTmjff64lkeUX0X4k G1IDsBgc5DF0TB5O403lPunDyWX/NeqjVRpzkkzzAAk2azM5gNByEBQg3kuz048OwAJG AgWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nBlMs5rKs6lWsjaiOWCIKiMWLdau8tqRW64rl/qk818=; b=CczAltYHVWto1K0HBhr1Z+wPaf22yqQtLYljpLCjsun9NGm15AIBGQi7rY7yKJvvhb 7aZ0eH4N375cAqYK4cmPjBOcwX7QQ5ILs2yYF+5LZb54JKEctH2P2Nt1olvvtR9OqKHW Dzoix+6C5ILAvQc306n3ZXlRG49ftlerBkJ0B8I3u0/v3ia2Gi4f2oEcjXmqIKxJvQdB uF6jPW2ztMFol0fZ/s8g4Z7hXbr5CHFA1p6dmViuBkP+vlridyl8X8Zz25/a7fYIh8v3 wUFPEedjdzPneSqBdQggjniul2wlepZ8AAn4yRxXbLBfp89CoBV36p0K3N14o1vpM5pi f2jA== X-Gm-Message-State: AKGB3mKH7rZxVEzPVxZNZRhkHT0ltuDzXzcRkNDJACc8yQocLFgfwYvX dYuOuM4BU/hfsOfpfR3ANaW0/A== X-Google-Smtp-Source: ACJfBotFlzsjB8fAAd3wAKfr0LDNL5w+Wxc/oJQT8WkZJE3YJKBx6oazt/qY7wD/GLFLOHEhgzR9LQ== X-Received: by 10.101.81.7 with SMTP id f7mr37793247pgq.449.1516300015151; Thu, 18 Jan 2018 10:26:55 -0800 (PST) Received: from xeon-e3 (204-195-18-133.wavecable.com. [204.195.18.133]) by smtp.gmail.com with ESMTPSA id x21sm14422616pfi.174.2018.01.18.10.26.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Jan 2018 10:26:55 -0800 (PST) Date: Thu, 18 Jan 2018 10:26:47 -0800 From: Stephen Hemminger To: Matan Azrad Cc: Ferruh Yigit , Thomas Monjalon , dev@dpdk.org, Raslan Darawsheh Message-ID: <20180118102647.374a2c24@xeon-e3> In-Reply-To: <1516265026-6469-7-git-send-email-matan@mellanox.com> References: <1515509253-17834-1-git-send-email-matan@mellanox.com> <1516265026-6469-1-git-send-email-matan@mellanox.com> <1516265026-6469-7-git-send-email-matan@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v4 6/8] net/vdev_netvsc: skip routed netvsc probing 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, 18 Jan 2018 18:26:56 -0000 On Thu, 18 Jan 2018 08:43:44 +0000 Matan Azrad wrote: > NetVSC netdevices which are already routed should not be probed because > they are used for management purposes by the HyperV. > > prevent routed netvsc devices probing. > > Signed-off-by: Raslan Darawsheh > Signed-off-by: Matan Azrad Just checking for interface IPv4 or IPv6 (non-link local) is enough. If device has a L3 address than skip it. No need to read route table which maybe huge in some environments.