Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/66550/?format=api
http://patches.dpdk.org/api/patches/66550/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/158396392362.5601.16302260004705199712.stgit@gimli.home/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<158396392362.5601.16302260004705199712.stgit@gimli.home>", "list_archive_url": "https://inbox.dpdk.org/dev/158396392362.5601.16302260004705199712.stgit@gimli.home", "date": "2020-03-11T21:58:43", "name": "[v3,2/7] vfio/pci: Implement match ops", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": true, "hash": "67ea694cccb13d8600e0bf312cf274945399cebe", "submitter": { "id": 391, "url": "http://patches.dpdk.org/api/people/391/?format=api", "name": "Alex Williamson", "email": "alex.williamson@redhat.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/158396392362.5601.16302260004705199712.stgit@gimli.home/mbox/", "series": [ { "id": 8887, "url": "http://patches.dpdk.org/api/series/8887/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8887", "date": "2020-03-11T21:58:25", "name": "vfio/pci: SR-IOV support", "version": 3, "mbox": "http://patches.dpdk.org/series/8887/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/66550/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/66550/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id D1532A056D;\n\tWed, 11 Mar 2020 22:59:00 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 6FEB71C00E;\n\tWed, 11 Mar 2020 22:58:54 +0100 (CET)", "from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com\n [205.139.110.120]) by dpdk.org (Postfix) with ESMTP id 9FAC82BE6\n for <dev@dpdk.org>; Wed, 11 Mar 2020 22:58:53 +0100 (CET)", "from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com\n [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id\n us-mta-32-YcxyrZaoO_SVGiiNVIWRkw-1; Wed, 11 Mar 2020 17:58:49 -0400", "from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com\n [10.5.11.11])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5DA8218A5508;\n Wed, 11 Mar 2020 21:58:47 +0000 (UTC)", "from gimli.home (ovpn-116-28.phx2.redhat.com [10.3.116.28])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 096598D553;\n Wed, 11 Mar 2020 21:58:43 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1583963933;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=JvxF3s2C8+BX1cZ8mMuQEhyQrnMXU9w82UDzhSCaiB8=;\n b=gnOm0my2Hu9H5GSrWzHN9yaUlGqFkH5nvba64qZenOd9AlS/14DHuik1WcNS9xQuD9Oqvs\n A5DIoyRwWEA3BLH5xsa8yobOUch2R9CKbx1FesSC8PxoqWUSC4QpgHFR9l44EiKTWwkZMN\n aML0eMatpuG3AXDceO1Nh6KT7+XnEP8=", "X-MC-Unique": "YcxyrZaoO_SVGiiNVIWRkw-1", "From": "Alex Williamson <alex.williamson@redhat.com>", "To": "kvm@vger.kernel.org", "Cc": "linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, dev@dpdk.org,\n mtosatti@redhat.com, thomas@monjalon.net, bluca@debian.org,\n jerinjacobk@gmail.com, bruce.richardson@intel.com, cohuck@redhat.com,\n kevin.tian@intel.com", "Date": "Wed, 11 Mar 2020 15:58:43 -0600", "Message-ID": "<158396392362.5601.16302260004705199712.stgit@gimli.home>", "In-Reply-To": "<158396044753.5601.14804870681174789709.stgit@gimli.home>", "References": "<158396044753.5601.14804870681174789709.stgit@gimli.home>", "User-Agent": "StGit/0.19-dirty", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.11", "Subject": "[dpdk-dev] [PATCH v3 2/7] vfio/pci: Implement match ops", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "This currently serves the same purpose as the default implementation\nbut will be expanded for additional functionality.\n\nReviewed-by: Cornelia Huck <cohuck@redhat.com>\nSigned-off-by: Alex Williamson <alex.williamson@redhat.com>\n---\n drivers/vfio/pci/vfio_pci.c | 8 ++++++++\n 1 file changed, 8 insertions(+)", "diff": "diff --git a/drivers/vfio/pci/vfio_pci.c b/drivers/vfio/pci/vfio_pci.c\nindex 379a02c36e37..2ec6c31d0ab0 100644\n--- a/drivers/vfio/pci/vfio_pci.c\n+++ b/drivers/vfio/pci/vfio_pci.c\n@@ -1278,6 +1278,13 @@ static void vfio_pci_request(void *device_data, unsigned int count)\n \tmutex_unlock(&vdev->igate);\n }\n \n+static int vfio_pci_match(void *device_data, char *buf)\n+{\n+\tstruct vfio_pci_device *vdev = device_data;\n+\n+\treturn !strcmp(pci_name(vdev->pdev), buf);\n+}\n+\n static const struct vfio_device_ops vfio_pci_ops = {\n \t.name\t\t= \"vfio-pci\",\n \t.open\t\t= vfio_pci_open,\n@@ -1287,6 +1294,7 @@ static const struct vfio_device_ops vfio_pci_ops = {\n \t.write\t\t= vfio_pci_write,\n \t.mmap\t\t= vfio_pci_mmap,\n \t.request\t= vfio_pci_request,\n+\t.match\t\t= vfio_pci_match,\n };\n \n static int vfio_pci_reflck_attach(struct vfio_pci_device *vdev);\n", "prefixes": [ "v3", "2/7" ] }{ "id": 66550, "url": "