get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 60396,
    "url": "https://patches.dpdk.org/api/patches/60396/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20191002034716.6842-8-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": "<20191002034716.6842-8-pbhagavatula@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20191002034716.6842-8-pbhagavatula@marvell.com",
    "date": "2019-10-02T03:47:16",
    "name": "[v7,7/7] examples: disable Rx packet type parsing",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "2d350eb62eac5a8a38f058e8b9c80d21e608ccdb",
    "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/20191002034716.6842-8-pbhagavatula@marvell.com/mbox/",
    "series": [
        {
            "id": 6661,
            "url": "https://patches.dpdk.org/api/series/6661/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=6661",
            "date": "2019-10-02T03:47:10",
            "name": "[v7,1/7] ethdev: add set ptype function",
            "version": 7,
            "mbox": "https://patches.dpdk.org/series/6661/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/60396/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/60396/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 D2A261BEAE;\n\tWed,  2 Oct 2019 05:48:07 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n\t[67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 6C3881BEAD\n\tfor <dev@dpdk.org>; Wed,  2 Oct 2019 05:48:06 +0200 (CEST)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n\tby mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id\n\tx923ikZE014551; Tue, 1 Oct 2019 20:48:04 -0700",
            "from sc-exch03.marvell.com ([199.233.58.183])\n\tby mx0b-0016f401.pphosted.com with ESMTP id 2va71mnkn4-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); \n\tTue, 01 Oct 2019 20:48:03 -0700",
            "from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH03.marvell.com\n\t(10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3;\n\tTue, 1 Oct 2019 20:48:01 -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; Tue, 1 Oct 2019 20:48:01 -0700",
            "from BG-LT7430.marvell.com (unknown [10.28.17.20])\n\tby maili.marvell.com (Postfix) with ESMTP id 8B1B43F703F;\n\tTue,  1 Oct 2019 20:47:53 -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=7rA8KomyC88tDZENhB6LFRq+2rqOtKJ4G4WjsFjzZ8M=;\n\tb=UPJJCxrJoUZnueRf6WpL7D1A5iE1P57Dd9ZM9l5LB2liGSAsIpgt5ch9OmdSuH4Jfm75\n\to4gnOhAOTCMg7KuJE54pINYwXdLN1fmXcGswATOzhNlTcDWmRbw7tWDUX0YiXf3rBtt4\n\tv+n06TRJGLdwPZoHhpmvXnfgqaiboGr/8HgJezaPolRF00OnBv1zelzy8ioacdRYPhtf\n\tkOXWI4M9YF2D0x/2XgsvlWYLHaKN8+LUQq0LC5qKDu7lAdLc8dq55dpcrQjbOQ0PvXyi\n\t+l6olbgHEDNbXO/8MzYIJl7+Tq/yYDc0DgFjfEQqdw77AbPzV+4HNsgJtnzDkh9wbw5x\n\tnQ== ",
        "From": "<pbhagavatula@marvell.com>",
        "To": "<arybchenko@solarflare.com>, <jerinj@marvell.com>, Nicolas Chautru\n\t<nicolas.chautru@intel.com>, Chas Williams <chas3@att.com>, David Hunt\n\t<david.hunt@intel.com>, Harry van Haaren <harry.van.haaren@intel.com>,\n\t\"Marko Kovacevic\" <marko.kovacevic@intel.com>,\n\tOri Kam <orika@mellanox.com>, \"Bruce\n\tRichardson\" <bruce.richardson@intel.com>, Radu Nicolau\n\t<radu.nicolau@intel.com>, Akhil Goyal <akhil.goyal@nxp.com>,\n\tTomasz Kantecki <tomasz.kantecki@intel.com>,\n\tBernard Iremonger <bernard.iremonger@intel.com>,\n\tCristian Dumitrescu <cristian.dumitrescu@intel.com>, Konstantin Ananyev\n\t<konstantin.ananyev@intel.com>, Ferruh Yigit <ferruh.yigit@intel.com>,\n\t\"Declan Doherty\" <declan.doherty@intel.com>, Reshma Pattan\n\t<reshma.pattan@intel.com>, John McNamara <john.mcnamara@intel.com>,\n\tXiaoyun\n\tLi <xiaoyun.li@intel.com>, Jasvinder Singh <jasvinder.singh@intel.com>,\n\tByron Marohn <byron.marohn@intel.com>,\n\tYipeng Wang <yipeng1.wang@intel.com>,\n\t\"Maxime Coquelin\" <maxime.coquelin@redhat.com>, Tiwei Bie\n\t<tiwei.bie@intel.com>, Zhihong Wang <zhihong.wang@intel.com>",
        "CC": "<dev@dpdk.org>, Pavan Nikhilesh <pbhagavatula@marvell.com>",
        "Date": "Wed, 2 Oct 2019 09:17:16 +0530",
        "Message-ID": "<20191002034716.6842-8-pbhagavatula@marvell.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20191002034716.6842-1-pbhagavatula@marvell.com>",
        "References": "<20191001185219.5248-1-pbhagavatula@marvell.com>\n\t<20191002034716.6842-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-02_03:2019-10-01,2019-10-02 signatures=0",
        "Subject": "[dpdk-dev] [PATCH v7 7/7] examples: disable Rx packet type 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 in examples that don't use\n`rte_mbuf::packet_type` by setting ptype_mask as 0 in\n`rte_eth_dev_set_supported_ptypes`\n\nSigned-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>\n---\n examples/bbdev_app/main.c                  | 1 +\n examples/bond/main.c                       | 2 ++\n examples/distributor/Makefile              | 1 +\n examples/distributor/main.c                | 1 +\n examples/distributor/meson.build           | 1 +\n examples/eventdev_pipeline/main.c          | 2 ++\n examples/eventdev_pipeline/meson.build     | 1 +\n examples/exception_path/Makefile           | 1 +\n examples/exception_path/main.c             | 1 +\n examples/exception_path/meson.build        | 1 +\n examples/flow_classify/flow_classify.c     | 1 +\n examples/flow_filtering/Makefile           | 1 +\n examples/flow_filtering/main.c             | 1 +\n examples/flow_filtering/meson.build        | 1 +\n examples/ip_pipeline/link.c                | 1 +\n examples/ip_reassembly/Makefile            | 1 +\n examples/ip_reassembly/main.c              | 2 ++\n examples/ip_reassembly/meson.build         | 1 +\n examples/ipsec-secgw/ipsec-secgw.c         | 2 ++\n examples/ipv4_multicast/Makefile           | 1 +\n examples/ipv4_multicast/main.c             | 2 ++\n examples/ipv4_multicast/meson.build        | 1 +\n examples/kni/main.c                        | 1 +\n examples/l2fwd-cat/Makefile                | 1 +\n examples/l2fwd-cat/l2fwd-cat.c             | 1 +\n examples/l2fwd-cat/meson.build             | 1 +\n examples/l2fwd-crypto/main.c               | 2 ++\n examples/l2fwd-jobstats/Makefile           | 1 +\n examples/l2fwd-jobstats/main.c             | 2 ++\n examples/l2fwd-jobstats/meson.build        | 1 +\n examples/l2fwd-keepalive/Makefile          | 1 +\n examples/l2fwd-keepalive/main.c            | 2 ++\n examples/l2fwd-keepalive/meson.build       | 1 +\n examples/l2fwd/Makefile                    | 1 +\n examples/l2fwd/main.c                      | 2 ++\n examples/l2fwd/meson.build                 | 1 +\n examples/l3fwd-acl/Makefile                | 1 +\n examples/l3fwd-acl/main.c                  | 2 ++\n examples/l3fwd-acl/meson.build             | 1 +\n examples/l3fwd-vf/Makefile                 | 1 +\n examples/l3fwd-vf/main.c                   | 2 ++\n examples/l3fwd-vf/meson.build              | 1 +\n examples/link_status_interrupt/Makefile    | 1 +\n examples/link_status_interrupt/main.c      | 2 ++\n examples/link_status_interrupt/meson.build | 1 +\n examples/load_balancer/Makefile            | 1 +\n examples/load_balancer/init.c              | 2 ++\n examples/load_balancer/meson.build         | 1 +\n examples/packet_ordering/Makefile          | 1 +\n examples/packet_ordering/main.c            | 1 +\n examples/packet_ordering/meson.build       | 1 +\n examples/ptpclient/Makefile                | 1 +\n examples/ptpclient/meson.build             | 1 +\n examples/ptpclient/ptpclient.c             | 1 +\n examples/qos_meter/Makefile                | 1 +\n examples/qos_meter/main.c                  | 2 ++\n examples/qos_meter/meson.build             | 1 +\n examples/qos_sched/Makefile                | 1 +\n examples/qos_sched/init.c                  | 1 +\n examples/qos_sched/meson.build             | 1 +\n examples/quota_watermark/qw/Makefile       | 1 +\n examples/quota_watermark/qw/init.c         | 1 +\n examples/rxtx_callbacks/main.c             | 1 +\n examples/server_node_efd/server/Makefile   | 1 +\n examples/server_node_efd/server/init.c     | 1 +\n examples/skeleton/Makefile                 | 1 +\n examples/skeleton/basicfwd.c               | 1 +\n examples/skeleton/meson.build              | 1 +\n examples/tep_termination/Makefile          | 1 +\n examples/tep_termination/meson.build       | 1 +\n examples/tep_termination/vxlan_setup.c     | 1 +\n examples/vhost/Makefile                    | 1 +\n examples/vhost/main.c                      | 1 +\n examples/vm_power_manager/Makefile         | 1 +\n examples/vm_power_manager/main.c           | 1 +\n examples/vm_power_manager/meson.build      | 1 +\n examples/vmdq/Makefile                     | 1 +\n examples/vmdq/main.c                       | 1 +\n examples/vmdq/meson.build                  | 1 +\n examples/vmdq_dcb/Makefile                 | 1 +\n examples/vmdq_dcb/main.c                   | 1 +\n examples/vmdq_dcb/meson.build              | 1 +\n 82 files changed, 96 insertions(+)",
    "diff": "diff --git a/examples/bbdev_app/main.c b/examples/bbdev_app/main.c\nindex 9acf666dc..277725a6b 100644\n--- a/examples/bbdev_app/main.c\n+++ b/examples/bbdev_app/main.c\n@@ -478,6 +478,7 @@ initialize_ports(struct app_config_params *app_params,\n \t}\n \n \trte_eth_promiscuous_enable(port_id);\n+\trte_eth_dev_set_supported_ptypes(port_id, RTE_PTYPE_UNKNOWN, NULL, 0);\n \n \trte_eth_macaddr_get(port_id, &bbdev_port_eth_addr);\n \tprint_mac(port_id, &bbdev_port_eth_addr);\ndiff --git a/examples/bond/main.c b/examples/bond/main.c\nindex 1c0df9d46..f92104908 100644\n--- a/examples/bond/main.c\n+++ b/examples/bond/main.c\n@@ -195,6 +195,7 @@ slave_port_init(uint16_t portid, struct rte_mempool *mbuf_pool)\n \t\trte_exit(retval, \"port %u: TX queue 0 setup failed (res=%d)\",\n \t\t\t\tportid, retval);\n \n+\trte_eth_dev_set_supported_ptypes(portid, RTE_PTYPE_UNKNOWN, NULL, 0);\n \tretval  = rte_eth_dev_start(portid);\n \tif (retval < 0)\n \t\trte_exit(retval,\n@@ -271,6 +272,7 @@ bond_port_init(struct rte_mempool *mbuf_pool)\n \t\trte_exit(retval, \"port %u: TX queue 0 setup failed (res=%d)\",\n \t\t\t\tBOND_PORT, retval);\n \n+\trte_eth_dev_set_supported_ptypes(BOND_PORT, RTE_PTYPE_UNKNOWN, NULL, 0);\n \tretval  = rte_eth_dev_start(BOND_PORT);\n \tif (retval < 0)\n \t\trte_exit(retval, \"Start port %d failed (res=%d)\", BOND_PORT, retval);\ndiff --git a/examples/distributor/Makefile b/examples/distributor/Makefile\nindex bac8d5578..a2a477279 100644\n--- a/examples/distributor/Makefile\n+++ b/examples/distributor/Makefile\n@@ -50,6 +50,7 @@ RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.conf\n include $(RTE_SDK)/mk/rte.vars.mk\n \n CFLAGS += $(WERROR_FLAGS)\n+CFLAGS += -DALLOW_EXPERIMENTAL_API\n \n # workaround for a gcc bug with noreturn attribute\n # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\ndiff --git a/examples/distributor/main.c b/examples/distributor/main.c\nindex 81d7ca61d..35930d8a3 100644\n--- a/examples/distributor/main.c\n+++ b/examples/distributor/main.c\n@@ -162,6 +162,7 @@ port_init(uint16_t port, struct rte_mempool *mbuf_pool)\n \t\t\treturn retval;\n \t}\n \n+\trte_eth_dev_set_supported_ptypes(port, RTE_PTYPE_UNKNOWN, NULL, 0);\n \tretval = rte_eth_dev_start(port);\n \tif (retval < 0)\n \t\treturn retval;\ndiff --git a/examples/distributor/meson.build b/examples/distributor/meson.build\nindex 26f108d65..c2976f6bd 100644\n--- a/examples/distributor/meson.build\n+++ b/examples/distributor/meson.build\n@@ -10,6 +10,7 @@\n build = dpdk_conf.has('RTE_LIBRTE_POWER')\n \n deps += ['distributor', 'power']\n+allow_experimental_apis = true\n sources = files(\n \t'main.c'\n )\ndiff --git a/examples/eventdev_pipeline/main.c b/examples/eventdev_pipeline/main.c\nindex a73b61d59..66b6420f9 100644\n--- a/examples/eventdev_pipeline/main.c\n+++ b/examples/eventdev_pipeline/main.c\n@@ -393,6 +393,8 @@ main(int argc, char **argv)\n \n \t/* Start the Ethernet port. */\n \tRTE_ETH_FOREACH_DEV(portid) {\n+\t\trte_eth_dev_set_supported_ptypes(portid, RTE_PTYPE_UNKNOWN,\n+\t\t\t\t\t\t NULL, 0);\n \t\terr = rte_eth_dev_start(portid);\n \t\tif (err < 0)\n \t\t\trte_exit(EXIT_FAILURE, \"Error starting ethdev %d\\n\",\ndiff --git a/examples/eventdev_pipeline/meson.build b/examples/eventdev_pipeline/meson.build\nindex a54c35aa7..0fc916b05 100644\n--- a/examples/eventdev_pipeline/meson.build\n+++ b/examples/eventdev_pipeline/meson.build\n@@ -7,6 +7,7 @@\n # DPDK instance, use 'make'\n \n deps += 'eventdev'\n+allow_experimental_apis = true\n sources = files(\n \t'main.c',\n \t'pipeline_worker_generic.c',\ndiff --git a/examples/exception_path/Makefile b/examples/exception_path/Makefile\nindex 90c7f133a..a7c961276 100644\n--- a/examples/exception_path/Makefile\n+++ b/examples/exception_path/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 \ndiff --git a/examples/exception_path/main.c b/examples/exception_path/main.c\nindex 0d79e5a24..0165e4553 100644\n--- a/examples/exception_path/main.c\n+++ b/examples/exception_path/main.c\n@@ -464,6 +464,7 @@ init_port(uint16_t port)\n \t\tFATAL_ERROR(\"Could not setup up TX queue for port%u (%d)\",\n \t\t\t\tport, ret);\n \n+\trte_eth_dev_set_supported_ptypes(port, RTE_PTYPE_UNKNOWN, NULL, 0);\n \tret = rte_eth_dev_start(port);\n \tif (ret < 0)\n \t\tFATAL_ERROR(\"Could not start port%u (%d)\", port, ret);\ndiff --git a/examples/exception_path/meson.build b/examples/exception_path/meson.build\nindex c34e11e36..2b0a25036 100644\n--- a/examples/exception_path/meson.build\n+++ b/examples/exception_path/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 )\ndiff --git a/examples/flow_classify/flow_classify.c b/examples/flow_classify/flow_classify.c\nindex bc7f43ea9..f34d27428 100644\n--- a/examples/flow_classify/flow_classify.c\n+++ b/examples/flow_classify/flow_classify.c\n@@ -231,6 +231,7 @@ port_init(uint8_t port, struct rte_mempool *mbuf_pool)\n \t}\n \n \t/* Start the Ethernet port. */\n+\trte_eth_dev_set_supported_ptypes(port, RTE_PTYPE_UNKNOWN, NULL, 0);\n \tretval = rte_eth_dev_start(port);\n \tif (retval < 0)\n \t\treturn retval;\ndiff --git a/examples/flow_filtering/Makefile b/examples/flow_filtering/Makefile\nindex a63a75555..793a08fae 100644\n--- a/examples/flow_filtering/Makefile\n+++ b/examples/flow_filtering/Makefile\n@@ -49,6 +49,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 \ndiff --git a/examples/flow_filtering/main.c b/examples/flow_filtering/main.c\nindex a0487be77..4b8712324 100644\n--- a/examples/flow_filtering/main.c\n+++ b/examples/flow_filtering/main.c\n@@ -176,6 +176,7 @@ init_port(void)\n \t}\n \n \trte_eth_promiscuous_enable(port_id);\n+\trte_eth_dev_set_supported_ptypes(port_id, RTE_PTYPE_UNKNOWN, NULL, 0);\n \tret = rte_eth_dev_start(port_id);\n \tif (ret < 0) {\n \t\trte_exit(EXIT_FAILURE,\ndiff --git a/examples/flow_filtering/meson.build b/examples/flow_filtering/meson.build\nindex 407795c42..6f5d1b08a 100644\n--- a/examples/flow_filtering/meson.build\n+++ b/examples/flow_filtering/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 )\ndiff --git a/examples/ip_pipeline/link.c b/examples/ip_pipeline/link.c\nindex 787eb866a..7d02962e3 100644\n--- a/examples/ip_pipeline/link.c\n+++ b/examples/ip_pipeline/link.c\n@@ -205,6 +205,7 @@ link_create(const char *name, struct link_params *params)\n \t\t\treturn NULL;\n \t}\n \n+\trte_eth_dev_set_supported_ptypes(port_id, RTE_PTYPE_UNKNOWN, NULL, 0);\n \t/* Port start */\n \tstatus = rte_eth_dev_start(port_id);\n \tif (status < 0)\ndiff --git a/examples/ip_reassembly/Makefile b/examples/ip_reassembly/Makefile\nindex 0b1a904e0..19c462388 100644\n--- a/examples/ip_reassembly/Makefile\n+++ b/examples/ip_reassembly/Makefile\n@@ -52,6 +52,7 @@ include $(RTE_SDK)/mk/rte.vars.mk\n \n CFLAGS += -O3\n CFLAGS += $(WERROR_FLAGS)\n+CFLAGS += -DALLOW_EXPERIMENTAL_API\n \n # workaround for a gcc bug with noreturn attribute\n # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\ndiff --git a/examples/ip_reassembly/main.c b/examples/ip_reassembly/main.c\nindex 38b39be6b..f2c28ef76 100644\n--- a/examples/ip_reassembly/main.c\n+++ b/examples/ip_reassembly/main.c\n@@ -1158,6 +1158,8 @@ main(int argc, char **argv)\n \t\tif ((enabled_port_mask & (1 << portid)) == 0) {\n \t\t\tcontinue;\n \t\t}\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/ip_reassembly/meson.build b/examples/ip_reassembly/meson.build\nindex 8ebd48291..8a667c265 100644\n--- a/examples/ip_reassembly/meson.build\n+++ b/examples/ip_reassembly/meson.build\n@@ -7,6 +7,7 @@\n # DPDK instance, use 'make'\n \n deps += ['lpm', 'ip_frag']\n+allow_experimental_apis = true\n sources = files(\n \t'main.c'\n )\ndiff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c\nindex 0d1fd6af6..2aceaf549 100644\n--- a/examples/ipsec-secgw/ipsec-secgw.c\n+++ b/examples/ipsec-secgw/ipsec-secgw.c\n@@ -2448,6 +2448,8 @@ main(int32_t argc, char **argv)\n \t\tif ((enabled_port_mask & (1 << portid)) == 0)\n \t\t\tcontinue;\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/*\n \t\t * Start device\n \t\t * note: device must be started before a flow rule\ndiff --git a/examples/ipv4_multicast/Makefile b/examples/ipv4_multicast/Makefile\nindex 5f8a67dd4..5171f7ab2 100644\n--- a/examples/ipv4_multicast/Makefile\n+++ b/examples/ipv4_multicast/Makefile\n@@ -52,6 +52,7 @@ include $(RTE_SDK)/mk/rte.vars.mk\n \n CFLAGS += -O3\n CFLAGS += $(WERROR_FLAGS)\n+CFLAGS += -DALLOW_EXPERIMENTAL_API\n \n # workaround for a gcc bug with noreturn attribute\n # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\ndiff --git a/examples/ipv4_multicast/main.c b/examples/ipv4_multicast/main.c\nindex 72eaadc51..3d327a00b 100644\n--- a/examples/ipv4_multicast/main.c\n+++ b/examples/ipv4_multicast/main.c\n@@ -765,6 +765,8 @@ main(int argc, char **argv)\n \t\t\tqconf->tx_queue_id[portid] = queueid;\n \t\t\tqueueid++;\n \t\t}\n+\t\trte_eth_dev_set_supported_ptypes(portid, RTE_PTYPE_UNKNOWN,\n+\t\t\t\t\t\t NULL, 0);\n \t\trte_eth_allmulticast_enable(portid);\n \t\t/* Start device */\n \t\tret = rte_eth_dev_start(portid);\ndiff --git a/examples/ipv4_multicast/meson.build b/examples/ipv4_multicast/meson.build\nindex d9e4c7c21..6969e2c54 100644\n--- a/examples/ipv4_multicast/meson.build\n+++ b/examples/ipv4_multicast/meson.build\n@@ -7,6 +7,7 @@\n # DPDK instance, use 'make'\n \n deps += 'hash'\n+allow_experimental_apis = true\n sources = files(\n \t'main.c'\n )\ndiff --git a/examples/kni/main.c b/examples/kni/main.c\nindex 4710d7176..99f500e25 100644\n--- a/examples/kni/main.c\n+++ b/examples/kni/main.c\n@@ -625,6 +625,7 @@ init_port(uint16_t port)\n \t\trte_exit(EXIT_FAILURE, \"Could not setup up TX queue for \"\n \t\t\t\t\"port%u (%d)\\n\", (unsigned)port, ret);\n \n+\trte_eth_dev_set_supported_ptypes(port, RTE_PTYPE_UNKNOWN, NULL, 0);\n \tret = rte_eth_dev_start(port);\n \tif (ret < 0)\n \t\trte_exit(EXIT_FAILURE, \"Could not start port%u (%d)\\n\",\ndiff --git a/examples/l2fwd-cat/Makefile b/examples/l2fwd-cat/Makefile\nindex c1960d6d3..d6a25e42a 100644\n--- a/examples/l2fwd-cat/Makefile\n+++ b/examples/l2fwd-cat/Makefile\n@@ -66,6 +66,7 @@ endif\n EXTRA_CFLAGS += -O3 -g -Wfatal-errors\n \n CFLAGS += -I$(PQOS_INSTALL_PATH)/../include\n+CFLAGS += -DALLOW_EXPERIMENTAL_API\n \n LDLIBS += -L$(PQOS_INSTALL_PATH)\n LDLIBS += -lpqos\ndiff --git a/examples/l2fwd-cat/l2fwd-cat.c b/examples/l2fwd-cat/l2fwd-cat.c\nindex b34b40a00..a54a1ed25 100644\n--- a/examples/l2fwd-cat/l2fwd-cat.c\n+++ b/examples/l2fwd-cat/l2fwd-cat.c\n@@ -67,6 +67,7 @@ port_init(uint16_t port, struct rte_mempool *mbuf_pool)\n \t\t\treturn retval;\n \t}\n \n+\trte_eth_dev_set_supported_ptypes(port, RTE_PTYPE_UNKNOWN, NULL, 0);\n \t/* Start the Ethernet port. */\n \tretval = rte_eth_dev_start(port);\n \tif (retval < 0)\ndiff --git a/examples/l2fwd-cat/meson.build b/examples/l2fwd-cat/meson.build\nindex 4e2777a03..37c96040d 100644\n--- a/examples/l2fwd-cat/meson.build\n+++ b/examples/l2fwd-cat/meson.build\n@@ -10,6 +10,7 @@ pqos = cc.find_library('pqos', required: false)\n build = pqos.found()\n ext_deps += pqos\n cflags += '-I/usr/local/include' # assume pqos lib installed in /usr/local\n+allow_experimental_apis = true\n sources = files(\n \t'cat.c', 'l2fwd-cat.c'\n )\ndiff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c\nindex 3fe2ba725..5071ef389 100644\n--- a/examples/l2fwd-crypto/main.c\n+++ b/examples/l2fwd-crypto/main.c\n@@ -2559,6 +2559,8 @@ initialize_ports(struct l2fwd_crypto_options *options)\n \t\t\treturn -1;\n \t\t}\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\tretval = rte_eth_dev_start(portid);\n \t\tif (retval < 0) {\ndiff --git a/examples/l2fwd-jobstats/Makefile b/examples/l2fwd-jobstats/Makefile\nindex 729a39e93..09834e979 100644\n--- a/examples/l2fwd-jobstats/Makefile\n+++ b/examples/l2fwd-jobstats/Makefile\n@@ -52,6 +52,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-jobstats/main.c b/examples/l2fwd-jobstats/main.c\nindex 77e44dc82..03d986a68 100644\n--- a/examples/l2fwd-jobstats/main.c\n+++ b/examples/l2fwd-jobstats/main.c\n@@ -902,6 +902,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-jobstats/meson.build b/examples/l2fwd-jobstats/meson.build\nindex 1ffd484e2..3653aa7ec 100644\n--- a/examples/l2fwd-jobstats/meson.build\n+++ b/examples/l2fwd-jobstats/meson.build\n@@ -7,6 +7,7 @@\n # DPDK instance, use 'make'\n \n deps += ['jobstats', 'timer']\n+allow_experimental_apis = true\n sources = files(\n \t'main.c'\n )\ndiff --git a/examples/l2fwd-keepalive/Makefile b/examples/l2fwd-keepalive/Makefile\nindex 37de27a6f..584257ae2 100644\n--- a/examples/l2fwd-keepalive/Makefile\n+++ b/examples/l2fwd-keepalive/Makefile\n@@ -53,6 +53,7 @@ include $(RTE_SDK)/mk/rte.vars.mk\n \n CFLAGS += -O3\n CFLAGS += $(WERROR_FLAGS)\n+CFLAGS += -DALLOW_EXPERIMENTAL_API\n LDFLAGS += -lrt\n \n include $(RTE_SDK)/mk/rte.extapp.mk\ndiff --git a/examples/l2fwd-keepalive/main.c b/examples/l2fwd-keepalive/main.c\nindex 9831a4323..8d3e5eadd 100644\n--- a/examples/l2fwd-keepalive/main.c\n+++ b/examples/l2fwd-keepalive/main.c\n@@ -696,6 +696,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-keepalive/meson.build b/examples/l2fwd-keepalive/meson.build\nindex 6f7b007e1..2dffffaaa 100644\n--- a/examples/l2fwd-keepalive/meson.build\n+++ b/examples/l2fwd-keepalive/meson.build\n@@ -8,6 +8,7 @@\n \n ext_deps += cc.find_library('rt')\n deps += 'timer'\n+allow_experimental_apis = true\n sources = files(\n \t'main.c', 'shm.c'\n )\ndiff --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 1e2b14297..b7d6ee2ff 100644\n--- a/examples/l2fwd/main.c\n+++ b/examples/l2fwd/main.c\n@@ -694,6 +694,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 )\ndiff --git a/examples/l3fwd-acl/Makefile b/examples/l3fwd-acl/Makefile\nindex e2c989f71..df590f8e9 100644\n--- a/examples/l3fwd-acl/Makefile\n+++ b/examples/l3fwd-acl/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 # workaround for a gcc bug with noreturn attribute\n # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\ndiff --git a/examples/l3fwd-acl/main.c b/examples/l3fwd-acl/main.c\nindex 0c44df767..e113b1a4d 100644\n--- a/examples/l3fwd-acl/main.c\n+++ b/examples/l3fwd-acl/main.c\n@@ -2056,6 +2056,8 @@ main(int argc, char **argv)\n \t\tif ((enabled_port_mask & (1 << portid)) == 0)\n \t\t\tcontinue;\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/l3fwd-acl/meson.build b/examples/l3fwd-acl/meson.build\nindex 7096e00c1..68cebd6ce 100644\n--- a/examples/l3fwd-acl/meson.build\n+++ b/examples/l3fwd-acl/meson.build\n@@ -7,6 +7,7 @@\n # DPDK instance, use 'make'\n \n deps += ['acl', 'lpm', 'hash']\n+allow_experimental_apis = true\n sources = files(\n \t'main.c'\n )\ndiff --git a/examples/l3fwd-vf/Makefile b/examples/l3fwd-vf/Makefile\nindex 7b186a23c..db7f51f2f 100644\n--- a/examples/l3fwd-vf/Makefile\n+++ b/examples/l3fwd-vf/Makefile\n@@ -51,6 +51,7 @@ include $(RTE_SDK)/mk/rte.vars.mk\n \n CFLAGS += -O3 $(USER_FLAGS)\n CFLAGS += $(WERROR_FLAGS)\n+CFLAGS += -DALLOW_EXPERIMENTAL_API\n \n # workaround for a gcc bug with noreturn attribute\n # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\ndiff --git a/examples/l3fwd-vf/main.c b/examples/l3fwd-vf/main.c\nindex 572e74cf5..5bf70f52d 100644\n--- a/examples/l3fwd-vf/main.c\n+++ b/examples/l3fwd-vf/main.c\n@@ -1051,6 +1051,8 @@ main(int argc, char **argv)\n \t\tif ((enabled_port_mask & (1 << portid)) == 0) {\n \t\t\tcontinue;\n \t\t}\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/l3fwd-vf/meson.build b/examples/l3fwd-vf/meson.build\nindex 226286e74..00f3c38f4 100644\n--- a/examples/l3fwd-vf/meson.build\n+++ b/examples/l3fwd-vf/meson.build\n@@ -7,6 +7,7 @@\n # DPDK instance, use 'make'\n \n deps += ['lpm', 'hash']\n+allow_experimental_apis = true\n sources = files(\n \t'main.c'\n )\ndiff --git a/examples/link_status_interrupt/Makefile b/examples/link_status_interrupt/Makefile\nindex 97e5a14a8..6ddedd4de 100644\n--- a/examples/link_status_interrupt/Makefile\n+++ b/examples/link_status_interrupt/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/link_status_interrupt/main.c b/examples/link_status_interrupt/main.c\nindex 9cd4dc7a6..04da4732b 100644\n--- a/examples/link_status_interrupt/main.c\n+++ b/examples/link_status_interrupt/main.c\n@@ -676,6 +676,8 @@ main(int argc, char **argv)\n \t\t\trte_exit(EXIT_FAILURE, \"Cannot set error callback for \"\n \t\t\t\t\t\"tx buffer on port %u\\n\", (unsigned) 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/link_status_interrupt/meson.build b/examples/link_status_interrupt/meson.build\nindex c34e11e36..2b0a25036 100644\n--- a/examples/link_status_interrupt/meson.build\n+++ b/examples/link_status_interrupt/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 )\ndiff --git a/examples/load_balancer/Makefile b/examples/load_balancer/Makefile\nindex caae8a107..dcba9194c 100644\n--- a/examples/load_balancer/Makefile\n+++ b/examples/load_balancer/Makefile\n@@ -51,6 +51,7 @@ include $(RTE_SDK)/mk/rte.vars.mk\n \n CFLAGS += -O3 -g\n CFLAGS += $(WERROR_FLAGS)\n+CFLAGS += -DALLOW_EXPERIMENTAL_API\n \n # workaround for a gcc bug with noreturn attribute\n # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\ndiff --git a/examples/load_balancer/init.c b/examples/load_balancer/init.c\nindex 3ab7d0211..d49d61474 100644\n--- a/examples/load_balancer/init.c\n+++ b/examples/load_balancer/init.c\n@@ -496,6 +496,8 @@ app_init_nics(void)\n \t\t\t}\n \t\t}\n \n+\t\trte_eth_dev_set_supported_ptypes(port, RTE_PTYPE_UNKNOWN,\n+\t\t\t\t\t\t NULL, 0);\n \t\t/* Start port */\n \t\tret = rte_eth_dev_start(port);\n \t\tif (ret < 0) {\ndiff --git a/examples/load_balancer/meson.build b/examples/load_balancer/meson.build\nindex 4f7ac3999..19708974c 100644\n--- a/examples/load_balancer/meson.build\n+++ b/examples/load_balancer/meson.build\n@@ -7,6 +7,7 @@\n # DPDK instance, use 'make'\n \n deps += 'lpm'\n+allow_experimental_apis = true\n sources = files(\n \t'config.c', 'init.c', 'main.c', 'runtime.c'\n )\ndiff --git a/examples/packet_ordering/Makefile b/examples/packet_ordering/Makefile\nindex 51acaf7eb..9ba3fa9e8 100644\n--- a/examples/packet_ordering/Makefile\n+++ b/examples/packet_ordering/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/packet_ordering/main.c b/examples/packet_ordering/main.c\nindex 030e92299..59354fad5 100644\n--- a/examples/packet_ordering/main.c\n+++ b/examples/packet_ordering/main.c\n@@ -312,6 +312,7 @@ configure_eth_port(uint16_t port_id)\n \t\t\treturn ret;\n \t}\n \n+\trte_eth_dev_set_supported_ptypes(port_id, RTE_PTYPE_UNKNOWN, NULL, 0);\n \tret = rte_eth_dev_start(port_id);\n \tif (ret < 0)\n \t\treturn ret;\ndiff --git a/examples/packet_ordering/meson.build b/examples/packet_ordering/meson.build\nindex 6c2fccdcb..a3776946f 100644\n--- a/examples/packet_ordering/meson.build\n+++ b/examples/packet_ordering/meson.build\n@@ -7,6 +7,7 @@\n # DPDK instance, use 'make'\n \n deps += 'reorder'\n+allow_experimental_apis = true\n sources = files(\n \t'main.c'\n )\ndiff --git a/examples/ptpclient/Makefile b/examples/ptpclient/Makefile\nindex 89e2bacbd..f158d96b9 100644\n--- a/examples/ptpclient/Makefile\n+++ b/examples/ptpclient/Makefile\n@@ -50,6 +50,7 @@ RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.conf\n include $(RTE_SDK)/mk/rte.vars.mk\n \n CFLAGS += -O3\n+CFLAGS += -DALLOW_EXPERIMENTAL_API\n CFLAGS += $(WERROR_FLAGS)\n \n # workaround for a gcc bug with noreturn attribute\ndiff --git a/examples/ptpclient/meson.build b/examples/ptpclient/meson.build\nindex fa0cbe93c..d4171a218 100644\n--- a/examples/ptpclient/meson.build\n+++ b/examples/ptpclient/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'ptpclient.c'\n )\ndiff --git a/examples/ptpclient/ptpclient.c b/examples/ptpclient/ptpclient.c\nindex 31778fd95..e2cf4b136 100644\n--- a/examples/ptpclient/ptpclient.c\n+++ b/examples/ptpclient/ptpclient.c\n@@ -227,6 +227,7 @@ port_init(uint16_t port, struct rte_mempool *mbuf_pool)\n \t\t\treturn retval;\n \t}\n \n+\trte_eth_dev_set_supported_ptypes(port, RTE_PTYPE_UNKNOWN, NULL, 0);\n \t/* Start the Ethernet port. */\n \tretval = rte_eth_dev_start(port);\n \tif (retval < 0)\ndiff --git a/examples/qos_meter/Makefile b/examples/qos_meter/Makefile\nindex e5217cf7c..a1533d08f 100644\n--- a/examples/qos_meter/Makefile\n+++ b/examples/qos_meter/Makefile\n@@ -52,6 +52,7 @@ RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.conf\n include $(RTE_SDK)/mk/rte.vars.mk\n \n CFLAGS += -O3\n+CFLAGS += -DALLOW_EXPERIMENTAL_API\n CFLAGS += $(WERROR_FLAGS)\n \n # workaround for a gcc bug with noreturn attribute\ndiff --git a/examples/qos_meter/main.c b/examples/qos_meter/main.c\nindex da7afe8be..ade8e49c3 100644\n--- a/examples/qos_meter/main.c\n+++ b/examples/qos_meter/main.c\n@@ -419,10 +419,12 @@ main(int argc, char **argv)\n \n \trte_eth_tx_buffer_init(tx_buffer, PKT_TX_BURST_MAX);\n \n+\trte_eth_dev_set_supported_ptypes(port_rx, RTE_PTYPE_UNKNOWN, NULL, 0);\n \tret = rte_eth_dev_start(port_rx);\n \tif (ret < 0)\n \t\trte_exit(EXIT_FAILURE, \"Port %d start error (%d)\\n\", port_rx, ret);\n \n+\trte_eth_dev_set_supported_ptypes(port_tx, RTE_PTYPE_UNKNOWN, NULL, 0);\n \tret = rte_eth_dev_start(port_tx);\n \tif (ret < 0)\n \t\trte_exit(EXIT_FAILURE, \"Port %d start error (%d)\\n\", port_tx, ret);\ndiff --git a/examples/qos_meter/meson.build b/examples/qos_meter/meson.build\nindex ef7779f2f..10cd4bc79 100644\n--- a/examples/qos_meter/meson.build\n+++ b/examples/qos_meter/meson.build\n@@ -7,6 +7,7 @@\n # DPDK instance, use 'make'\n \n deps += 'meter'\n+allow_experimental_apis = true\n sources = files(\n \t'main.c', 'rte_policer.c'\n )\ndiff --git a/examples/qos_sched/Makefile b/examples/qos_sched/Makefile\nindex ce2d25371..7d3d3019f 100644\n--- a/examples/qos_sched/Makefile\n+++ b/examples/qos_sched/Makefile\n@@ -58,6 +58,7 @@ else\n \n CFLAGS += -O3\n CFLAGS += $(WERROR_FLAGS)\n+CFLAGS += -DALLOW_EXPERIMENTAL_API\n \n include $(RTE_SDK)/mk/rte.extapp.mk\n \ndiff --git a/examples/qos_sched/init.c b/examples/qos_sched/init.c\nindex b05206d5a..d165b3dd4 100644\n--- a/examples/qos_sched/init.c\n+++ b/examples/qos_sched/init.c\n@@ -138,6 +138,7 @@ app_init_port(uint16_t portid, struct rte_mempool *mp)\n \t\t\t \"rte_eth_tx_queue_setup: err=%d, port=%u queue=%d\\n\",\n \t\t\t ret, portid, 0);\n \n+\trte_eth_dev_set_supported_ptypes(portid, RTE_PTYPE_UNKNOWN, NULL, 0);\n \t/* Start device */\n \tret = rte_eth_dev_start(portid);\n \tif (ret < 0)\ndiff --git a/examples/qos_sched/meson.build b/examples/qos_sched/meson.build\nindex 289b81ce8..5101652af 100644\n--- a/examples/qos_sched/meson.build\n+++ b/examples/qos_sched/meson.build\n@@ -7,6 +7,7 @@\n # DPDK instance, use 'make'\n \n deps += ['sched', 'cfgfile']\n+allow_experimental_apis = true\n sources = files(\n \t'app_thread.c', 'args.c', 'cfg_file.c', 'cmdline.c',\n \t'init.c', 'main.c', 'stats.c'\ndiff --git a/examples/quota_watermark/qw/Makefile b/examples/quota_watermark/qw/Makefile\nindex 3f10f01c3..e06f4482b 100644\n--- a/examples/quota_watermark/qw/Makefile\n+++ b/examples/quota_watermark/qw/Makefile\n@@ -18,5 +18,6 @@ SRCS-y := args.c init.c main.c\n \n CFLAGS += -O3 -DQW_SOFTWARE_FC\n CFLAGS += $(WERROR_FLAGS)\n+CFLAGS += -DALLOW_EXPERIMENTAL_API\n \n include $(RTE_SDK)/mk/rte.extapp.mk\ndiff --git a/examples/quota_watermark/qw/init.c b/examples/quota_watermark/qw/init.c\nindex 5a0f64f45..4753eb900 100644\n--- a/examples/quota_watermark/qw/init.c\n+++ b/examples/quota_watermark/qw/init.c\n@@ -96,6 +96,7 @@ void configure_eth_port(uint16_t port_id)\n \t\t\t\t\"Failed to setup hardware flow control on port %u (error %d)\\n\",\n \t\t\t\t(unsigned int) port_id, ret);\n \n+\trte_eth_dev_set_supported_ptypes(port_id, RTE_PTYPE_UNKNOWN, NULL, 0);\n \t/* Start the port */\n \tret = rte_eth_dev_start(port_id);\n \tif (ret < 0)\ndiff --git a/examples/rxtx_callbacks/main.c b/examples/rxtx_callbacks/main.c\nindex dbcd9f4fc..8949f0d93 100644\n--- a/examples/rxtx_callbacks/main.c\n+++ b/examples/rxtx_callbacks/main.c\n@@ -152,6 +152,7 @@ port_init(uint16_t port, struct rte_mempool *mbuf_pool)\n \t\t\treturn retval;\n \t}\n \n+\trte_eth_dev_set_supported_ptypes(port, RTE_PTYPE_UNKNOWN, NULL, 0);\n \tretval  = rte_eth_dev_start(port);\n \tif (retval < 0)\n \t\treturn retval;\ndiff --git a/examples/server_node_efd/server/Makefile b/examples/server_node_efd/server/Makefile\nindex 4837bd3ea..acbd12ae2 100644\n--- a/examples/server_node_efd/server/Makefile\n+++ b/examples/server_node_efd/server/Makefile\n@@ -25,5 +25,6 @@ INC := $(sort $(wildcard *.h))\n \n CFLAGS += $(WERROR_FLAGS) -O3\n CFLAGS += -I$(SRCDIR)/../shared\n+CFLAGS += -DALLOW_EXPERIMENTAL_API\n \n include $(RTE_SDK)/mk/rte.extapp.mk\ndiff --git a/examples/server_node_efd/server/init.c b/examples/server_node_efd/server/init.c\nindex af5a18e28..bbea0c4c9 100644\n--- a/examples/server_node_efd/server/init.c\n+++ b/examples/server_node_efd/server/init.c\n@@ -149,6 +149,7 @@ init_port(uint16_t port_num)\n \n \trte_eth_promiscuous_enable(port_num);\n \n+\trte_eth_dev_set_supported_ptypes(port_num, RTE_PTYPE_UNKNOWN, NULL, 0);\n \tretval = rte_eth_dev_start(port_num);\n \tif (retval < 0)\n \t\treturn retval;\ndiff --git a/examples/skeleton/Makefile b/examples/skeleton/Makefile\nindex c5ac26029..0037d6b25 100644\n--- a/examples/skeleton/Makefile\n+++ b/examples/skeleton/Makefile\n@@ -50,6 +50,7 @@ RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.conf\n include $(RTE_SDK)/mk/rte.vars.mk\n \n CFLAGS += $(WERROR_FLAGS)\n+CFLAGS += -DALLOW_EXPERIMENTAL_API\n \n # workaround for a gcc bug with noreturn attribute\n # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\ndiff --git a/examples/skeleton/basicfwd.c b/examples/skeleton/basicfwd.c\nindex a8a8e98f0..423ce05f8 100644\n--- a/examples/skeleton/basicfwd.c\n+++ b/examples/skeleton/basicfwd.c\n@@ -76,6 +76,7 @@ port_init(uint16_t port, struct rte_mempool *mbuf_pool)\n \t\t\treturn retval;\n \t}\n \n+\trte_eth_dev_set_supported_ptypes(port, RTE_PTYPE_UNKNOWN, NULL, 0);\n \t/* Start the Ethernet port. */\n \tretval = rte_eth_dev_start(port);\n \tif (retval < 0)\ndiff --git a/examples/skeleton/meson.build b/examples/skeleton/meson.build\nindex 9bb9ec329..ef46b187e 100644\n--- a/examples/skeleton/meson.build\n+++ b/examples/skeleton/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'basicfwd.c'\n )\ndiff --git a/examples/tep_termination/Makefile b/examples/tep_termination/Makefile\nindex 31165bd92..586838676 100644\n--- a/examples/tep_termination/Makefile\n+++ b/examples/tep_termination/Makefile\n@@ -61,6 +61,7 @@ endif\n CFLAGS += -O3\n CFLAGS += $(WERROR_FLAGS)\n CFLAGS += -Wno-deprecated-declarations\n+CFLAGS += -DALLOW_EXPERIMENTAL_API\n \n include $(RTE_SDK)/mk/rte.extapp.mk\n endif\ndiff --git a/examples/tep_termination/meson.build b/examples/tep_termination/meson.build\nindex f65d68980..f40b1c0b8 100644\n--- a/examples/tep_termination/meson.build\n+++ b/examples/tep_termination/meson.build\n@@ -11,6 +11,7 @@ if not is_linux\n endif\n deps += ['hash', 'vhost']\n cflags += '-Wno-deprecated-declarations'\n+allow_experimental_apis = true\n sources = files(\n \t'main.c', 'vxlan.c', 'vxlan_setup.c'\n )\ndiff --git a/examples/tep_termination/vxlan_setup.c b/examples/tep_termination/vxlan_setup.c\nindex 9a0880002..219d3e215 100644\n--- a/examples/tep_termination/vxlan_setup.c\n+++ b/examples/tep_termination/vxlan_setup.c\n@@ -167,6 +167,7 @@ vxlan_port_init(uint16_t port, struct rte_mempool *mbuf_pool)\n \t\t\treturn retval;\n \t}\n \n+\trte_eth_dev_set_supported_ptypes(port, RTE_PTYPE_UNKNOWN, NULL, 0);\n \t/* Start the device. */\n \tretval  = rte_eth_dev_start(port);\n \tif (retval < 0)\ndiff --git a/examples/vhost/Makefile b/examples/vhost/Makefile\nindex f84b7f017..7722e81c7 100644\n--- a/examples/vhost/Makefile\n+++ b/examples/vhost/Makefile\n@@ -62,6 +62,7 @@ else\n CFLAGS += -DALLOW_EXPERIMENTAL_API\n CFLAGS += -O2 -D_FILE_OFFSET_BITS=64\n CFLAGS += $(WERROR_FLAGS)\n+CFLAGS += -DALLOW_EXPERIMENTAL_API\n \n include $(RTE_SDK)/mk/rte.extapp.mk\n \ndiff --git a/examples/vhost/main.c b/examples/vhost/main.c\nindex 0961db080..3d9f125e5 100644\n--- a/examples/vhost/main.c\n+++ b/examples/vhost/main.c\n@@ -321,6 +321,7 @@ port_init(uint16_t port)\n \t\t}\n \t}\n \n+\trte_eth_dev_set_supported_ptypes(port, RTE_PTYPE_UNKNOWN, NULL, 0);\n \t/* Start the device. */\n \tretval  = rte_eth_dev_start(port);\n \tif (retval < 0) {\ndiff --git a/examples/vm_power_manager/Makefile b/examples/vm_power_manager/Makefile\nindex 2fdb991d7..65c2ad179 100644\n--- a/examples/vm_power_manager/Makefile\n+++ b/examples/vm_power_manager/Makefile\n@@ -28,6 +28,7 @@ endif\n \n CFLAGS += -O3 -I$(RTE_SDK)/lib/librte_power/\n CFLAGS += $(WERROR_FLAGS)\n+CFLAGS += -DALLOW_EXPERIMENTAL_API\n \n LDLIBS += -lvirt\n \ndiff --git a/examples/vm_power_manager/main.c b/examples/vm_power_manager/main.c\nindex 54c704610..4cb4ccecf 100644\n--- a/examples/vm_power_manager/main.c\n+++ b/examples/vm_power_manager/main.c\n@@ -99,6 +99,7 @@ port_init(uint16_t port, struct rte_mempool *mbuf_pool)\n \t\t\treturn retval;\n \t}\n \n+\trte_eth_dev_set_supported_ptypes(port, RTE_PTYPE_UNKNOWN, NULL, 0);\n \t/* Start the Ethernet port. */\n \tretval = rte_eth_dev_start(port);\n \tif (retval < 0)\ndiff --git a/examples/vm_power_manager/meson.build b/examples/vm_power_manager/meson.build\nindex 20a4a05b3..54e2b584f 100644\n--- a/examples/vm_power_manager/meson.build\n+++ b/examples/vm_power_manager/meson.build\n@@ -25,6 +25,7 @@ if dpdk_conf.has('RTE_LIBRTE_IXGBE_PMD')\n \tdeps += ['pmd_ixgbe']\n endif\n \n+allow_experimental_apis = true\n sources = files(\n \t'channel_manager.c', 'channel_monitor.c', 'main.c', 'parse.c', 'power_manager.c', 'vm_power_cli.c'\n )\ndiff --git a/examples/vmdq/Makefile b/examples/vmdq/Makefile\nindex 1557ee86b..2168747cc 100644\n--- a/examples/vmdq/Makefile\n+++ b/examples/vmdq/Makefile\n@@ -50,6 +50,7 @@ RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.conf\n include $(RTE_SDK)/mk/rte.vars.mk\n \n CFLAGS += $(WERROR_FLAGS)\n+CFLAGS += -DALLOW_EXPERIMENTAL_API\n \n EXTRA_CFLAGS += -O3\n \ndiff --git a/examples/vmdq/main.c b/examples/vmdq/main.c\nindex 7281ffd7f..65431f95e 100644\n--- a/examples/vmdq/main.c\n+++ b/examples/vmdq/main.c\n@@ -258,6 +258,7 @@ port_init(uint16_t port, struct rte_mempool *mbuf_pool)\n \t\t}\n \t}\n \n+\trte_eth_dev_set_supported_ptypes(port, RTE_PTYPE_UNKNOWN, NULL, 0);\n \tretval  = rte_eth_dev_start(port);\n \tif (retval < 0) {\n \t\tprintf(\"port %d start failed\\n\", port);\ndiff --git a/examples/vmdq/meson.build b/examples/vmdq/meson.build\nindex c34e11e36..2b0a25036 100644\n--- a/examples/vmdq/meson.build\n+++ b/examples/vmdq/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 )\ndiff --git a/examples/vmdq_dcb/Makefile b/examples/vmdq_dcb/Makefile\nindex 391096cfb..ea1574d91 100644\n--- a/examples/vmdq_dcb/Makefile\n+++ b/examples/vmdq_dcb/Makefile\n@@ -50,6 +50,7 @@ RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.conf\n include $(RTE_SDK)/mk/rte.vars.mk\n \n CFLAGS += $(WERROR_FLAGS)\n+CFLAGS += -DALLOW_EXPERIMENTAL_API\n \n # workaround for a gcc bug with noreturn attribute\n # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603\ndiff --git a/examples/vmdq_dcb/main.c b/examples/vmdq_dcb/main.c\nindex 389000327..44fe63482 100644\n--- a/examples/vmdq_dcb/main.c\n+++ b/examples/vmdq_dcb/main.c\n@@ -313,6 +313,7 @@ port_init(uint16_t port, struct rte_mempool *mbuf_pool)\n \t\t}\n \t}\n \n+\trte_eth_dev_set_supported_ptypes(port, RTE_PTYPE_UNKNOWN, NULL, 0);\n \tretval  = rte_eth_dev_start(port);\n \tif (retval < 0) {\n \t\tprintf(\"port %d start failed\\n\", port);\ndiff --git a/examples/vmdq_dcb/meson.build b/examples/vmdq_dcb/meson.build\nindex c34e11e36..2b0a25036 100644\n--- a/examples/vmdq_dcb/meson.build\n+++ b/examples/vmdq_dcb/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": [
        "v7",
        "7/7"
    ]
}