Show a patch.

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

{
    "id": 335,
    "url": "https://patches.dpdk.org/api/patches/335/?format=api",
    "web_url": "https://patches.dpdk.org/patch/335/",
    "project": {
        "id": 1,
        "url": "https://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"
    },
    "msgid": "<7F861DC0615E0C47A872E6F3C5FCDDBD011A98F1@BPXM14GP.gisp.nec.co.jp>",
    "date": "2014-09-11T07:47:12",
    "name": "[dpdk-dev,memnic,2/7] pmd: remove needless assignment",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "699cf8f4cfe443dcc85e18e441ef142ca1078c09",
    "submitter": {
        "id": 38,
        "url": "https://patches.dpdk.org/api/people/38/?format=api",
        "name": "Hiroshi Shimamoto",
        "email": "h-shimamoto@ct.jp.nec.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/patch/335/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/335/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/335/checks/",
    "tags": {},
    "headers": {
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Content-Language": "ja-JP",
        "Accept-Language": "ja-JP, en-US",
        "Thread-Topic": "[memnic PATCH 2/7] pmd: remove needless assignment",
        "To": "\"dev@dpdk.org\" <dev@dpdk.org>",
        "Thread-Index": "Ac/NlJDf09lKg/lyQMKmBVsswOShhw==",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Message-ID": "<7F861DC0615E0C47A872E6F3C5FCDDBD011A98F1@BPXM14GP.gisp.nec.co.jp>",
        "X-BeenThere": "dev@dpdk.org",
        "x-originating-ip": "[10.205.5.123]",
        "Subject": "[dpdk-dev] [memnic PATCH 2/7] pmd: remove needless assignment",
        "Cc": "Hayato Momma <h-momma@ce.jp.nec.com>",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "X-MS-TNEF-Correlator": "",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Date": "Thu, 11 Sep 2014 07:47:12 +0000",
        "Precedence": "list",
        "From": "Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>",
        "X-MS-Has-Attach": "",
        "Content-Transfer-Encoding": "quoted-printable",
        "MIME-Version": "1.0",
        "Errors-To": "dev-bounces@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 995C95901;\n\tThu, 11 Sep 2014 09:48:45 +0200 (CEST)",
            "from tyo202.gate.nec.co.jp (TYO202.gate.nec.co.jp [210.143.35.52])\n\tby dpdk.org (Postfix) with ESMTP id 3951B2E8B\n\tfor <dev@dpdk.org>; Thu, 11 Sep 2014 09:48:43 +0200 (CEST)",
            "from mailgate3.nec.co.jp ([10.7.69.195])\n\tby tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id s8B7rtIN010964\n\tfor <dev@dpdk.org>; Thu, 11 Sep 2014 16:53:55 +0900 (JST)",
            "from mailsv3.nec.co.jp (imss61.nec.co.jp [10.7.69.156]) by\n\tmailgate3.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) with ESMTP\n\tid s8B7rtx03416 for <dev@dpdk.org>;\n\tThu, 11 Sep 2014 16:53:55 +0900 (JST)",
            "from mail03.kamome.nec.co.jp (mail03.kamome.nec.co.jp [10.25.43.7])\n\tby mailsv3.nec.co.jp (8.13.8/8.13.4) with ESMTP id s8B7rsmf007714\n\tfor <dev@dpdk.org>; Thu, 11 Sep 2014 16:53:55 +0900 (JST)",
            "from bpxc99gp.gisp.nec.co.jp ([10.38.151.141] [10.38.151.141]) by\n\tmail02.kamome.nec.co.jp with ESMTP id BT-MMP-1861332;\n\tThu, 11 Sep 2014 16:47:13 +0900",
            "from BPXM14GP.gisp.nec.co.jp ([169.254.1.238]) by\n\tBPXC13GP.gisp.nec.co.jp ([10.38.151.141]) with mapi id 14.02.0328.011;\n\tThu, 11 Sep 2014 16:47:12 +0900"
        ],
        "X-Original-To": "patchwork@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Content-Type": "text/plain; charset=\"iso-2022-jp\"",
        "Delivered-To": "patchwork@dpdk.org",
        "X-Mailman-Version": "2.1.15"
    },
    "content": "From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>\n\nBecause these assignment are done in rte_pktmbuf_alloc(), get rid of them.\n\nSigned-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>\nReviewed-by: Hayato Momma <h-momma@ce.jp.nec.com>\n---\n pmd/pmd_memnic.c | 2 --\n 1 file changed, 2 deletions(-)",
    "diff": "diff --git a/pmd/pmd_memnic.c b/pmd/pmd_memnic.c\nindex 994ed0a..bbb5380 100644\n--- a/pmd/pmd_memnic.c\n+++ b/pmd/pmd_memnic.c\n@@ -308,8 +308,6 @@ static uint16_t memnic_recv_pkts(void *rx_queue,\n \n \t\trte_memcpy(rte_pktmbuf_mtod(mb, void *), p->data, p->len);\n \t\tmb->pkt.in_port = q->port_id;\n-\t\tmb->pkt.nb_segs = 1;\n-\t\tmb->pkt.next = NULL;\n \t\tmb->pkt.pkt_len = p->len;\n \t\tmb->pkt.data_len = p->len;\n \t\trx_pkts[nr] = mb;\n",
    "prefixes": [
        "dpdk-dev",
        "memnic",
        "2/7"
    ]
}