get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 83931,
    "url": "http://patches.dpdk.org/api/patches/83931/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20201111113754.12739-1-qinx.sun@intel.com/",
    "project": {
        "id": 3,
        "url": "http://patches.dpdk.org/api/projects/3/?format=api",
        "name": "DTS",
        "link_name": "dts",
        "list_id": "dts.dpdk.org",
        "list_email": "dts@dpdk.org",
        "web_url": "",
        "scm_url": "git://dpdk.org/tools/dts",
        "webscm_url": "http://git.dpdk.org/tools/dts/",
        "list_archive_url": "https://inbox.dpdk.org/dts",
        "list_archive_url_format": "https://inbox.dpdk.org/dts/{}",
        "commit_url_format": ""
    },
    "msgid": "<20201111113754.12739-1-qinx.sun@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20201111113754.12739-1-qinx.sun@intel.com",
    "date": "2020-11-11T11:37:54",
    "name": "[V1] tests/rte_flow_common modify iavf_fdir queue verify method",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "1834bb01abcb6da66a44f9674aa4d669fe73bc46",
    "submitter": {
        "id": 1956,
        "url": "http://patches.dpdk.org/api/people/1956/?format=api",
        "name": "Sun, QinX",
        "email": "qinx.sun@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20201111113754.12739-1-qinx.sun@intel.com/mbox/",
    "series": [
        {
            "id": 13790,
            "url": "http://patches.dpdk.org/api/series/13790/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=13790",
            "date": "2020-11-11T11:37:54",
            "name": "[V1] tests/rte_flow_common modify iavf_fdir queue verify method",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/13790/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/83931/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/83931/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dts-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id D2AE0A052A;\n\tWed, 11 Nov 2020 04:01:04 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C9B1AF90;\n\tWed, 11 Nov 2020 04:01:03 +0100 (CET)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by dpdk.org (Postfix) with ESMTP id DF0E12AB\n for <dts@dpdk.org>; Wed, 11 Nov 2020 04:01:02 +0100 (CET)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Nov 2020 19:01:01 -0800",
            "from unknown (HELO localhost.localdomain) ([10.240.183.105])\n by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Nov 2020 19:00:59 -0800"
        ],
        "IronPort-SDR": [
            "\n luj8v6XJJ+XiiLhI5uZqWA/VdfcuRfSLgPITya6tCXru5dp1dIH5faaEBUhnL/yCvPeLv5tP2E\n UkZyAvdIlHpA==",
            "\n urBV3zVrAahy8Qv1au+D7atRvaPP0A7Iwk6hbL+5Er/8RJmG3Kqb+A7QKcz6ibmr7lnsI4TpvJ\n 6PsczROxzUyg=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9801\"; a=\"166577043\"",
            "E=Sophos;i=\"5.77,468,1596524400\"; d=\"scan'208\";a=\"166577043\"",
            "E=Sophos;i=\"5.77,468,1596524400\"; d=\"scan'208\";a=\"308298390\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "From": "sunqin <qinx.sun@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "sunqin <qinx.sun@intel.com>",
        "Date": "Wed, 11 Nov 2020 11:37:54 +0000",
        "Message-Id": "<20201111113754.12739-1-qinx.sun@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dts] [PATCH V1] tests/rte_flow_common modify iavf_fdir queue\n\tverify method",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "test suite reviews and discussions <dts.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dts/>",
        "List-Post": "<mailto:dts@dpdk.org>",
        "List-Help": "<mailto:dts-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dts-bounces@dpdk.org",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "create a fdir rule, send mismatch packet, sometimes queue id may hit the defaule value set in the rule, \n\nso can not just compared the queue value to judgle the case failed.\n\nNow,use 'verify_iavf_fdir_directed_by_rss' to check queue is correctly or not after mark id is verifed.\n\n\nSigned-off-by: sunqin <qinx.sun@intel.com>\n---\n tests/rte_flow_common.py | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/tests/rte_flow_common.py b/tests/rte_flow_common.py\nindex 43c0eab..e0a378f 100644\n--- a/tests/rte_flow_common.py\n+++ b/tests/rte_flow_common.py\n@@ -454,7 +454,7 @@ def check_iavf_fdir_queue(out, pkt_num, check_param, stats=True):\n                 raise Exception(\"wrong queue value, expect int or list\")\n         else:\n             if isinstance(queue, int):\n-                verify(not any(q == queue for q in res_queue), \"fail: queue id should not matched, expect queue %s, got %s\" % (queue, res_queue))\n+                verify_iavf_fdir_directed_by_rss(out, rxq=CVL_TXQ_RXQ_NUMBER, stats=True)\n                 print((GREEN(\"pass: queue id %s not matched\" % res_queue)))\n             elif isinstance(queue, list):\n                 verify_iavf_fdir_directed_by_rss(out, rxq=CVL_TXQ_RXQ_NUMBER, stats=True)\n",
    "prefixes": [
        "V1"
    ]
}