Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1525714/?format=api
http://patchwork.ozlabs.org/api/patches/1525714/?format=api", "web_url": "http://patchwork.ozlabs.org/project/openvswitch/patch/92371a3d37f517049feb517d7bf1b3df625a4524.1631094144.git.grive@u256.net/", "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": "<92371a3d37f517049feb517d7bf1b3df625a4524.1631094144.git.grive@u256.net>", "list_archive_url": null, "date": "2021-09-08T09:47:28", "name": "[ovs-dev,v5,04/27] netdev: Add flow API uninit function", "commit_ref": "1088f4e7fb95843210895f49377ab9e81a93d7cd", "pull_url": null, "state": "accepted", "archived": false, "hash": "48b7d4c69b00f900d53309c55428e3fad9136b26", "submitter": { "id": 78795, "url": "http://patchwork.ozlabs.org/api/people/78795/?format=api", "name": "Gaetan Rivet", "email": "grive@u256.net" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/openvswitch/patch/92371a3d37f517049feb517d7bf1b3df625a4524.1631094144.git.grive@u256.net/mbox/", "series": [ { "id": 261424, "url": "http://patchwork.ozlabs.org/api/series/261424/?format=api", "web_url": "http://patchwork.ozlabs.org/project/openvswitch/list/?series=261424", "date": "2021-09-08T09:47:24", "name": "dpif-netdev: Parallel offload processing", "version": 5, "mbox": "http://patchwork.ozlabs.org/series/261424/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1525714/comments/", "check": "success", "checks": "http://patchwork.ozlabs.org/api/patches/1525714/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<ovs-dev-bounces@openvswitch.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "ovs-dev@openvswitch.org" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "ovs-dev@lists.linuxfoundation.org" ], "Authentication-Results": [ "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=u256.net header.i=@u256.net header.a=rsa-sha256\n header.s=fm2 header.b=cuxifO/y;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=messagingengine.com header.i=@messagingengine.com\n header.a=rsa-sha256 header.s=fm3 header.b=qRruzrDj;\n\tdkim-atps=neutral", "ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=140.211.166.137; helo=smtp4.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN>)", "smtp3.osuosl.org (amavisd-new);\n dkim=pass (2048-bit key) header.d=u256.net header.b=\"cuxifO/y\";\n dkim=pass (2048-bit key) header.d=messagingengine.com\n header.b=\"qRruzrDj\"" ], "Received": [ "from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])\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 4H4HPx3dknz9sW8\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 8 Sep 2021 19:48:21 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 70E4F406FF;\n\tWed, 8 Sep 2021 09:48:13 +0000 (UTC)", "from smtp4.osuosl.org ([127.0.0.1])\n\tby localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id RZOMQAj1zoqE; Wed, 8 Sep 2021 09:48:12 +0000 (UTC)", "from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56])\n\tby smtp4.osuosl.org (Postfix) with ESMTPS id 84E83406BD;\n\tWed, 8 Sep 2021 09:48:11 +0000 (UTC)", "from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id 8072BC002B;\n\tWed, 8 Sep 2021 09:48:10 +0000 (UTC)", "from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n by lists.linuxfoundation.org (Postfix) with ESMTP id 38FBFC000D\n for <ovs-dev@openvswitch.org>; Wed, 8 Sep 2021 09:48:09 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp3.osuosl.org (Postfix) with ESMTP id E84886073B\n for <ovs-dev@openvswitch.org>; Wed, 8 Sep 2021 09:48:08 +0000 (UTC)", "from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id 9sY3drFJOwrY for <ovs-dev@openvswitch.org>;\n Wed, 8 Sep 2021 09:48:08 +0000 (UTC)", "from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com\n [64.147.123.19])\n by smtp3.osuosl.org (Postfix) with ESMTPS id 40485607FC\n for <ovs-dev@openvswitch.org>; Wed, 8 Sep 2021 09:48:08 +0000 (UTC)", "from compute4.internal (compute4.nyi.internal [10.202.2.44])\n by mailout.west.internal (Postfix) with ESMTP id AACF4320084E;\n Wed, 8 Sep 2021 05:48:07 -0400 (EDT)", "from mailfrontend2 ([10.202.2.163])\n by compute4.internal (MEProxy); Wed, 08 Sep 2021 05:48:07 -0400", "by mail.messagingengine.com (Postfix) with ESMTPA; Wed,\n 8 Sep 2021 05:48:06 -0400 (EDT)" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "from auto-whitelisted by SQLgrey-1.8.0", "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=u256.net; h=from\n :to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding; s=fm2; bh=xjPrh+duQbSRz\n 8PkgcBnnxjYfRFxp9f26yBlYpJk8kc=; b=cuxifO/yfTuQ/XsReyNX1/dpWyuaE\n aE/MiQ08IFQeoD7QNjWJnKDGvbvYvCi9gxa1n61tnwGTYBdjSxwdH6t5EdzikfwC\n Gtp9RaKQ8orrq4iEUKZHdVPNQa6sLk9gq/FSBeOyY8/q/MgQ41wdIvGGC3i+DpnY\n Dq8McEyIoCQlrjLPsUBa5f95sYhRXmT7k791+l3PBigSfu6YQc/9MBZGupi+tOz4\n h3Kw7NkshjLzOQLsmb9y7HwTrG8hSx0MGj+X10aOX8ePXQifR3ThCidcqR6YbtcL\n jiZ46s5z0s5FtB2qnDp+nrYe/EM0xYg7EenujZcGZ1epTiHzb4TgcCKYQ==", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n messagingengine.com; h=cc:content-transfer-encoding:date:from\n :in-reply-to:message-id:mime-version:references:subject:to\n :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=\n fm3; bh=xjPrh+duQbSRz8PkgcBnnxjYfRFxp9f26yBlYpJk8kc=; b=qRruzrDj\n HRkaFQBGrTmRxYPQ4Lc0+M1QNN0AyeZyzn5k7MqbolV1fx5wzW96z6L2a7c1PvBK\n cdcQqBgTtEMUyVHAx0BlkM7Usj8hIhkib4fFHw7Vky0nF1o4BQ8wEYswBMdQnbrZ\n wkBsaobt+Ds+srar87lnTYzMrfQfIYPAsvuXMU97m0PNlwrintxH+50+aHb3EDgi\n g+he+paPsQXjWCbquzYmK72iXIkBsAtwvZcKpm6JN2AsvAD/2NiH9LBIJ6Digieo\n pZt+D67egkqYDdE5SVZEZQQgasgxpUVp4b6IwmkddlGvLPz6oii7k8AYtiaXGhJT\n gfFc7U6o6u6c9w==" ], "X-ME-Sender": "<xms:1oY4YdbSd76j_8yPPtSBmqOyQv5TSNJLh_IGnTepg6rE1VH1zIwhNg>\n <xme:1oY4YUYlr_mNXx9emz4k-C_R6K62tKqVb-iM7_BlnFEJWIia26GP3qk9Ht1FgGDAp\n --JD_ww8Uf5K6OuFxk>", "X-ME-Received": "\n <xmr:1oY4Yf8a-LLn1fK8Bg9VAiGqjSyPPxkA0M1lhKayI2bMYyMjsUaUYAiXO_xZZAJ5iOuaf-7qb069DCUp3zuMZ4r-6g>", "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgedvtddrudefjedgudekucetufdoteggodetrfdotf\n fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen\n uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne\n cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefirggvthgr\n nhcutfhivhgvthcuoehgrhhivhgvsehuvdehiedrnhgvtheqnecuggftrfgrthhtvghrnh\n ephefgveffkeetheetfeeifedvheelfeejfeehveduteejhfekuedtkeeiuedvteehnecu\n vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhrihhvvg\n esuhdvheeirdhnvght", "X-ME-Proxy": "<xmx:14Y4YboE3GUlXk3WvG5Ovs39yczHe-zn_9aA7U39ZXULUWhJXj-eJA>\n <xmx:14Y4YYrjqO4NXgo143Bu3OAA3YvCDQSNz0htx9EoHPGWhnXwHkXEQQ>\n <xmx:14Y4YRR6dUqIAQG4gKJpk36JVX6-MQwM4ZJUQzsofEXrplWD6bGK3A>\n <xmx:14Y4YVAthRgjL5ztUeWCBjsDCxCSLLTNP5uRmoBrzP7Ut9fBy7ni2A>", "From": "Gaetan Rivet <grive@u256.net>", "To": "ovs-dev@openvswitch.org", "Date": "Wed, 8 Sep 2021 11:47:28 +0200", "Message-Id": "\n <92371a3d37f517049feb517d7bf1b3df625a4524.1631094144.git.grive@u256.net>", "X-Mailer": "git-send-email 2.31.1", "In-Reply-To": "<cover.1631094144.git.grive@u256.net>", "References": "<cover.1631094144.git.grive@u256.net>", "MIME-Version": "1.0", "Cc": "Eli Britstein <elibr@nvidia.com>,\n Maxime Coquelin <maxime.coquelin@redhat.com>", "Subject": "[ovs-dev] [PATCH v5 04/27] netdev: Add flow API uninit function", "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>", "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 a new operation for flow API providers to\nuninitialize when the API is disassociated from a netdev.\n\nSigned-off-by: Gaetan Rivet <grive@u256.net>\nReviewed-by: Eli Britstein <elibr@nvidia.com>\nReviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>\n---\n lib/netdev-offload-provider.h | 3 +++\n lib/netdev-offload.c | 4 ++++\n 2 files changed, 7 insertions(+)", "diff": "diff --git a/lib/netdev-offload-provider.h b/lib/netdev-offload-provider.h\nindex 348ca7081..bc52a3f61 100644\n--- a/lib/netdev-offload-provider.h\n+++ b/lib/netdev-offload-provider.h\n@@ -96,6 +96,9 @@ struct netdev_flow_api {\n /* Initializies the netdev flow api.\n * Return 0 if successful, otherwise returns a positive errno value. */\n int (*init_flow_api)(struct netdev *);\n+\n+ /* Uninitializes the netdev flow api. */\n+ void (*uninit_flow_api)(struct netdev *);\n };\n \n int netdev_register_flow_api_provider(const struct netdev_flow_api *);\ndiff --git a/lib/netdev-offload.c b/lib/netdev-offload.c\nindex 8075cfbd8..5ddd4d01d 100644\n--- a/lib/netdev-offload.c\n+++ b/lib/netdev-offload.c\n@@ -332,6 +332,10 @@ netdev_uninit_flow_api(struct netdev *netdev)\n return;\n }\n \n+ if (flow_api->uninit_flow_api) {\n+ flow_api->uninit_flow_api(netdev);\n+ }\n+\n ovsrcu_set(&netdev->flow_api, NULL);\n rfa = netdev_lookup_flow_api(flow_api->type);\n ovs_refcount_unref(&rfa->refcnt);\n", "prefixes": [ "ovs-dev", "v5", "04/27" ] }{ "id": 1525714, "url": "