Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4331882imm; Mon, 15 Oct 2018 12:58:01 -0700 (PDT) X-Google-Smtp-Source: ACcGV60qMe+SUaBeI0O89jXt2YFsvhh3tZaYpNrLk40aemAbxlfWRoECK37wZ6C3gV1HopMi9baV X-Received: by 2002:a17:902:654e:: with SMTP id d14-v6mr18350992pln.292.1539633481278; Mon, 15 Oct 2018 12:58:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539633481; cv=none; d=google.com; s=arc-20160816; b=FGzcwYzi50NKsIw2qxVmIOl/fDd7Wq3jOey4iD86PPl9VmK0c/0BqgI3Q0+7bss3VA iDokFmHTz/vWZQUBFfn/2LMgxJnF/7PIUMeRM4IGgba7me3YbfQ7uRr5FQ9eo7sfKDUS utGfXp8UG19Fuw52bFD2jB++tUMA62Bh9whrKgLiDQqMqPZso6PBUjDecH9TE9zfaKmR brIWgkWJ6XhL2z7HhBooC3JUKy7ZegTTQoAdChDCojgwnvxRNOUfTKNXN6PLPrgtYO+8 xlRnjyhWk71EMIQL0M79gJiotj7LTZslUCHAcflaN3BH0VWYuleovgpBNb//gVyfbI9R 4+aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=1zTGhJWUuog5rNyx6JT5xM8E6VgDkHdp2o3ZQAjpKr4=; b=HAk9kwR42M4W90kdrcpWiiZ2fqThnYYHcKNhOhEXOZeEfdhtKYWuKAYnzdwSHFiDxZ GxUX+/BhhtKYn9g6aHllqzJihdNqcw5nwwmENJG2oyciKoovduMYZMTLO9fv3JyXirF+ 7kVoG27sQGOUF6hS7Cq0ViBITsd7GklfB3PyOKhiG1eL3MO3T9lWT/JWF6X0JvcdvMJb DP+UCEgK4zWX6ytkh5jcWesQnZoTpKFeHeIXCJmMkWikDXqXZA8LCBZ0p4ljqnxd8VzF 1oYF6wh8w0q/pQQvXbra9JyKUyBBYCpCV12UKvJLWfzO95amiUltxCs54TiuuJ5W4iTy o8Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@networkplumber-org.20150623.gappssmtp.com header.s=20150623 header.b=VkpOVspP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b28-v6si11781127pff.192.2018.10.15.12.57.45; Mon, 15 Oct 2018 12:58:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@networkplumber-org.20150623.gappssmtp.com header.s=20150623 header.b=VkpOVspP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727035AbeJPDnM (ORCPT + 99 others); Mon, 15 Oct 2018 23:43:12 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:38474 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726802AbeJPDnM (ORCPT ); Mon, 15 Oct 2018 23:43:12 -0400 Received: by mail-pf1-f194.google.com with SMTP id f29-v6so10221042pff.5 for ; Mon, 15 Oct 2018 12:56:29 -0700 (PDT) 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=1zTGhJWUuog5rNyx6JT5xM8E6VgDkHdp2o3ZQAjpKr4=; b=VkpOVspPiLHf5MZTVHpoSJoxMxpuw01E04jUUBSQefTHpeknWq0J+fpCq3GVLao+/Q Jz0jJP+RiAe8bqPdUEKq1o0yfGliQOON7hJ2i1kHOnQckPYaBhjfDZ26gECcx4SC6cZz XoEKamnupBt6eG7EcyAchfMuIocT1vwwFvKSRiJmbLOjfnK6YIGv1oMQmWi4BE716Pc5 y3PBsUjTw6YolFuJhUiUTt2uWbEl33ZYMsJsWlDSUyg3HtiHMU/qvOUR7l3/TbauqVFV HwboOvBl87bw09i2zgZRQ6C0YzHau0gzbGVZx2iW5USoHpqPq2UlW0J/lpm8FwGE9xlV UEJg== 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=1zTGhJWUuog5rNyx6JT5xM8E6VgDkHdp2o3ZQAjpKr4=; b=SME3iQnMv7CIP+dbeMDwznmYcefECZobKhjUfF0wlJsvTtnhJb0ex5JsJ0bZQefmpn BIVxG6QCl3juZ+RNXJhZOuAI0ap4PzbxORE/IAlWF3RZnL6wR5Q9tVvyOY48BLuHxd4M yYrAQc4NiF9nCsOa3ilpLgX0ZE/Ksvwb3RHp4rOoMJglLlpU9euKVfKr89fZm7YFkJCb eJaLxtmg7kCxcsWv7V5nQlUB5ngXFJRAHDzoSOwv7hqWWhgtH0jlD2JSYXPdJV9PCbRM VgMiki5A8xq/bkccNX5ZYahU0sfczW4gpNZ/0dBhE+/RCATaraKAj2JfvyD4kT1MY4D3 WEpg== X-Gm-Message-State: ABuFfojV0cANxvLzEbYRT+zYVOfuX0FIUfubIW1CA5oT54tcaTs9eYo0 uxYtcuauq1OAUq/1/RlEV8xQLBlUOqc= X-Received: by 2002:a63:64c2:: with SMTP id y185-v6mr17123777pgb.411.1539633389237; Mon, 15 Oct 2018 12:56:29 -0700 (PDT) Received: from xeon-e3 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id d186-v6sm17518692pfg.173.2018.10.15.12.56.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Oct 2018 12:56:29 -0700 (PDT) Date: Mon, 15 Oct 2018 12:56:27 -0700 From: Stephen Hemminger To: Haiyang Zhang Cc: haiyangz@microsoft.com, davem@davemloft.net, netdev@vger.kernel.org, olaf@aepfle.de, linux-kernel@vger.kernel.org, devel@linuxdriverproject.org, vkuznets@redhat.com Subject: Re: [PATCH net-next, v3] hv_netvsc: fix vf serial matching with pci slot info Message-ID: <20181015125627.0516de8e@xeon-e3> In-Reply-To: <20181015190615.30628-1-haiyangz@linuxonhyperv.com> References: <20181015190615.30628-1-haiyangz@linuxonhyperv.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 15 Oct 2018 19:06:15 +0000 Haiyang Zhang wrote: > From: Haiyang Zhang > > The VF device's serial number is saved as a string in PCI slot's > kobj name, not the slot->number. This patch corrects the netvsc > driver, so the VF device can be successfully paired with synthetic > NIC. > > Fixes: 00d7ddba1143 ("hv_netvsc: pair VF based on serial number") > Reported-by: Vitaly Kuznetsov > Signed-off-by: Haiyang Zhang Reviewed-by: Stephen Hemminger