get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.2/patches/834177/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 834177,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/834177/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20171104085030.25430-11-saeedm@mellanox.com/",
    "project": {
        "id": 7,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20171104085030.25430-11-saeedm@mellanox.com>",
    "list_archive_url": null,
    "date": "2017-11-04T08:50:28",
    "name": "[net-next,10/12] net/mlx5: Initialize destination_flow struct to 0",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "57642c7c9ad8c4dee4f04496db9c67d42906d861",
    "submitter": {
        "id": 65299,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/65299/?format=api",
        "name": "Saeed Mahameed",
        "email": "saeedm@mellanox.com"
    },
    "delegate": {
        "id": 34,
        "url": "http://patchwork.ozlabs.org/api/1.2/users/34/?format=api",
        "username": "davem",
        "first_name": "David",
        "last_name": "Miller",
        "email": "davem@davemloft.net"
    },
    "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/20171104085030.25430-11-saeedm@mellanox.com/mbox/",
    "series": [
        {
            "id": 11869,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/11869/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=11869",
            "date": "2017-11-04T08:50:18",
            "name": "[net-next,01/12] net/dcb: Add dscp to priority selector type",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/11869/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/834177/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/834177/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>)",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3yTXdQ2Q8yz9sBW\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat,  4 Nov 2017 19:52:26 +1100 (AEDT)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S932526AbdKDIwY (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tSat, 4 Nov 2017 04:52:24 -0400",
            "from mail-il-dmz.mellanox.com ([193.47.165.129]:54586 \"EHLO\n\tmellanox.co.il\" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org\n\twith ESMTP id S1755945AbdKDIwL (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Sat, 4 Nov 2017 04:52:11 -0400",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n\tsaeedm@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 4 Nov 2017 10:52:07 +0200",
            "from mti-swat15.mti.labs.mlnx. (mti-swat15.mti.labs.mlnx\n\t[10.20.1.123])\n\tby labmailer.mlnx (8.13.8/8.13.8) with ESMTP id vA48pkiY022678;\n\tSat, 4 Nov 2017 10:52:05 +0200"
        ],
        "From": "Saeed Mahameed <saeedm@mellanox.com>",
        "To": "\"David S. Miller\" <davem@davemloft.net>",
        "Cc": "netdev@vger.kernel.org, Rabie Loulou <rabiel@mellanox.com>,\n\tSaeed Mahameed <saeedm@mellanox.com>",
        "Subject": "[net-next 10/12] net/mlx5: Initialize destination_flow struct to 0",
        "Date": "Sat,  4 Nov 2017 01:50:28 -0700",
        "Message-Id": "<20171104085030.25430-11-saeedm@mellanox.com>",
        "X-Mailer": "git-send-email 2.14.2",
        "In-Reply-To": "<20171104085030.25430-1-saeedm@mellanox.com>",
        "References": "<20171104085030.25430-1-saeedm@mellanox.com>",
        "Sender": "netdev-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<netdev.vger.kernel.org>",
        "X-Mailing-List": "netdev@vger.kernel.org"
    },
    "content": "From: Rabie Loulou <rabiel@mellanox.com>\n\nThis is needed in order to enlarge it with more members that will get\nvalue of 0 when not set.\n\nSigned-off-by: Rabie Loulou <rabiel@mellanox.com>\nReviewed-by: Roi Dayan <roid@mellanox.com>\nSigned-off-by: Saeed Mahameed <saeedm@mellanox.com>\n---\n drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c          | 10 +++++-----\n drivers/net/ethernet/mellanox/mlx5/core/en_fs.c            |  8 ++++----\n drivers/net/ethernet/mellanox/mlx5/core/eswitch.c          |  2 +-\n drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c |  6 +++---\n drivers/net/ethernet/mellanox/mlx5/core/fs_core.c          |  4 ++--\n 5 files changed, 15 insertions(+), 15 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c b/drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c\nindex 12d3ced61114..610d485c4b03 100644\n--- a/drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c\n+++ b/drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c\n@@ -92,7 +92,7 @@ static enum mlx5e_traffic_types arfs_get_tt(enum arfs_type type)\n \n static int arfs_disable(struct mlx5e_priv *priv)\n {\n-\tstruct mlx5_flow_destination dest;\n+\tstruct mlx5_flow_destination dest = {};\n \tstruct mlx5e_tir *tir = priv->indir_tir;\n \tint err = 0;\n \tint tt;\n@@ -126,7 +126,7 @@ int mlx5e_arfs_disable(struct mlx5e_priv *priv)\n \n int mlx5e_arfs_enable(struct mlx5e_priv *priv)\n {\n-\tstruct mlx5_flow_destination dest;\n+\tstruct mlx5_flow_destination dest = {};\n \tint err = 0;\n \tint tt;\n \tint i;\n@@ -175,7 +175,7 @@ static int arfs_add_default_rule(struct mlx5e_priv *priv,\n {\n \tstruct arfs_table *arfs_t = &priv->fs.arfs.arfs_tables[type];\n \tstruct mlx5e_tir *tir = priv->indir_tir;\n-\tstruct mlx5_flow_destination dest;\n+\tstruct mlx5_flow_destination dest = {};\n \tMLX5_DECLARE_FLOW_ACT(flow_act);\n \tstruct mlx5_flow_spec *spec;\n \tenum mlx5e_traffic_types tt;\n@@ -466,7 +466,7 @@ static struct mlx5_flow_handle *arfs_add_rule(struct mlx5e_priv *priv,\n \tstruct mlx5e_arfs_tables *arfs = &priv->fs.arfs;\n \tstruct arfs_tuple *tuple = &arfs_rule->tuple;\n \tstruct mlx5_flow_handle *rule = NULL;\n-\tstruct mlx5_flow_destination dest;\n+\tstruct mlx5_flow_destination dest = {};\n \tMLX5_DECLARE_FLOW_ACT(flow_act);\n \tstruct arfs_table *arfs_table;\n \tstruct mlx5_flow_spec *spec;\n@@ -557,7 +557,7 @@ static struct mlx5_flow_handle *arfs_add_rule(struct mlx5e_priv *priv,\n static void arfs_modify_rule_rq(struct mlx5e_priv *priv,\n \t\t\t\tstruct mlx5_flow_handle *rule, u16 rxq)\n {\n-\tstruct mlx5_flow_destination dst;\n+\tstruct mlx5_flow_destination dst = {};\n \tint err = 0;\n \n \tdst.type = MLX5_FLOW_DESTINATION_TYPE_TIR;\ndiff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_fs.c b/drivers/net/ethernet/mellanox/mlx5/core/en_fs.c\nindex 850cdc980ab5..8016c8aa946d 100644\n--- a/drivers/net/ethernet/mellanox/mlx5/core/en_fs.c\n+++ b/drivers/net/ethernet/mellanox/mlx5/core/en_fs.c\n@@ -162,7 +162,7 @@ static int __mlx5e_add_vlan_rule(struct mlx5e_priv *priv,\n \t\t\t\t u16 vid, struct mlx5_flow_spec *spec)\n {\n \tstruct mlx5_flow_table *ft = priv->fs.vlan.ft.t;\n-\tstruct mlx5_flow_destination dest;\n+\tstruct mlx5_flow_destination dest = {};\n \tstruct mlx5_flow_handle **rule_p;\n \tMLX5_DECLARE_FLOW_ACT(flow_act);\n \tint err = 0;\n@@ -738,7 +738,7 @@ mlx5e_generate_ttc_rule(struct mlx5e_priv *priv,\n \n static int mlx5e_generate_ttc_table_rules(struct mlx5e_priv *priv)\n {\n-\tstruct mlx5_flow_destination dest;\n+\tstruct mlx5_flow_destination dest = {};\n \tstruct mlx5e_ttc_table *ttc;\n \tstruct mlx5_flow_handle **rules;\n \tstruct mlx5_flow_table *ft;\n@@ -909,7 +909,7 @@ mlx5e_generate_inner_ttc_rule(struct mlx5e_priv *priv,\n \n static int mlx5e_generate_inner_ttc_table_rules(struct mlx5e_priv *priv)\n {\n-\tstruct mlx5_flow_destination dest;\n+\tstruct mlx5_flow_destination dest = {};\n \tstruct mlx5_flow_handle **rules;\n \tstruct mlx5e_ttc_table *ttc;\n \tstruct mlx5_flow_table *ft;\n@@ -1106,7 +1106,7 @@ static int mlx5e_add_l2_flow_rule(struct mlx5e_priv *priv,\n \t\t\t\t  struct mlx5e_l2_rule *ai, int type)\n {\n \tstruct mlx5_flow_table *ft = priv->fs.l2.ft.t;\n-\tstruct mlx5_flow_destination dest;\n+\tstruct mlx5_flow_destination dest = {};\n \tMLX5_DECLARE_FLOW_ACT(flow_act);\n \tstruct mlx5_flow_spec *spec;\n \tint err = 0;\ndiff --git a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c\nindex c77f4c0c7769..bbb140f517c4 100644\n--- a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c\n+++ b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c\n@@ -157,7 +157,7 @@ __esw_fdb_set_vport_rule(struct mlx5_eswitch *esw, u32 vport, bool rx_rule,\n \t\t\t    MLX5_MATCH_OUTER_HEADERS);\n \tstruct mlx5_flow_handle *flow_rule = NULL;\n \tstruct mlx5_flow_act flow_act = {0};\n-\tstruct mlx5_flow_destination dest;\n+\tstruct mlx5_flow_destination dest = {};\n \tstruct mlx5_flow_spec *spec;\n \tvoid *mv_misc = NULL;\n \tvoid *mc_misc = NULL;\ndiff --git a/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c b/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c\nindex d9fd8570b07c..1143d80119bd 100644\n--- a/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c\n+++ b/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c\n@@ -306,7 +306,7 @@ static struct mlx5_flow_handle *\n mlx5_eswitch_add_send_to_vport_rule(struct mlx5_eswitch *esw, int vport, u32 sqn)\n {\n \tstruct mlx5_flow_act flow_act = {0};\n-\tstruct mlx5_flow_destination dest;\n+\tstruct mlx5_flow_destination dest = {};\n \tstruct mlx5_flow_handle *flow_rule;\n \tstruct mlx5_flow_spec *spec;\n \tvoid *misc;\n@@ -395,7 +395,7 @@ int mlx5_eswitch_sqs2vport_start(struct mlx5_eswitch *esw,\n static int esw_add_fdb_miss_rule(struct mlx5_eswitch *esw)\n {\n \tstruct mlx5_flow_act flow_act = {0};\n-\tstruct mlx5_flow_destination dest;\n+\tstruct mlx5_flow_destination dest = {};\n \tstruct mlx5_flow_handle *flow_rule = NULL;\n \tstruct mlx5_flow_spec *spec;\n \tint err = 0;\n@@ -670,7 +670,7 @@ struct mlx5_flow_handle *\n mlx5_eswitch_create_vport_rx_rule(struct mlx5_eswitch *esw, int vport, u32 tirn)\n {\n \tstruct mlx5_flow_act flow_act = {0};\n-\tstruct mlx5_flow_destination dest;\n+\tstruct mlx5_flow_destination dest = {};\n \tstruct mlx5_flow_handle *flow_rule;\n \tstruct mlx5_flow_spec *spec;\n \tvoid *misc;\ndiff --git a/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c b/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c\nindex c7fa1389bace..c70fd663a633 100644\n--- a/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c\n+++ b/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c\n@@ -912,7 +912,7 @@ static int connect_fwd_rules(struct mlx5_core_dev *dev,\n \t\t\t     struct mlx5_flow_table *new_next_ft,\n \t\t\t     struct mlx5_flow_table *old_next_ft)\n {\n-\tstruct mlx5_flow_destination dest;\n+\tstruct mlx5_flow_destination dest = {};\n \tstruct mlx5_flow_rule *iter;\n \tint err = 0;\n \n@@ -1820,7 +1820,7 @@ mlx5_add_flow_rules(struct mlx5_flow_table *ft,\n \t\t    int dest_num)\n {\n \tstruct mlx5_flow_root_namespace *root = find_root(&ft->node);\n-\tstruct mlx5_flow_destination gen_dest;\n+\tstruct mlx5_flow_destination gen_dest = {};\n \tstruct mlx5_flow_table *next_ft = NULL;\n \tstruct mlx5_flow_handle *handle = NULL;\n \tu32 sw_action = flow_act->action;\n",
    "prefixes": [
        "net-next",
        "10/12"
    ]
}