Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/62001/?format=api
https://patches.dpdk.org/api/patches/62001/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20191025143314.11162-6-pbhagavatula@marvell.com/", "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", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20191025143314.11162-6-pbhagavatula@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20191025143314.11162-6-pbhagavatula@marvell.com", "date": "2019-10-25T14:33:12", "name": "[v13,5/6] examples/l2fwd: disable ptype parsing", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "a25c0b0a4fc337247e5a07b046300273cabd70c3", "submitter": { "id": 1183, "url": "https://patches.dpdk.org/api/people/1183/?format=api", "name": "Pavan Nikhilesh Bhagavatula", "email": "pbhagavatula@marvell.com" }, "delegate": { "id": 319, "url": "https://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20191025143314.11162-6-pbhagavatula@marvell.com/mbox/", "series": [ { "id": 7074, "url": "https://patches.dpdk.org/api/series/7074/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=7074", "date": "2019-10-25T14:33:07", "name": "ethdev: add new Rx offload flags", "version": 13, "mbox": "https://patches.dpdk.org/series/7074/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/62001/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/62001/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 87E311C23F;\n\tFri, 25 Oct 2019 16:34:01 +0200 (CEST)", "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n\t[67.231.148.174]) by dpdk.org (Postfix) with ESMTP id A530C1C221\n\tfor <dev@dpdk.org>; Fri, 25 Oct 2019 16:33:48 +0200 (CEST)", "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n\tby mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id\n\tx9PEPDAk026577; Fri, 25 Oct 2019 07:33:47 -0700", "from sc-exch02.marvell.com ([199.233.58.182])\n\tby mx0a-0016f401.pphosted.com with ESMTP id 2vt9u5vnwr-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); \n\tFri, 25 Oct 2019 07:33:47 -0700", "from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH02.marvell.com\n\t(10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3;\n\tFri, 25 Oct 2019 07:33:46 -0700", "from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com\n\t(10.93.176.83) with Microsoft SMTP Server id 15.0.1367.3 via Frontend\n\tTransport; Fri, 25 Oct 2019 07:33:46 -0700", "from BG-LT7430.marvell.com (unknown [10.28.17.85])\n\tby maili.marvell.com (Postfix) with ESMTP id 21F1C3F703F;\n\tFri, 25 Oct 2019 07:33:42 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n\th=from : to : cc :\n\tsubject : date : message-id : in-reply-to : references : mime-version\n\t: content-transfer-encoding : content-type; s=pfpt0818;\n\tbh=UW/XrRgtNcaHfa5jcbc/meALS3zwXAhpHZUV3qzAGmM=;\n\tb=GBL9S6IdjiXWbaTzmb85utTlmSebhGeQC2EyemMo9bZpUV6BbZe49oGbAUT881qhbUdx\n\t0UtL/L8/LfCm1jq1QRHZ3d5zkHjTIkuZMLjDafW5E8+xPuxw9t6T3B3lO4vt+D5+RBr4\n\thHOcb9wDROsujho+0BqRMrdWmPRGL1+/xXUb4K5AFWwuTjjqtlWQA6QHZ4ZaAbzH1yNL\n\tLfNHvszNktizVjie/n3qZiSxjFfTYmh5dJxzNfsaf832Knt6YCFFRBDu+b8f/VvpKmNX\n\tJuz9oRNQAp2RDHXpW4Tz1QrNEmg4uNUldEQ+VD5YEVmko4KsfdURYNe5XQRete+7t9tG\n\tKQ== ", "From": "<pbhagavatula@marvell.com>", "To": "<ferruh.yigit@intel.com>, <arybchenko@solarflare.com>,\n\t<jerinj@marvell.com>, Marko Kovacevic <marko.kovacevic@intel.com>,\n\tOri Kam\n\t<orika@mellanox.com>, Bruce Richardson <bruce.richardson@intel.com>,\n\t\"Radu\n\tNicolau\" <radu.nicolau@intel.com>, Akhil Goyal <akhil.goyal@nxp.com>, \n\t\"Tomasz Kantecki\" <tomasz.kantecki@intel.com>", "CC": "<dev@dpdk.org>, Pavan Nikhilesh <pbhagavatula@marvell.com>", "Date": "Fri, 25 Oct 2019 20:03:12 +0530", "Message-ID": "<20191025143314.11162-6-pbhagavatula@marvell.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20191025143314.11162-1-pbhagavatula@marvell.com>", "References": "<20191017120245.984-1-pbhagavatula@marvell.com>\n\t<20191025143314.11162-1-pbhagavatula@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.95,1.0.8\n\tdefinitions=2019-10-25_08:2019-10-25,2019-10-25 signatures=0", "Subject": "[dpdk-dev] [PATCH v13 5/6] examples/l2fwd: disable ptype parsing", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "From: Pavan Nikhilesh <pbhagavatula@marvell.com>\n\nDisable packet type parsing as l2fwd doesn't rely on packet types.\n\nSigned-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>\n---\n examples/l2fwd/Makefile | 1 +\n examples/l2fwd/main.c | 2 ++\n examples/l2fwd/meson.build | 1 +\n 3 files changed, 4 insertions(+)", "diff": "diff --git a/examples/l2fwd/Makefile b/examples/l2fwd/Makefile\nindex 230352093..123e6161c 100644\n--- a/examples/l2fwd/Makefile\n+++ b/examples/l2fwd/Makefile\n@@ -51,6 +51,7 @@ include $(RTE_SDK)/mk/rte.vars.mk\n \n CFLAGS += -O3\n CFLAGS += $(WERROR_FLAGS)\n+CFLAGS += -DALLOW_EXPERIMENTAL_API\n \n include $(RTE_SDK)/mk/rte.extapp.mk\n endif\ndiff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c\nindex d7bcbfae7..b2fee8d86 100644\n--- a/examples/l2fwd/main.c\n+++ b/examples/l2fwd/main.c\n@@ -713,6 +713,8 @@ main(int argc, char **argv)\n \t\t\t\"Cannot set error callback for tx buffer on port %u\\n\",\n \t\t\t\t portid);\n \n+\t\trte_eth_dev_set_supported_ptypes(portid, RTE_PTYPE_UNKNOWN,\n+\t\t\t\t\t\t NULL, 0);\n \t\t/* Start device */\n \t\tret = rte_eth_dev_start(portid);\n \t\tif (ret < 0)\ndiff --git a/examples/l2fwd/meson.build b/examples/l2fwd/meson.build\nindex c34e11e36..2b0a25036 100644\n--- a/examples/l2fwd/meson.build\n+++ b/examples/l2fwd/meson.build\n@@ -6,6 +6,7 @@\n # To build this example as a standalone application with an already-installed\n # DPDK instance, use 'make'\n \n+allow_experimental_apis = true\n sources = files(\n \t'main.c'\n )\n", "prefixes": [ "v13", "5/6" ] }{ "id": 62001, "url": "