Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753341AbcLHGh4 (ORCPT ); Thu, 8 Dec 2016 01:37:56 -0500 Received: from p3plsmtps2ded01.prod.phx3.secureserver.net ([208.109.80.58]:50024 "EHLO p3plsmtps2ded01.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750827AbcLHGhy (ORCPT ); Thu, 8 Dec 2016 01:37:54 -0500 x-originating-ip: 72.167.245.219 From: kys@exchange.microsoft.com To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, devel@linuxdriverproject.org, olaf@aepfle.de, apw@canonical.com, vkuznets@redhat.com, jasowang@redhat.com, leann.ogasawara@canonical.com, bjorn.helgaas@gmail.com Cc: "K. Y. Srinivasan" Subject: [PATCH 0/3] Drivers: hv: Implement VF association based on serial number Date: Thu, 8 Dec 2016 00:33:08 -0800 Message-Id: <1481185988-30383-1-git-send-email-kys@exchange.microsoft.com> X-Mailer: git-send-email 1.7.4.1 Reply-To: kys@microsoft.com X-CMAE-Envelope: MS4wfKoexc1iEeVrrwRcPCVqIElHmz2hSGu6z26eWT2dtNYHtHzAAetfL/F92BH5nSvhJBG2FcI7yF2DXpxQixWwcpb/LBcPaQOpVG8AM9++DQ1hrUFel7pf +PFW5aKC+lRFJR+jkkg/iCdtXvXZiG/4XK8XR/uAVSFgpiMiwn+mmasaufc97mh5Tc/XNID1E3A3GRBRzLZ2F3rITQVeHXZJfaYEhnqC0ZC1Q2EwvUIebjBg KGaxJJaRk6nk2MzXNOw10BUPwFvaa4qsAWlTInUPVNp1445E6Fc30bQ0OykGVqs5Vk48W4i1PsDIJMSYyWJ0TwmTbdVFl20gAkWnPlkSH+CrMkxvaRvosjb9 uv3DBGxSWxtiQOM/JOuJ7pVMDqhRUQ1PcLDit4jrsePm89xk3W8zSYFZrH8KTUffGJcrZt/d2Fyf+bE4MD324Qhc5FtQP542aOcHjw3bn8lS8Y0kF2MC1RcA ixImoze/qpsfPZaQIVTE6CluPAuNIsMdc8bBCg== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 847 Lines: 23 From: K. Y. Srinivasan Implement VF association based on serial number published by the host. Greg, as promised here is the patchset that would use the API for detecting if the device is a vmbus device. If you can take the first two patches, we can submit the netvsc patch to the net-next tree. Haiyang Zhang (3): hyperv: Move hv_pci_dev and related structs to hyperv.h hyperv: Add a function to detect if the device is a vmbus dev hv_netvsc: Implement VF matching based on serial numbers drivers/hv/vmbus_drv.c | 6 ++ drivers/net/hyperv/netvsc_drv.c | 55 ++++++++++++++++++++-- drivers/pci/host/pci-hyperv.c | 91 ----------------------------------- include/linux/hyperv.h | 100 ++++++++++++++++++++++++++++++++++++++- 4 files changed, 156 insertions(+), 96 deletions(-) -- 1.7.4.1