Show a patch.

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

{
    "id": 74518,
    "url": "https://patches.dpdk.org/api/patches/74518/",
    "web_url": "https://patches.dpdk.org/patch/74518/",
    "project": {
        "id": 3,
        "url": "https://patches.dpdk.org/api/projects/3/",
        "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/"
    },
    "msgid": "<20200721144148.42009-1-weix.ling@intel.com>",
    "date": "2020-07-21T14:41:48",
    "name": "[V1] tests/TestSuite_ipfrag: Add -w option in set_up_all method",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "fd1adc3ec619fdf4c5438bfb88244457e5258daf",
    "submitter": {
        "id": 1828,
        "url": "https://patches.dpdk.org/api/people/1828/",
        "name": "Ling, WeiX",
        "email": "weix.ling@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/patch/74518/mbox/",
    "series": [
        {
            "id": 11189,
            "url": "https://patches.dpdk.org/api/series/11189/",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=11189",
            "date": "2020-07-21T14:41:48",
            "name": "[V1] tests/TestSuite_ipfrag: Add -w option in set_up_all method",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/11189/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/74518/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/74518/checks/",
    "tags": {},
    "headers": {
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9688\"; a=\"214738998\"",
            "E=Sophos;i=\"5.75,377,1589266800\"; d=\"scan'208\";a=\"214738998\"",
            "E=Sophos;i=\"5.75,377,1589266800\"; d=\"scan'208\";a=\"301515970\""
        ],
        "IronPort-SDR": [
            "\n NvzrxF9c5N4ZjZb1kf5d/NOWB1fWQ4OMJx5AwxZ7RZzEsFIUbNyHLn5q0KPwkE/fY/1LXf0xIq\n cYaBvwPOb8rw==",
            "\n 36z2qo2i81QBuBWOOPzOG5F6S6lvFou9TzPG6wKcohBb3H5WL4WCT7VEm0LWrhOBNje4fxFmp4\n gB9eiyyj/XzQ=="
        ],
        "X-Amp-File-Uploaded": "False",
        "Precedence": "list",
        "X-Mailman-Version": "2.1.15",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "List-Post": "<mailto:dts@dpdk.org>",
        "X-BeenThere": "dts@dpdk.org",
        "List-Id": "test suite reviews and discussions <dts.dpdk.org>",
        "Subject": "[dts] [PATCH V1] tests/TestSuite_ipfrag: Add -w option in\n\tset_up_all method",
        "Sender": "\"dts\" <dts-bounces@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 91B5FA0526;\n\tTue, 21 Jul 2020 08:51:00 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 602D11C029;\n\tTue, 21 Jul 2020 08:51:00 +0200 (CEST)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id D53031BFEF\n for <dts@dpdk.org>; Tue, 21 Jul 2020 08:50:53 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 20 Jul 2020 23:50:52 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.222])\n by orsmga002.jf.intel.com with ESMTP; 20 Jul 2020 23:50:51 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "List-Archive": "<http://mails.dpdk.org/archives/dts/>",
        "X-Mailer": "git-send-email 2.17.1",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>",
        "X-ExtLoop1": "1",
        "Date": "Tue, 21 Jul 2020 14:41:48 +0000",
        "To": "dts@dpdk.org",
        "From": "lingwei <weix.ling@intel.com>",
        "Errors-To": "dts-bounces@dpdk.org",
        "Cc": "lingwei <weix.ling@intel.com>",
        "List-Help": "<mailto:dts-request@dpdk.org?subject=help>",
        "Message-Id": "<20200721144148.42009-1-weix.ling@intel.com>",
        "Return-Path": "<dts-bounces@dpdk.org>"
    },
    "content": "Because DPDK upgrade,if no -w option,ip_fragmentation will use all DPDK driver by default.\n\nSigned-off-by: lingwei <weix.ling@intel.com>\n---\n tests/TestSuite_ipfrag.py | 7 +++++--\n 1 file changed, 5 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_ipfrag.py b/tests/TestSuite_ipfrag.py\nindex cbcd5fe..8ad2e82 100644\n--- a/tests/TestSuite_ipfrag.py\n+++ b/tests/TestSuite_ipfrag.py\n@@ -129,10 +129,13 @@ l3fwd_ipv4_route_array[] = {\\\\\\n\"\n         numPortThread = len([P0, P1]) / len(cores)\n         result = True\n         errString = ''\n+        eal_param = \"\"\n+        for i in [P0, P1]:\n+            eal_param += \" -w %s\" % self.dut.ports_info[i]['pci']\n \n         # run ipv4_frag\n-        self.dut.send_expect(\"examples/ip_fragmentation/build/ip_fragmentation -c %s -n %d -- -p %s -q %s\" % (\n-            coremask, self.dut.get_memory_channels(), portmask, int(numPortThread)), \"Link Up\", 120)\n+        self.dut.send_expect(\"examples/ip_fragmentation/build/ip_fragmentation -c %s -n %d %s -- -p %s -q %s\" % (\n+            coremask, self.dut.get_memory_channels(), eal_param, portmask, int(numPortThread)), \"Link Up\", 120)\n \n         time.sleep(2)\n         self.txItf = self.tester.get_interface(self.tester.get_local_port(P0))\n",
    "prefixes": [
        "V1"
    ]
}