get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 96365,
    "url": "http://patches.dpdk.org/api/patches/96365/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20210729135116.4575-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": "<20210729135116.4575-1-qinx.sun@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210729135116.4575-1-qinx.sun@intel.com",
    "date": "2021-07-29T13:51:16",
    "name": "[V1,2/2] test_plans/cvl_limit_value_test: modify maximum value of switch rule",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "be77679f955aec2d0d5231a8ccd5c321b32f84e3",
    "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/20210729135116.4575-1-qinx.sun@intel.com/mbox/",
    "series": [
        {
            "id": 18046,
            "url": "http://patches.dpdk.org/api/series/18046/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=18046",
            "date": "2021-07-29T13:49:35",
            "name": "[V1,1/2] tests/cvl_limit_value_test: modify maximum value of switch rule",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/18046/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/96365/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/96365/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id D2B21A0C43;\n\tThu, 29 Jul 2021 07:20:06 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C33B340683;\n\tThu, 29 Jul 2021 07:20:06 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id 5667E4014D\n for <dts@dpdk.org>; Thu, 29 Jul 2021 07:20:05 +0200 (CEST)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Jul 2021 22:20:04 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.105])\n by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Jul 2021 22:20:03 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10059\"; a=\"200023050\"",
            "E=Sophos;i=\"5.84,278,1620716400\"; d=\"scan'208\";a=\"200023050\"",
            "E=Sophos;i=\"5.84,278,1620716400\"; d=\"scan'208\";a=\"666205692\""
        ],
        "From": "Qin Sun <qinx.sun@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Qin Sun <qinx.sun@intel.com>",
        "Date": "Thu, 29 Jul 2021 13:51:16 +0000",
        "Message-Id": "<20210729135116.4575-1-qinx.sun@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dts] [PATCH V1 2/2] test_plans/cvl_limit_value_test: modify\n maximum value of switch rule",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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": "confirm with developer that CVL support up to 32K FLU entries. Firmware allocates \nsome default entries first, the actual entries can't be calculated and depend on \nhardware. there is no formula to figure out the specific rule numbers of different\nenvironment configurations,so can't acquire the actual number of free entries.\ndts case needs to modify the maximum value of switch rule to a proper value\n\n\nSigned-off-by: Qin Sun <qinx.sun@intel.com>\n---\n test_plans/cvl_limit_value_test_test_plan.rst | 14 +++++++-------\n 1 file changed, 7 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/test_plans/cvl_limit_value_test_test_plan.rst b/test_plans/cvl_limit_value_test_test_plan.rst\nindex 9cb0cf09..9fec36f2 100644\n--- a/test_plans/cvl_limit_value_test_test_plan.rst\n+++ b/test_plans/cvl_limit_value_test_test_plan.rst\n@@ -556,14 +556,14 @@ Description: 32k switch filter rules can be created on a CVL card,\n and all PFs and VFs share the 32k rules. But the system will first create\n some MAC_VLAN rules in switch table, and as the number of rules increased,\n the hash conflicts in the switch filter table are increased, so we can\n-create a total of 32563 switch filter rules on a DCF.\n+create a total of 32500 switch filter rules on a DCF.\n \n-1. create 32563 rules with the same pattern, but different input set::\n+1. create 32500 rules with the same pattern, but different input set::\n \n      testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.0.0 / end actions vf id 1 / end\n      testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.0.1 / end actions vf id 1 / end\n      ......\n-     testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.127.177 / end actions vf id 1 / end\n+     testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.127.114 / end actions vf id 1 / end\n      testpmd> flow list 0\n \n    check the rules exist in the list.\n@@ -584,14 +584,14 @@ create a total of 32563 switch filter rules on a DCF.\n \n    check the rule in step 2 not exists in the list.\n \n-4. send 32563 matched packets for rule 0-32562::\n+4. send 32500 matched packets for rule 0-32499::\n \n      sendp([Ether(dst=\"68:05:ca:8d:ed:a8\")/IP(src=\"192.168.0.0\")/TCP(sport=25,dport=23)/(\"X\"*480)], iface=\"ens786f0\", count=1)\n      sendp([Ether(dst=\"68:05:ca:8d:ed:a8\")/IP(src=\"192.168.0.1\")/TCP(sport=25,dport=23)/(\"X\"*480)], iface=\"ens786f0\", count=1)\n      ......\n-     sendp([Ether(dst=\"68:05:ca:8d:ed:a8\")/IP(src=\"192.168.127.177\")/TCP(sport=25,dport=23)/(\"X\"*480)], iface=\"ens786f0\", count=1)\n+     sendp([Ether(dst=\"68:05:ca:8d:ed:a8\")/IP(src=\"192.168.127.114\")/TCP(sport=25,dport=23)/(\"X\"*480)], iface=\"ens786f0\", count=1)\n \n-   check port 1 receive the 32563 packets.\n+   check port 1 receive the 32500 packets.\n    send 1 mismatched packet::\n \n      sendp([Ether(dst=\"68:05:ca:8d:ed:a8\")/IP(src=\"192.167.0.1\")/TCP(sport=25,dport=23)/(\"X\"*480)], iface=\"ens786f0\", count=1)\n@@ -604,4 +604,4 @@ create a total of 32563 switch filter rules on a DCF.\n      testpmd> flow list 0\n \n    check the rules not exist in the list.\n-   send 32563 matched packets, check the packets are not to port 1.\n+   send 32500 matched packets, check the packets are not to port 1.\n",
    "prefixes": [
        "V1",
        "2/2"
    ]
}