From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 5BF1E4C79; Thu, 8 Mar 2018 12:55:28 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Mar 2018 03:55:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,440,1515484800"; d="scan'208";a="180971814" Received: from fyigit-mobl.ger.corp.intel.com (HELO [10.237.221.62]) ([10.237.221.62]) by orsmga004.jf.intel.com with ESMTP; 08 Mar 2018 03:55:23 -0800 To: Matan Azrad , dev@dpdk.org Cc: stable@dpdk.org, stephen@networkplumber.org References: <1519741323-9881-1-git-send-email-matan@mellanox.com> From: Ferruh Yigit Message-ID: <0edb084d-76cd-fd18-c8af-08eb7ec066bd@intel.com> Date: Thu, 8 Mar 2018 11:55:23 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1519741323-9881-1-git-send-email-matan@mellanox.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH] net/vdev_netvsc: fix routed devices probing X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2018 11:55:29 -0000 On 2/27/2018 2:22 PM, Matan Azrad wrote: > NetVSC netdevices which are already routed should not be probed because > they are used for management purposes by the HyperV. > > The corrupted code got the routed devices from the system file > /proc/net/route and wrongly parsed only the odd lines, so devices which > their routes were in even lines, were considered as unrouted devices > and were probed. > > Use linux netlink lib to detect the routed NetVSC devices instead of > file parsing. > > Fixes: 31182fadfb21 ("net/vdev_netvsc: skip routed netvsc probing") > Cc: stable@dpdk.org > Cc: stephen@networkplumber.org > > Suggested-by: Stephen Hemminger > Signed-off-by: Matan Azrad Applied to dpdk-next-net/master, thanks.