Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1527760/?format=api
{ "id": 1527760, "url": "http://patchwork.ozlabs.org/api/patches/1527760/?format=api", "web_url": "http://patchwork.ozlabs.org/project/openvswitch/patch/1631606713-20513-3-git-send-email-nanteby@nvidia.com/", "project": { "id": 47, "url": "http://patchwork.ozlabs.org/api/projects/47/?format=api", "name": "Open vSwitch", "link_name": "openvswitch", "list_id": "ovs-dev.openvswitch.org", "list_email": "ovs-dev@openvswitch.org", "web_url": "http://openvswitch.org/", "scm_url": "git@github.com:openvswitch/ovs.git", "webscm_url": "https://github.com/openvswitch/ovs", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1631606713-20513-3-git-send-email-nanteby@nvidia.com>", "list_archive_url": null, "date": "2021-09-14T08:05:11", "name": "[ovs-dev,2/4] netdev-dpdk: Add flow_api support for netdev gre vports", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "16c95150bacd1fdd5f84d54f03bda4efd95ad7e1", "submitter": { "id": 82517, "url": "http://patchwork.ozlabs.org/api/people/82517/?format=api", "name": "Nir Anteby", "email": "nanteby@nvidia.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/openvswitch/patch/1631606713-20513-3-git-send-email-nanteby@nvidia.com/mbox/", "series": [ { "id": 262205, "url": "http://patchwork.ozlabs.org/api/series/262205/?format=api", "web_url": "http://patchwork.ozlabs.org/project/openvswitch/list/?series=262205", "date": "2021-09-14T08:05:09", "name": "netdev datapath hardware offload support for GRE flows", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/262205/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1527760/comments/", "check": "success", "checks": "http://patchwork.ozlabs.org/api/patches/1527760/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<ovs-dev-bounces@openvswitch.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "dev@openvswitch.org" ], "Delivered-To": [ "patchwork-incoming@ozlabs.org", "ovs-dev@lists.linuxfoundation.org" ], "Authentication-Results": "ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=140.211.166.138; helo=smtp1.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN>)", "Received": [ "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 4H7wrZ2BL2z9sSn\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 14 Sep 2021 18:05:33 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 43EAB80E62;\n\tTue, 14 Sep 2021 08:05:32 +0000 (UTC)", "from smtp1.osuosl.org ([127.0.0.1])\n\tby localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id e3AyO2HOvD52; Tue, 14 Sep 2021 08:05:31 +0000 (UTC)", "from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56])\n\tby smtp1.osuosl.org (Postfix) with ESMTPS id 9BF2180CCA;\n\tTue, 14 Sep 2021 08:05:30 +0000 (UTC)", "from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id E26C0C0021;\n\tTue, 14 Sep 2021 08:05:28 +0000 (UTC)", "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n by lists.linuxfoundation.org (Postfix) with ESMTP id 47A2CC0011\n for <dev@openvswitch.org>; Tue, 14 Sep 2021 08:05:27 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id 2838880C9F\n for <dev@openvswitch.org>; Tue, 14 Sep 2021 08:05:27 +0000 (UTC)", "from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id SpE7Os3MM6xE for <dev@openvswitch.org>;\n Tue, 14 Sep 2021 08:05:25 +0000 (UTC)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by smtp1.osuosl.org (Postfix) with ESMTP id C29F680A5D\n for <dev@openvswitch.org>; Tue, 14 Sep 2021 08:05:24 +0000 (UTC)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n nanteby@nvidia.com) with SMTP; 14 Sep 2021 11:05:17 +0300", "from nvidia.com (pegasus27.mtr.labs.mlnx [10.213.1.140])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 18E85HxR005159;\n Tue, 14 Sep 2021 11:05:17 +0300" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.8.0", "To": "dev@openvswitch.org", "Date": "Tue, 14 Sep 2021 08:05:11 +0000", "Message-Id": "<1631606713-20513-3-git-send-email-nanteby@nvidia.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1631606713-20513-1-git-send-email-nanteby@nvidia.com>", "References": "<1631606713-20513-1-git-send-email-nanteby@nvidia.com>", "Cc": "elibr@nvidia.com, majd@nvidia.com", "Subject": "[ovs-dev] [PATCH 2/4] netdev-dpdk: Add flow_api support for netdev\n\tgre vports", "X-BeenThere": "ovs-dev@openvswitch.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "<ovs-dev.openvswitch.org>", "List-Unsubscribe": "<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>", "List-Archive": "<http://mail.openvswitch.org/pipermail/ovs-dev/>", "List-Post": "<mailto:ovs-dev@openvswitch.org>", "List-Help": "<mailto:ovs-dev-request@openvswitch.org?subject=help>", "List-Subscribe": "<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=subscribe>", "From": "Nir Anteby via dev <ovs-dev@openvswitch.org>", "Reply-To": "Nir Anteby <nanteby@nvidia.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "ovs-dev-bounces@openvswitch.org", "Sender": "\"dev\" <ovs-dev-bounces@openvswitch.org>" }, "content": "Add the acceptance of GRE devices to netdev_dpdk_flow_api_supported() API,\nto allow offloading of DPDK GRE devices.\n\nSigned-off-by: Nir Anteby <nanteby@nvidia.com>\n---\n lib/netdev-dpdk.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)", "diff": "diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c\nindex 45a96b9..80cba39 100644\n--- a/lib/netdev-dpdk.c\n+++ b/lib/netdev-dpdk.c\n@@ -5218,7 +5218,8 @@ netdev_dpdk_flow_api_supported(struct netdev *netdev)\n struct netdev_dpdk *dev;\n bool ret = false;\n \n- if (!strcmp(netdev_get_type(netdev), \"vxlan\") &&\n+ if ((!strcmp(netdev_get_type(netdev), \"vxlan\") ||\n+ !strcmp(netdev_get_type(netdev), \"gre\")) &&\n !strcmp(netdev_get_dpif_type(netdev), \"netdev\")) {\n ret = true;\n goto out;\n", "prefixes": [ "ovs-dev", "2/4" ] }