get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 122567,
    "url": "http://patches.dpdk.org/api/patches/122567/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230126160309.584967-1-hamdani@nvidia.com/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20230126160309.584967-1-hamdani@nvidia.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230126160309.584967-1-hamdani@nvidia.com",
    "date": "2023-01-26T16:03:05",
    "name": "[1/5] net/mlx5/hws: fix alias_rtc_0 print location in debug dump",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a2d27e4cbce227ef6a16a1dd849fbbdf99ef5753",
    "submitter": {
        "id": 2931,
        "url": "http://patches.dpdk.org/api/people/2931/?format=api",
        "name": "Hamdan Igbaria",
        "email": "hamdani@nvidia.com"
    },
    "delegate": {
        "id": 3268,
        "url": "http://patches.dpdk.org/api/users/3268/?format=api",
        "username": "rasland",
        "first_name": "Raslan",
        "last_name": "Darawsheh",
        "email": "rasland@nvidia.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230126160309.584967-1-hamdani@nvidia.com/mbox/",
    "series": [
        {
            "id": 26660,
            "url": "http://patches.dpdk.org/api/series/26660/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=26660",
            "date": "2023-01-26T16:03:05",
            "name": "[1/5] net/mlx5/hws: fix alias_rtc_0 print location in debug dump",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/26660/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/122567/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/122567/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 48A4D42493;\n\tThu, 26 Jan 2023 17:04:20 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D992D40223;\n\tThu, 26 Jan 2023 17:04:19 +0100 (CET)",
            "from NAM10-BN7-obe.outbound.protection.outlook.com\n (mail-bn7nam10on2085.outbound.protection.outlook.com [40.107.92.85])\n by mails.dpdk.org (Postfix) with ESMTP id 3B02D400D7\n for <dev@dpdk.org>; Thu, 26 Jan 2023 17:04:18 +0100 (CET)",
            "from MW4P222CA0020.NAMP222.PROD.OUTLOOK.COM (2603:10b6:303:114::25)\n by SA3PR12MB7998.namprd12.prod.outlook.com (2603:10b6:806:320::13)\n with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.33; Thu, 26 Jan\n 2023 16:04:16 +0000",
            "from CO1NAM11FT036.eop-nam11.prod.protection.outlook.com\n (2603:10b6:303:114:cafe::26) by MW4P222CA0020.outlook.office365.com\n (2603:10b6:303:114::25) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.22 via Frontend\n Transport; Thu, 26 Jan 2023 16:04:15 +0000",
            "from mail.nvidia.com (216.228.117.161) by\n CO1NAM11FT036.mail.protection.outlook.com (10.13.174.124) with Microsoft SMTP\n Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.20.6043.17 via Frontend Transport; Thu, 26 Jan 2023 16:04:14 +0000",
            "from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com\n (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Thu, 26 Jan\n 2023 08:04:00 -0800",
            "from nvidia.com (10.126.230.37) by rnnvmail201.nvidia.com\n (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Thu, 26 Jan\n 2023 08:03:57 -0800"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;\n b=QltwWy6aoWheU+O7UjB4ZTtV9Hu5zvQHNjjZ22LS1k4usgeXc1gn88uji8mZy9QAay/a8VeHdPpLxwOxIoBs4xD7T3OyLwE+dx0R0AtRFMbxVXZLF2W8hlv1cm2q8Cz6/LP1ryKdsdPrMlKZj12IztAGIrWUb+J0RYcSOZgTiN0LnpuNNZ3xAo0TdwTuNQU06PjoDvpq9IJ53CrFXAEbO+2AcNB4nEuDVAi8LB1Yyd32cq7XKu11jF6G/3VxfsOfdfGtiAWOxgh7Z5Csgl9MXc0f9p6AOhzNKiOaquGh4uRGAElO37MVU82rvZjOKmwe8V6TGKCGNGkPruDM3TeXoQ==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector9901;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;\n bh=UV5TZ6X1DXdoHyfjUEMXl/EZvqhOIFoQsW9/QoBk6KE=;\n b=JW2G3dbUiSNRCs6+tg+78WWMejYT0Qoj8MOIpKapKxsjI3c9HQZYpxQ9+1lIqpzoD099L/jUANt1lRA6FK4/ulRu9EhkOMNdDSt9EpiMsxxMt0TpnhBDgZCw2mTHVX45LWSVI5hERWT4HZksdLLHkh+h8T71JPtLYtGhTwVO3xoFt2HMYNJqyfU7GZ5VG+XRj4rgmdUMVmjcIkTdVZzEwa7aT0eoTvKOHetq/pQZK/Ns3lkoxXzi26x+OKApbpRJYhgrh64elWT5d3C0QUPu9Lptzj6/iBPLJ5b8bW6VMI+pbcPCeKyAq2+bH68sSHtnO8Javp1XGqQc7nwV5xWncA==",
        "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass (sender ip is\n 216.228.117.161) smtp.rcpttodomain=monjalon.net smtp.mailfrom=nvidia.com;\n dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com;\n dkim=none (message not signed); arc=none",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com;\n s=selector2;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=UV5TZ6X1DXdoHyfjUEMXl/EZvqhOIFoQsW9/QoBk6KE=;\n b=baAgAePUWNOa3J7Cu07WhGBc3aAAsR4lUcqp6Bi+N4hDiQTE5HLOcfobjgv7HbJKeleXNYJvfRXShJucePryQifcCeeEoyK7jjNZdFgyqkl9cvLJCQ+tuW2kbTsrbGAbx07t5biFM/VLuJNFWzd06hOu7CNMR04khX41B52b9UJLG9yqlMMj/Df5bMe2bokwn2/qcRO2h96vsw5EEI+H472NjGUHSOuPFaUz8Asyxl0rYEqjClgrNHeYmk/vpWPnoNCgxaBTOIzKjux3PWrll8aQR0bOlOyvnPNSb1JnBAnhX3+ytmHe+M+CpqzKes9DlrYOKZRszq6q1kv4FrYJxw==",
        "X-MS-Exchange-Authentication-Results": "spf=pass (sender IP is 216.228.117.161)\n smtp.mailfrom=nvidia.com;\n dkim=none (message not signed)\n header.d=none;dmarc=pass action=none header.from=nvidia.com;",
        "Received-SPF": "Pass (protection.outlook.com: domain of nvidia.com designates\n 216.228.117.161 as permitted sender) receiver=protection.outlook.com;\n client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C",
        "From": "Hamdan Igbaria <hamdani@nvidia.com>",
        "To": "<hamdani@nvidia.com>, <viacheslavo@nvidia.com>, <thomas@monjalon.net>,\n <suanmingm@nvidia.com>, Matan Azrad <matan@nvidia.com>",
        "CC": "<dev@dpdk.org>, <orika@nvidia.com>, <valex@nvidia.com>",
        "Subject": "[PATCH 1/5] net/mlx5/hws: fix alias_rtc_0 print location in debug\n dump",
        "Date": "Thu, 26 Jan 2023 18:03:05 +0200",
        "Message-ID": "<20230126160309.584967-1-hamdani@nvidia.com>",
        "X-Mailer": "git-send-email 2.31.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.126.230.37]",
        "X-ClientProxiedBy": "rnnvmail201.nvidia.com (10.129.68.8) To\n rnnvmail201.nvidia.com (10.129.68.8)",
        "X-EOPAttributedMessage": "0",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-TrafficTypeDiagnostic": "CO1NAM11FT036:EE_|SA3PR12MB7998:EE_",
        "X-MS-Office365-Filtering-Correlation-Id": "54b44786-1512-4cac-58fe-08daffb6f8cb",
        "X-LD-Processed": "43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-MS-Exchange-AntiSpam-Relay": "0",
        "X-Microsoft-Antispam": "BCL:0;",
        "X-Microsoft-Antispam-Message-Info": "\n Eof1EeSJfEbsSMCS5FbRRQC7AVEr+SFI0jWvX+l/NMYZP5fGFcUNO5S3Xetgh64cFBMphwWIZSeqSaeA7mmTe7flPKvyFxsTCt0ScsA/J3l5PmpwGp4qYhyjmtxiy2FDgje8cEijxoutkLxkzHjX3iRPevJSoWC607leIUorr+4jM5ClI7PIU3GMTxO97gCvfuo/JyJHvstXrzuiAG2dQR9Xr4D1M9jh6ldWRw35pLrluVSecH9/cEeLSkOOLaazixhXX2dYe6JEfmHlWeUHsc1+hi/m6OuDsWA3k73E476mLXhdyscP+Ih/1yPv2VeIr5DbNFunjx0c011g9qyXeH2QYyfzrb88f2Ew2Kj6lSaISQv5ZCuXbgdeD18MLRUpzBiZjZ0F/12pB1Yak89TIkR1w0LOyBoF1wAQzY27zUMS/EYF1pVLS39+y2efx3O8A8INBOwHFPE5yS9gIDcsRjSwT0w652/k2MkSaJKlwVVccpfd+QVUiQ4xktsOgyq3CignWV0rifXkpSwolXOUhgJVeQ2WJmB/yIdTaJqSLLbgd9wnXasj+CPANlCDds1Be7PEwrafhRNvYHU1cnRR2fkQmoemRUDQisAEqsNvi/MgEGC+pY+FkbO0WdQZhUzQFBfnvHkpoJPqVHSWS8vP/mI9rOUKs3PhzfG/dWMHElI6LYFviNTvss1P7Ltm5SaTY5k22vpefygvm1tTlddnGg==",
        "X-Forefront-Antispam-Report": "CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1;\n SRV:;\n IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE;\n SFS:(13230025)(4636009)(396003)(376002)(39860400002)(136003)(346002)(451199018)(36840700001)(46966006)(40470700004)(36860700001)(26005)(83380400001)(7636003)(5660300002)(55016003)(82740400003)(7696005)(41300700001)(2906002)(86362001)(82310400005)(8936002)(4326008)(16526019)(40460700003)(40480700001)(356005)(6666004)(316002)(186003)(336012)(8676002)(107886003)(47076005)(6286002)(2616005)(478600001)(54906003)(36756003)(110136005)(6636002)(70586007)(426003)(1076003)(70206006);\n DIR:OUT; SFP:1101;",
        "X-OriginatorOrg": "Nvidia.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "26 Jan 2023 16:04:14.7991 (UTC)",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 54b44786-1512-4cac-58fe-08daffb6f8cb",
        "X-MS-Exchange-CrossTenant-Id": "43083d15-7273-40c1-b7db-39efd9ccc17a",
        "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "\n TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161];\n Helo=[mail.nvidia.com]",
        "X-MS-Exchange-CrossTenant-AuthSource": "\n CO1NAM11FT036.eop-nam11.prod.protection.outlook.com",
        "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "SA3PR12MB7998",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "content": "Fix alias_rtc_0 print location in debug dump, move it to\nthe end of matcher dumped info instead of the middle, to\nkeep the dump compatibility.\n\nFixes: dd2845361a58 (\"net/mlx5/hws: add debug details for cross gvmi\")\nSigned-off-by: Hamdan Igbaria <hamdani@nvidia.com>\n---\n drivers/net/mlx5/hws/mlx5dr_debug.c | 12 ++++++------\n 1 file changed, 6 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/drivers/net/mlx5/hws/mlx5dr_debug.c b/drivers/net/mlx5/hws/mlx5dr_debug.c\nindex 0815327b18..4bbdb767ee 100644\n--- a/drivers/net/mlx5/hws/mlx5dr_debug.c\n+++ b/drivers/net/mlx5/hws/mlx5dr_debug.c\n@@ -208,13 +208,11 @@ static int mlx5dr_debug_dump_matcher(FILE *f, struct mlx5dr_matcher *matcher)\n \t\tste_1 = NULL;\n \t}\n \n-\tret = fprintf(f, \",%d,%d,%d,%d,%d\",\n+\tret = fprintf(f, \",%d,%d,%d,%d\",\n \t\t      matcher->match_ste.rtc_0 ? matcher->match_ste.rtc_0->id : 0,\n \t\t      ste_0 ? (int)ste_0->id : -1,\n \t\t      matcher->match_ste.rtc_1 ? matcher->match_ste.rtc_1->id : 0,\n-\t\t      ste_1 ? (int)ste_1->id : -1,\n-\t\t      is_shared && !is_root ?\n-\t\t      matcher->match_ste.aliased_rtc_0->id : 0);\n+\t\t      ste_1 ? (int)ste_1->id : -1);\n \tif (ret < 0)\n \t\tgoto out_err;\n \n@@ -229,11 +227,13 @@ static int mlx5dr_debug_dump_matcher(FILE *f, struct mlx5dr_matcher *matcher)\n \t\tste_1 = NULL;\n \t}\n \n-\tret = fprintf(f, \",%d,%d,%d,%d\\n\",\n+\tret = fprintf(f, \",%d,%d,%d,%d,%d\\n\",\n \t\t      matcher->action_ste.rtc_0 ? matcher->action_ste.rtc_0->id : 0,\n \t\t      ste_0 ? (int)ste_0->id : -1,\n \t\t      matcher->action_ste.rtc_1 ? matcher->action_ste.rtc_1->id : 0,\n-\t\t      ste_1 ? (int)ste_1->id : -1);\n+\t\t      ste_1 ? (int)ste_1->id : -1,\n+\t\t      is_shared && !is_root ?\n+\t\t      matcher->match_ste.aliased_rtc_0->id : 0);\n \tif (ret < 0)\n \t\tgoto out_err;\n \n",
    "prefixes": [
        "1/5"
    ]
}