From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v4 6/8] net/vdev_netvsc: skip routed netvsc probing Date: Thu, 18 Jan 2018 10:26:47 -0800 Message-ID: <20180118102647.374a2c24@xeon-e3> 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 Cc: Ferruh Yigit , Thomas Monjalon , dev@dpdk.org, Raslan Darawsheh To: Matan Azrad 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) In-Reply-To: <1516265026-6469-7-git-send-email-matan@mellanox.com> 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 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.