From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7FBCC5B54D for ; Thu, 27 Jun 2019 21:14:03 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 5BD26208CB for ; Thu, 27 Jun 2019 21:14:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=monjalon.net header.i=@monjalon.net header.b="o6be8//Z"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="YYpydzDH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5BD26208CB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=monjalon.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DA78E2B82; Thu, 27 Jun 2019 23:14:00 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 6AFB225D9; Thu, 27 Jun 2019 23:13:59 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 9135F20A14; Thu, 27 Jun 2019 17:13:58 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 27 Jun 2019 17:13:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=dMM0+Zx/298GNy9AA3PFqnmuM/VEkCX7J2cocaBI9JY=; b=o6be8//ZMwH7 vefcQGgWK1BR9Mua/KRdaeUrp+ZSJNlD0pBfV0xPrOVAht5gaCOrzmmJQRoD6th7 Geo+0FW0LHmgHmBWl2j3KN89iHPy0eKnXxNpRsgX/Iaczjg/SSN0FH/b0bR4viEh NisFEYVdwJVAlVLatBhDNDnZHYoh+Is= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=dMM0+Zx/298GNy9AA3PFqnmuM/VEkCX7J2cocaBI9 JY=; b=YYpydzDHY+QyAgAzKsFGovOsO4VDAsVXC+fodoNpdT2ZrQilXi0N5ZvX+ B/j1dsJtbtDD2DUzGyEeT3u9BKE9cih6hs5cxPHuNo/FvVwWBeoCLGuMSMhBXTYr rxwWIxY3FRuANdlZCLtdSyexpDDg2uXd8+b4Ar5fL+E8Z/o5WU203IiSCpMmrwP4 wfEyD6ZNSYY/Ma4LvmreUy5Q3iqmrMD5IPXSZ/gWhtOAWiDHXTlYr1dvMNavYZDb aITgUfAza/75FB/uAUXVdJFJqcbzSnQ/8GKtEuoZW801dEFPYwzcDxC+uvO4EefA wLWX2QuYoCcHNKDTS0x2cvA7W3G6A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudekgdduiedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 7424838008A; Thu, 27 Jun 2019 17:13:57 -0400 (EDT) From: Thomas Monjalon To: Stephen Hemminger Cc: dev@dpdk.org, Stephen Hemminger , stable@dpdk.org Date: Thu, 27 Jun 2019 23:13:55 +0200 Message-ID: <3093889.Bm4lRbBU9i@xps> In-Reply-To: <20190606003746.29399-1-stephen@networkplumber.org> References: <20190606003746.29399-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] bus/vmbus: skip non-network devices 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 06/06/2019 02:37, Stephen Hemminger: > From: Stephen Hemminger > > The vmbus scan code can just skip non-network devices. > More importantly, this fixes the bug where some vmbus devices > don't have all the attributes (like monitor_id) and a single > failure would cause the scan to break the loop. > > Fixes: 831dba47bd36 ("bus/vmbus: add Hyper-V virtual bus support") Cc: stable@dpdk.org > Signed-off-by: Stephen Hemminger Applied, thanks