Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/809077/?format=api
{ "id": 809077, "url": "http://patchwork.ozlabs.org/api/patches/809077/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20170902152126.17286-4-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": "<20170902152126.17286-4-jiri@resnulli.us>", "list_archive_url": null, "date": "2017-09-02T15:21:08", "name": "[net-next,03/21] mlxsw: reg: Move enum mlxsw_reg_ratr_trap_id", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "e0f2cb15ad6e353f31a4240c4f878356e0738733", "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/20170902152126.17286-4-jiri@resnulli.us/mbox/", "series": [ { "id": 1159, "url": "http://patchwork.ozlabs.org/api/series/1159/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=1159", "date": "2017-09-02T15:21:05", "name": "mlxsw: Offloading GRE tunnels", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/1159/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/809077/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/809077/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=\"cSrogSR6\"; dkim-atps=neutral" ], "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xl0Ff5D1Nz9sQl\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSun, 3 Sep 2017 01:21:42 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752729AbdIBPVg (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tSat, 2 Sep 2017 11:21:36 -0400", "from mail-wm0-f68.google.com ([74.125.82.68]:35046 \"EHLO\n\tmail-wm0-f68.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1752712AbdIBPVf (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Sat, 2 Sep 2017 11:21:35 -0400", "by mail-wm0-f68.google.com with SMTP id e204so2644300wma.2\n\tfor <netdev@vger.kernel.org>; Sat, 02 Sep 2017 08:21:34 -0700 (PDT)", "from localhost (jirka.pirko.cz. [84.16.102.26])\n\tby smtp.gmail.com with ESMTPSA id\n\tn3sm1060683wrg.38.2017.09.02.08.21.33\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tSat, 02 Sep 2017 08:21:33 -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=sxqykFcVUujpL3KSv726JPJLMt/OzpT2AoKDJ6C9XfQ=;\n\tb=cSrogSR6BzmP0ozU0ZQnMZPllgIos3eFbVkmKVBmP1OAbGKYn8lKEOV8V+hYXYhtLx\n\tx8cSa/tvNiZ86odd5ciC3boxAhhph3WurBIIrN/8DGgsGA7GF+DGKblhKCV3h1NXLdXz\n\tejxsC55B0vJmQHm+JOegvhod+db9PkQHCL1xuQEf9mLfDZG5H8uSjG04Op9q3zNvFvIh\n\tTrczKQpGJ7gHe9ns8pyZUBsc+xUocVyowK+8DZebxhg7H7Z6h1CKIVqAObplXAb8tgGG\n\tS5wfdxat4J/IF2ACEpSTqGja8tXcgnAclQvzAVYxoTWTXjB+d/IK6BBlp123wbNnuikk\n\txKXg==", "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=sxqykFcVUujpL3KSv726JPJLMt/OzpT2AoKDJ6C9XfQ=;\n\tb=pKGEK6VZCrKR0021yYh2fKZFWmZ/mpr9fJwnlBRqOxXoihH4c3j51ks0tgFvoO2MkN\n\t7bG+q3GK3PmlcxpLG9idNHOt50KuvJSSXr5MRIQKqziAiNWyPR7AxJRlwJBmUL2M69f+\n\t0+qGb5KvmNrz/3zFrf30hfg5YUvVK1ZT5qLztDPKqRhH2JuvpNa5u00dX3c0fzX9pYot\n\tzyCVxQ3T8FDOdD0Xj1i+wRA/vbXeAcxSYqKhm3MKLyDb7yO48uOD8a6Rlvcb0u1flGqX\n\tJcDaNTYqbhmsbFoB3347V+YK7r/fQva5hdTOYwEHPFySGRAUqbTlXfoQt4ZBmlSEjvNQ\n\t3kFw==", "X-Gm-Message-State": "AHPjjUg7wA4gJN1vjF00MtCWYcGADl65zc6hDSp9A48/aDku01/feyBJ\n\tqP1QReVOTAzlS621u+0=", "X-Google-Smtp-Source": "ADKCNb5TouotwqhB4O4bVCxm8EQPJKQfEl8hQ41WF2a9bcxWJk5vSkpvaMdbpm011VrmNUpvm5fuaA==", "X-Received": "by 10.28.30.73 with SMTP id e70mr1105494wme.5.1504365693948;\n\tSat, 02 Sep 2017 08:21:33 -0700 (PDT)", "From": "Jiri Pirko <jiri@resnulli.us>", "To": "netdev@vger.kernel.org", "Cc": "davem@davemloft.net, petrm@mellanox.com, idosch@mellanox.com,\n\tmlxsw@mellanox.com", "Subject": "[patch net-next 03/21] mlxsw: reg: Move enum mlxsw_reg_ratr_trap_id", "Date": "Sat, 2 Sep 2017 17:21:08 +0200", "Message-Id": "<20170902152126.17286-4-jiri@resnulli.us>", "X-Mailer": "git-send-email 2.9.3", "In-Reply-To": "<20170902152126.17286-1-jiri@resnulli.us>", "References": "<20170902152126.17286-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: Petr Machata <petrm@mellanox.com>\n\nThis enum is used with reg_ratr_trap_id, so move it next to the register\ndefinition.\n\nWhile at it, drop the enumerator initializers.\n\nSigned-off-by: Petr Machata <petrm@mellanox.com>\nReviewed-by: Ido Schimmel <idosch@mellanox.com>\nSigned-off-by: Jiri Pirko <jiri@mellanox.com>\n---\n drivers/net/ethernet/mellanox/mlxsw/reg.h | 10 +++++-----\n 1 file changed, 5 insertions(+), 5 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/mellanox/mlxsw/reg.h b/drivers/net/ethernet/mellanox/mlxsw/reg.h\nindex 6a7757f..bf936b6 100644\n--- a/drivers/net/ethernet/mellanox/mlxsw/reg.h\n+++ b/drivers/net/ethernet/mellanox/mlxsw/reg.h\n@@ -4423,17 +4423,17 @@ enum mlxsw_reg_ratr_trap_action {\n */\n MLXSW_ITEM32(reg, ratr, trap_action, 0x0C, 28, 4);\n \n-enum mlxsw_reg_ratr_trap_id {\n-\tMLXSW_REG_RATR_TRAP_ID_RTR_EGRESS0 = 0,\n-\tMLXSW_REG_RATR_TRAP_ID_RTR_EGRESS1 = 1,\n-};\n-\n /* reg_ratr_adjacency_index_high\n * Bits 23:16 of the adjacency_index.\n * Access: Index\n */\n MLXSW_ITEM32(reg, ratr, adjacency_index_high, 0x0C, 16, 8);\n \n+enum mlxsw_reg_ratr_trap_id {\n+\tMLXSW_REG_RATR_TRAP_ID_RTR_EGRESS0,\n+\tMLXSW_REG_RATR_TRAP_ID_RTR_EGRESS1,\n+};\n+\n /* reg_ratr_trap_id\n * Trap ID to be reported to CPU.\n * Trap-ID is RTR_EGRESS0 or RTR_EGRESS1.\n", "prefixes": [ "net-next", "03/21" ] }