Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/818124/?format=api
{ "id": 818124, "url": "http://patchwork.ozlabs.org/api/patches/818124/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20170925085822.1358-3-jiri@resnulli.us/", "project": { "id": 7, "url": "http://patchwork.ozlabs.org/api/projects/7/?format=api", "name": "Linux network development", "link_name": "netdev", "list_id": "netdev.vger.kernel.org", "list_email": "netdev@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170925085822.1358-3-jiri@resnulli.us>", "list_archive_url": null, "date": "2017-09-25T08:58:21", "name": "[net-next,2/3] net: sched: introduce helper to identify gact pass action", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "c7450a97b787e0155fba7722eb38c32721b98061", "submitter": { "id": 15321, "url": "http://patchwork.ozlabs.org/api/people/15321/?format=api", "name": "Jiri Pirko", "email": "jiri@resnulli.us" }, "delegate": { "id": 34, "url": "http://patchwork.ozlabs.org/api/users/34/?format=api", "username": "davem", "first_name": "David", "last_name": "Miller", "email": "davem@davemloft.net" }, "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/20170925085822.1358-3-jiri@resnulli.us/mbox/", "series": [ { "id": 4907, "url": "http://patchwork.ozlabs.org/api/series/4907/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=4907", "date": "2017-09-25T08:58:19", "name": "mlxsw: Introduce support for \"pass\" gact action offloading", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/4907/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/818124/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/818124/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<netdev-owner@vger.kernel.org>", "X-Original-To": "patchwork-incoming@ozlabs.org", "Delivered-To": "patchwork-incoming@ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=resnulli-us.20150623.gappssmtp.com\n\theader.i=@resnulli-us.20150623.gappssmtp.com\n\theader.b=\"WLKy7jJN\"; dkim-atps=neutral" ], "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3y0yg02Lmrz9tXK\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 25 Sep 2017 18:58:36 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S933108AbdIYI62 (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tMon, 25 Sep 2017 04:58:28 -0400", "from mail-wm0-f68.google.com ([74.125.82.68]:33064 \"EHLO\n\tmail-wm0-f68.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S932437AbdIYI60 (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Mon, 25 Sep 2017 04:58:26 -0400", "by mail-wm0-f68.google.com with SMTP id m127so6566610wmm.0\n\tfor <netdev@vger.kernel.org>; Mon, 25 Sep 2017 01:58:25 -0700 (PDT)", "from localhost (ip-89-177-136-69.net.upcbroadband.cz.\n\t[89.177.136.69]) by smtp.gmail.com with ESMTPSA id\n\t69sm8292455wmp.11.2017.09.25.01.58.24\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tMon, 25 Sep 2017 01:58:24 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=resnulli-us.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=WU3Ka+MAc4S6em6tdDzWDeoKl14uXMHHiQvdbprUP3U=;\n\tb=WLKy7jJNK/3seAo8M+q4RLLuwhgHEFTexzdc8rgK9qIFneTnTFUbpnRJxyRL2AfqUs\n\tGJkcD+UC0BckamxLxKE8apWChh/ZdKUMbldLswb4MvzE8FLljo80Mjl373IO3KiTxb3J\n\t6fPrjoOEek24KKqJyxU805m4ofWzaCGCq2xsUSkjkztpR2EPq6Mir7bz2Nr4UB+Re5q0\n\ta3YSVRfKvscr9VLkqoCBA88oS4QUgLMeaOj8inTly9GV9OxYRyIQwthQ0HfzO0XzMMiH\n\tpdKtcuqRZOJohTF2T8gvLEaDVjlxf8TurEMGEoNWAx5+qdsiZLcXWQA5plJnTf7j4KrZ\n\txkkw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=WU3Ka+MAc4S6em6tdDzWDeoKl14uXMHHiQvdbprUP3U=;\n\tb=eS7v/Bc7a1aalnw4TORW74bnTWyNUHgZPDEFFZmMZlJiKc54nHYpEzfIl6gVnWCir/\n\t52MPsD4vbfpPm7jJKWD2yX56QutVEsUQok2Wk2OttYmxgA4lVbQ9OtrW5GMhcIo+cFyn\n\tZPUv+HfTvffaTIyp4UftZQ4Tymqqraz6k1y9yDXyg/RThPN0Ex7L0369iTChNNYTEHJK\n\tiZlb4CSTX+33GbjkbpEXltwC8qvlqxZlR45GGXExMJtr3E7pxQP6peL1ToDuJUcP5cD9\n\tAQAC6nMsqchkoDwCec6DGZtWOwaoBY+WplW44390l7/4omEiIMlX0uUbfwIsnW2ngUf3\n\tHT7w==", "X-Gm-Message-State": "AHPjjUidXa5k9X7TYzbL/AjMF3NiPcoMf0ntNjqXLIhPmTacvVIeAno5\n\tl+fLM/dr98MIE0ECiWobBZ5iIx9K", "X-Google-Smtp-Source": "AOwi7QA3lAjfb2PP8KO0TUuaPR6I22DCNn20yY1p1z89XvAH3+r7VtxsHDQJ3EUr8NAPTmrlz+o26A==", "X-Received": "by 10.28.136.11 with SMTP id k11mr9233213wmd.133.1506329904840; \n\tMon, 25 Sep 2017 01:58:24 -0700 (PDT)", "From": "Jiri Pirko <jiri@resnulli.us>", "To": "netdev@vger.kernel.org", "Cc": "davem@davemloft.net, idosch@mellanox.com, mlxsw@mellanox.com,\n\tjhs@mojatatu.com, xiyou.wangcong@gmail.com", "Subject": "[patch net-next 2/3] net: sched: introduce helper to identify gact\n\tpass action", "Date": "Mon, 25 Sep 2017 10:58:21 +0200", "Message-Id": "<20170925085822.1358-3-jiri@resnulli.us>", "X-Mailer": "git-send-email 2.9.5", "In-Reply-To": "<20170925085822.1358-1-jiri@resnulli.us>", "References": "<20170925085822.1358-1-jiri@resnulli.us>", "Sender": "netdev-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netdev.vger.kernel.org>", "X-Mailing-List": "netdev@vger.kernel.org" }, "content": "From: Jiri Pirko <jiri@mellanox.com>\n\nIntroduce a helper called is_tcf_gact_pass which could be used to\ntell if the action is gact pass or not.\n\nSigned-off-by: Jiri Pirko <jiri@mellanox.com>\n---\n include/net/tc_act/tc_gact.h | 5 +++++\n 1 file changed, 5 insertions(+)", "diff": "diff --git a/include/net/tc_act/tc_gact.h b/include/net/tc_act/tc_gact.h\nindex 41afe1c..d979a0d 100644\n--- a/include/net/tc_act/tc_gact.h\n+++ b/include/net/tc_act/tc_gact.h\n@@ -33,6 +33,11 @@ static inline bool __is_tcf_gact_act(const struct tc_action *a, int act,\n \treturn false;\n }\n \n+static inline bool is_tcf_gact_ok(const struct tc_action *a)\n+{\n+\treturn __is_tcf_gact_act(a, TC_ACT_OK, false);\n+}\n+\n static inline bool is_tcf_gact_shot(const struct tc_action *a)\n {\n \treturn __is_tcf_gact_act(a, TC_ACT_SHOT, false);\n", "prefixes": [ "net-next", "2/3" ] }