get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 139064,
    "url": "http://patchwork.dpdk.org/api/patches/139064/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20240402215502.278838-31-stephen@networkplumber.org/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20240402215502.278838-31-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240402215502.278838-31-stephen@networkplumber.org",
    "date": "2024-04-02T21:50:46",
    "name": "[v3,30/30] examples: replace use of fixed size rte_memcpy",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "e5087e91c49431a274dd233b5b5286e52664ee58",
    "submitter": {
        "id": 27,
        "url": "http://patchwork.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20240402215502.278838-31-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 31659,
            "url": "http://patchwork.dpdk.org/api/series/31659/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=31659",
            "date": "2024-04-02T21:50:16",
            "name": "replace rte_memcpy of fixed size with memcpy",
            "version": 3,
            "mbox": "http://patchwork.dpdk.org/series/31659/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/139064/comments/",
    "check": "warning",
    "checks": "http://patchwork.dpdk.org/api/patches/139064/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-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 EB2B743DC8;\n\tTue,  2 Apr 2024 23:59:34 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C8F8C41149;\n\tTue,  2 Apr 2024 23:56:27 +0200 (CEST)",
            "from mail-pl1-f177.google.com (mail-pl1-f177.google.com\n [209.85.214.177])\n by mails.dpdk.org (Postfix) with ESMTP id 9E70940E09\n for <dev@dpdk.org>; Tue,  2 Apr 2024 23:56:09 +0200 (CEST)",
            "by mail-pl1-f177.google.com with SMTP id\n d9443c01a7336-1e0d82c529fso48267545ad.2\n for <dev@dpdk.org>; Tue, 02 Apr 2024 14:56:09 -0700 (PDT)",
            "from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226])\n by smtp.gmail.com with ESMTPSA id\n x15-20020a170902820f00b001dddf29b6e8sm11609381pln.299.2024.04.02.14.56.07\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 02 Apr 2024 14:56:08 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1712094969;\n x=1712699769; darn=dpdk.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=1w6LbBQGCsp1ll+2V3zx6vaeSwmLH77X6FCV3bVE7O4=;\n b=hfoCvJoLEtGbuY+g7llKTmeekJhfrnPZh/ZOOjlcJHsMPluy3kcslGu0Xrso0hOkXc\n emDtFuEIOoFoKcoXp7SRrIeyJ/pTH8anlpz5IpkH8XMh3UTEhO0bEfKA3TWjiqk++bpS\n LpsbqbqFDLA+xwNHNk68IuIzuzPUs7T/SSUB9bv8VRtxuiuCeClnyvJhXE/NGoNYpCSy\n boo7eXc1petP3FS8ETXJ1gUIrdhRH6x34Wlneuww5NcLw20jQyGOnIv1Swqh1Khx52RQ\n pQvKNQ7RRdHQa6gHmjgfYl25nIUrCsPvk9tNDxwx+onclxk2mnxkOvZmEp7Do0rGKUa2\n /prA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1712094969; x=1712699769;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=1w6LbBQGCsp1ll+2V3zx6vaeSwmLH77X6FCV3bVE7O4=;\n b=UTa0PsS7GE8BsTJgLlJ6SyessVZ5BIteWorpOYDDrVcmhPZxmi9a27jNmHnzEZwrYH\n JhEvZDk/QhVkSEdbmxNrtCHdNUlP1EpZwL4KkpsdLFBSyyhf5nsZE8O7umcbr2G5rSq4\n 2qPHyGPXoRNx38FXk5uVDYVgZcJFD7+BuygjXB335XvTEcEilXc8t/SHjluFhon64mv5\n 2CaCF3MiIEuSDpFLzFdMOMj+EOKr04OI1/9A9GOziS2Xxnq79Do+O5Y0YdIOHwwOb5pH\n 7QELjZ8+7rbowewsk3my9scQJlqZrKZ8EcEdlEwziyRnulV5LpUGilqJtH+mx4ij/rmE\n vyTw==",
        "X-Gm-Message-State": "AOJu0YyhPaC7DrcIibuc+mD0CMR2Ks8HFcTVYzOMIeO84qzA5GZjI0Ox\n 7O7ntfiVrJttrLQWwYnve0rgF3EHpPZxcbtU3KV9oxio07uEEw4rEMHfJsgEMABHM8STpRV/yLO\n X6XE=",
        "X-Google-Smtp-Source": "\n AGHT+IHGdGVTGGdsfaaGsvOzOZjHImMjeCB6KZhU/Xp7CIGangAkKurHWCihZKJrJgRYEVH87kepow==",
        "X-Received": "by 2002:a17:902:cf08:b0:1e2:3d75:f738 with SMTP id\n i8-20020a170902cf0800b001e23d75f738mr13525970plg.17.1712094968845;\n Tue, 02 Apr 2024 14:56:08 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Nicolas Chautru <nicolas.chautru@intel.com>, Chas Williams <chas3@att.com>,\n \"Min Hu (Connor)\" <humin29@huawei.com>,\n Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>,\n Tomasz Kantecki <tomasz.kantecki@intel.com>,\n Akhil Goyal <gakhil@marvell.com>,\n Bruce Richardson <bruce.richardson@intel.com>,\n Anatoly Burakov <anatoly.burakov@intel.com>,\n David Hunt <david.hunt@intel.com>,\n Sivaprasad Tummala <sivaprasad.tummala@amd.com>,\n Kirill Rybalchenko <kirill.rybalchenko@intel.com>,\n Cristian Dumitrescu <cristian.dumitrescu@intel.com>,\n Byron Marohn <byron.marohn@intel.com>,\n Yipeng Wang <yipeng1.wang@intel.com>,\n Maxime Coquelin <maxime.coquelin@redhat.com>,\n Chenbo Xia <chenbox@nvidia.com>",
        "Subject": "[PATCH v3 30/30] examples: replace use of fixed size rte_memcpy",
        "Date": "Tue,  2 Apr 2024 14:50:46 -0700",
        "Message-ID": "<20240402215502.278838-31-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20240402215502.278838-1-stephen@networkplumber.org>",
        "References": "<20240229225936.483472-1-stephen@networkplumber.org>\n <20240402215502.278838-1-stephen@networkplumber.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "content": "Automatically generated by devtools/cocci/rte_memcpy.cocci\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n examples/bbdev_app/main.c                         |  2 +-\n examples/bond/main.c                              |  1 -\n examples/ip_fragmentation/main.c                  |  1 -\n examples/ip_reassembly/main.c                     |  1 -\n examples/ipv4_multicast/main.c                    |  1 -\n examples/l2fwd-cat/cat.c                          |  4 +---\n examples/l2fwd-jobstats/main.c                    |  1 -\n examples/l2fwd-keepalive/main.c                   |  1 -\n examples/l2fwd-macsec/main.c                      |  1 -\n examples/l2fwd/main.c                             |  1 -\n examples/l3fwd-power/main.c                       |  1 -\n examples/l3fwd/main.c                             |  1 -\n examples/link_status_interrupt/main.c             |  1 -\n .../client_server_mp/mp_server/init.c             |  1 -\n .../client_server_mp/mp_server/main.c             |  1 -\n examples/multi_process/symmetric_mp/main.c        |  1 -\n examples/ptpclient/ptpclient.c                    | 11 +++++------\n examples/qos_sched/app_thread.c                   |  1 -\n examples/qos_sched/main.c                         |  1 -\n examples/server_node_efd/efd_server/init.c        |  1 -\n examples/server_node_efd/efd_server/main.c        |  1 -\n examples/vhost/main.c                             |  6 +++---\n examples/vmdq/main.c                              |  6 ++----\n examples/vmdq_dcb/main.c                          | 15 +++++----------\n 24 files changed, 17 insertions(+), 45 deletions(-)",
    "diff": "diff --git a/examples/bbdev_app/main.c b/examples/bbdev_app/main.c\nindex 16599ae9ce..52c8eabba7 100644\n--- a/examples/bbdev_app/main.c\n+++ b/examples/bbdev_app/main.c\n@@ -359,7 +359,7 @@ add_ether_hdr(struct rte_mbuf *pkt_src, struct rte_mbuf *pkt_dst)\n \teth_to = rte_pktmbuf_mtod(pkt_dst, struct rte_ether_hdr *);\n \n \t/* copy header */\n-\trte_memcpy(eth_to, eth_from, sizeof(struct rte_ether_hdr));\n+\tmemcpy(eth_to, eth_from, sizeof(struct rte_ether_hdr));\n }\n \n static inline void\ndiff --git a/examples/bond/main.c b/examples/bond/main.c\nindex 8528abf675..a10fc8c92d 100644\n--- a/examples/bond/main.c\n+++ b/examples/bond/main.c\n@@ -21,7 +21,6 @@\n #include <rte_common.h>\n #include <rte_log.h>\n #include <rte_memory.h>\n-#include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n #include <rte_cycles.h>\ndiff --git a/examples/ip_fragmentation/main.c b/examples/ip_fragmentation/main.c\nindex 744a1aa9b4..d800d314a1 100644\n--- a/examples/ip_fragmentation/main.c\n+++ b/examples/ip_fragmentation/main.c\n@@ -18,7 +18,6 @@\n #include <rte_byteorder.h>\n #include <rte_log.h>\n #include <rte_memory.h>\n-#include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n #include <rte_cycles.h>\ndiff --git a/examples/ip_reassembly/main.c b/examples/ip_reassembly/main.c\nindex bd0b1d31de..b23c2b0942 100644\n--- a/examples/ip_reassembly/main.c\n+++ b/examples/ip_reassembly/main.c\n@@ -19,7 +19,6 @@\n #include <rte_byteorder.h>\n #include <rte_log.h>\n #include <rte_memory.h>\n-#include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n #include <rte_cycles.h>\ndiff --git a/examples/ipv4_multicast/main.c b/examples/ipv4_multicast/main.c\nindex 6d0a8501ef..8f135a5a96 100644\n--- a/examples/ipv4_multicast/main.c\n+++ b/examples/ipv4_multicast/main.c\n@@ -17,7 +17,6 @@\n #include <rte_byteorder.h>\n #include <rte_log.h>\n #include <rte_memory.h>\n-#include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n #include <rte_cycles.h>\ndiff --git a/examples/l2fwd-cat/cat.c b/examples/l2fwd-cat/cat.c\nindex 00e4cde48b..d1689fca29 100644\n--- a/examples/l2fwd-cat/cat.c\n+++ b/examples/l2fwd-cat/cat.c\n@@ -12,7 +12,6 @@\n #include <stdio.h>\n \n #include <rte_common.h>\n-#include <rte_memcpy.h>\n \n #include <pqos.h>\n \n@@ -314,8 +313,7 @@ parse_l3ca(const char *l3ca)\n \t\tif (cmask != 0 && is_contiguous(cmask) == 0)\n \t\t\tgoto err;\n \n-\t\trte_memcpy(&m_config[idx].cpumask,\n-\t\t\t&cpuset, sizeof(rte_cpuset_t));\n+\t\tmemcpy(&m_config[idx].cpumask, &cpuset, sizeof(rte_cpuset_t));\n \n \t\tif (cmask != 0) {\n \t\t\tm_config[idx].cdp = 1;\ndiff --git a/examples/l2fwd-jobstats/main.c b/examples/l2fwd-jobstats/main.c\nindex 2653db4735..e3e02b751e 100644\n--- a/examples/l2fwd-jobstats/main.c\n+++ b/examples/l2fwd-jobstats/main.c\n@@ -13,7 +13,6 @@\n #include <rte_log.h>\n #include <rte_malloc.h>\n #include <rte_memory.h>\n-#include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n #include <rte_cycles.h>\ndiff --git a/examples/l2fwd-keepalive/main.c b/examples/l2fwd-keepalive/main.c\nindex 1463cef0fc..52bcc91790 100644\n--- a/examples/l2fwd-keepalive/main.c\n+++ b/examples/l2fwd-keepalive/main.c\n@@ -21,7 +21,6 @@\n #include <rte_log.h>\n #include <rte_malloc.h>\n #include <rte_memory.h>\n-#include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n #include <rte_cycles.h>\ndiff --git a/examples/l2fwd-macsec/main.c b/examples/l2fwd-macsec/main.c\nindex a5d7a84828..529489e10d 100644\n--- a/examples/l2fwd-macsec/main.c\n+++ b/examples/l2fwd-macsec/main.c\n@@ -21,7 +21,6 @@\n #include <rte_log.h>\n #include <rte_malloc.h>\n #include <rte_memory.h>\n-#include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n #include <rte_cycles.h>\ndiff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c\nindex 96fb33196f..d928c957c3 100644\n--- a/examples/l2fwd/main.c\n+++ b/examples/l2fwd/main.c\n@@ -21,7 +21,6 @@\n #include <rte_log.h>\n #include <rte_malloc.h>\n #include <rte_memory.h>\n-#include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n #include <rte_cycles.h>\ndiff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c\nindex f4adcf41b5..9db9de806e 100644\n--- a/examples/l3fwd-power/main.c\n+++ b/examples/l3fwd-power/main.c\n@@ -21,7 +21,6 @@\n #include <rte_log.h>\n #include <rte_malloc.h>\n #include <rte_memory.h>\n-#include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n #include <rte_cycles.h>\ndiff --git a/examples/l3fwd/main.c b/examples/l3fwd/main.c\nindex 8d32ae1dd5..d77aa8c62c 100644\n--- a/examples/l3fwd/main.c\n+++ b/examples/l3fwd/main.c\n@@ -21,7 +21,6 @@\n #include <rte_log.h>\n #include <rte_malloc.h>\n #include <rte_memory.h>\n-#include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n #include <rte_cycles.h>\ndiff --git a/examples/link_status_interrupt/main.c b/examples/link_status_interrupt/main.c\nindex a8423d5d2a..d726d5c3b5 100644\n--- a/examples/link_status_interrupt/main.c\n+++ b/examples/link_status_interrupt/main.c\n@@ -19,7 +19,6 @@\n #include <rte_log.h>\n #include <rte_malloc.h>\n #include <rte_memory.h>\n-#include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n #include <rte_cycles.h>\ndiff --git a/examples/multi_process/client_server_mp/mp_server/init.c b/examples/multi_process/client_server_mp/mp_server/init.c\nindex 65713dbea8..f3b9b49380 100644\n--- a/examples/multi_process/client_server_mp/mp_server/init.c\n+++ b/examples/multi_process/client_server_mp/mp_server/init.c\n@@ -24,7 +24,6 @@\n #include <rte_ring.h>\n #include <rte_log.h>\n #include <rte_mempool.h>\n-#include <rte_memcpy.h>\n #include <rte_mbuf.h>\n #include <rte_interrupts.h>\n #include <rte_ether.h>\ndiff --git a/examples/multi_process/client_server_mp/mp_server/main.c b/examples/multi_process/client_server_mp/mp_server/main.c\nindex f54bb8b75a..df1bac37d0 100644\n--- a/examples/multi_process/client_server_mp/mp_server/main.c\n+++ b/examples/multi_process/client_server_mp/mp_server/main.c\n@@ -24,7 +24,6 @@\n #include <rte_log.h>\n #include <rte_debug.h>\n #include <rte_mempool.h>\n-#include <rte_memcpy.h>\n #include <rte_mbuf.h>\n #include <rte_ether.h>\n #include <rte_interrupts.h>\ndiff --git a/examples/multi_process/symmetric_mp/main.c b/examples/multi_process/symmetric_mp/main.c\nindex 1ff85875df..ebf546db84 100644\n--- a/examples/multi_process/symmetric_mp/main.c\n+++ b/examples/multi_process/symmetric_mp/main.c\n@@ -37,7 +37,6 @@\n #include <rte_ether.h>\n #include <rte_ethdev.h>\n #include <rte_mempool.h>\n-#include <rte_memcpy.h>\n #include <rte_mbuf.h>\n #include <rte_string_fns.h>\n #include <rte_cycles.h>\ndiff --git a/examples/ptpclient/ptpclient.c b/examples/ptpclient/ptpclient.c\nindex afb61bba51..7edf235bfb 100644\n--- a/examples/ptpclient/ptpclient.c\n+++ b/examples/ptpclient/ptpclient.c\n@@ -362,9 +362,9 @@ parse_sync(struct ptpv2_data_slave_ordinary *ptp_data, uint16_t rx_tstamp_idx)\n \tptp_data->seqID_SYNC = rte_be_to_cpu_16(ptp_hdr->seq_id);\n \n \tif (ptp_data->ptpset == 0) {\n-\t\trte_memcpy(&ptp_data->master_clock_id,\n-\t\t\t\t&ptp_hdr->source_port_id.clock_id,\n-\t\t\t\tsizeof(struct clock_id));\n+\t\tmemcpy(&ptp_data->master_clock_id,\n+\t\t       &ptp_hdr->source_port_id.clock_id,\n+\t\t       sizeof(struct clock_id));\n \t\tptp_data->ptpset = 1;\n \t}\n \n@@ -469,9 +469,8 @@ parse_fup(struct ptpv2_data_slave_ordinary *ptp_data)\n \t\tclient_clkid->id[6] = eth_hdr->src_addr.addr_bytes[4];\n \t\tclient_clkid->id[7] = eth_hdr->src_addr.addr_bytes[5];\n \n-\t\trte_memcpy(&ptp_data->client_clock_id,\n-\t\t\t   client_clkid,\n-\t\t\t   sizeof(struct clock_id));\n+\t\tmemcpy(&ptp_data->client_clock_id, client_clkid,\n+\t\t       sizeof(struct clock_id));\n \n \t\t/* Enable flag for hardware timestamping. */\n \t\tcreated_pkt->ol_flags |= RTE_MBUF_F_TX_IEEE1588_TMST;\ndiff --git a/examples/qos_sched/app_thread.c b/examples/qos_sched/app_thread.c\nindex 059c470afb..3b8d9d50e8 100644\n--- a/examples/qos_sched/app_thread.c\n+++ b/examples/qos_sched/app_thread.c\n@@ -9,7 +9,6 @@\n #include <rte_malloc.h>\n #include <rte_cycles.h>\n #include <rte_ethdev.h>\n-#include <rte_memcpy.h>\n #include <rte_byteorder.h>\n #include <rte_branch_prediction.h>\n #include <rte_sched.h>\ndiff --git a/examples/qos_sched/main.c b/examples/qos_sched/main.c\nindex b3c2c9ef23..e756ce0da2 100644\n--- a/examples/qos_sched/main.c\n+++ b/examples/qos_sched/main.c\n@@ -10,7 +10,6 @@\n #include <rte_malloc.h>\n #include <rte_cycles.h>\n #include <rte_ethdev.h>\n-#include <rte_memcpy.h>\n #include <rte_byteorder.h>\n #include <rte_branch_prediction.h>\n \ndiff --git a/examples/server_node_efd/efd_server/init.c b/examples/server_node_efd/efd_server/init.c\nindex 9c89f6b60d..9a20831a0d 100644\n--- a/examples/server_node_efd/efd_server/init.c\n+++ b/examples/server_node_efd/efd_server/init.c\n@@ -24,7 +24,6 @@\n #include <rte_ring.h>\n #include <rte_log.h>\n #include <rte_mempool.h>\n-#include <rte_memcpy.h>\n #include <rte_mbuf.h>\n #include <rte_interrupts.h>\n #include <rte_ether.h>\ndiff --git a/examples/server_node_efd/efd_server/main.c b/examples/server_node_efd/efd_server/main.c\nindex fd72882e3a..0cd17a9ca3 100644\n--- a/examples/server_node_efd/efd_server/main.c\n+++ b/examples/server_node_efd/efd_server/main.c\n@@ -26,7 +26,6 @@\n #include <rte_log.h>\n #include <rte_debug.h>\n #include <rte_mempool.h>\n-#include <rte_memcpy.h>\n #include <rte_mbuf.h>\n #include <rte_ether.h>\n #include <rte_interrupts.h>\ndiff --git a/examples/vhost/main.c b/examples/vhost/main.c\nindex 3fc1b151d1..41df424565 100644\n--- a/examples/vhost/main.c\n+++ b/examples/vhost/main.c\n@@ -405,9 +405,9 @@ get_eth_conf(struct rte_eth_conf *eth_conf, uint32_t num_devices)\n \t\tconf.pool_map[i].pools = (1UL << i);\n \t}\n \n-\t(void)(rte_memcpy(eth_conf, &vmdq_conf_default, sizeof(*eth_conf)));\n-\t(void)(rte_memcpy(&eth_conf->rx_adv_conf.vmdq_rx_conf, &conf,\n-\t\t   sizeof(eth_conf->rx_adv_conf.vmdq_rx_conf)));\n+\tmemcpy(eth_conf, &vmdq_conf_default, sizeof(*eth_conf));\n+\tmemcpy(&eth_conf->rx_adv_conf.vmdq_rx_conf, &conf,\n+\t       sizeof(eth_conf->rx_adv_conf.vmdq_rx_conf));\n \treturn 0;\n }\n \ndiff --git a/examples/vmdq/main.c b/examples/vmdq/main.c\nindex 4a3ce6884c..d928f4a45c 100644\n--- a/examples/vmdq/main.c\n+++ b/examples/vmdq/main.c\n@@ -17,7 +17,6 @@\n #include <rte_common.h>\n #include <rte_log.h>\n #include <rte_memory.h>\n-#include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n #include <rte_cycles.h>\n@@ -151,9 +150,8 @@ get_eth_conf(struct rte_eth_conf *eth_conf, uint32_t num_pools)\n \t\tconf.pool_map[i].pools = (1UL << (i % num_pools));\n \t}\n \n-\t(void)(rte_memcpy(eth_conf, &vmdq_conf_default, sizeof(*eth_conf)));\n-\t(void)(rte_memcpy(&eth_conf->rx_adv_conf.vmdq_rx_conf, &conf,\n-\t\t   sizeof(eth_conf->rx_adv_conf.vmdq_rx_conf)));\n+\t(void)(memcpy(eth_conf, &vmdq_conf_default, sizeof(*eth_conf)));\n+\t(void)(memcpy(&eth_conf->rx_adv_conf.vmdq_rx_conf, &conf, sizeof(eth_conf->rx_adv_conf.vmdq_rx_conf)));\n \tif (rss_enable) {\n \t\teth_conf->rxmode.mq_mode = RTE_ETH_MQ_RX_VMDQ_RSS;\n \t\teth_conf->rx_adv_conf.rss_conf.rss_hf = RTE_ETH_RSS_IP |\ndiff --git a/examples/vmdq_dcb/main.c b/examples/vmdq_dcb/main.c\nindex 4ccc2fe4b0..f93eca5936 100644\n--- a/examples/vmdq_dcb/main.c\n+++ b/examples/vmdq_dcb/main.c\n@@ -17,7 +17,6 @@\n #include <rte_common.h>\n #include <rte_log.h>\n #include <rte_memory.h>\n-#include <rte_memcpy.h>\n #include <rte_eal.h>\n #include <rte_launch.h>\n #include <rte_cycles.h>\n@@ -161,15 +160,11 @@ get_eth_conf(struct rte_eth_conf *eth_conf)\n \t\ttx_conf.dcb_tc[i] = i % num_tcs;\n \t}\n \tdcb_conf.nb_tcs = (enum rte_eth_nb_tcs)num_tcs;\n-\t(void)(rte_memcpy(eth_conf, &vmdq_dcb_conf_default, sizeof(*eth_conf)));\n-\t(void)(rte_memcpy(&eth_conf->rx_adv_conf.vmdq_dcb_conf, &conf,\n-\t\t\t  sizeof(conf)));\n-\t(void)(rte_memcpy(&eth_conf->rx_adv_conf.dcb_rx_conf, &dcb_conf,\n-\t\t\t  sizeof(dcb_conf)));\n-\t(void)(rte_memcpy(&eth_conf->rx_adv_conf.vmdq_rx_conf, &vmdq_conf,\n-\t\t\t  sizeof(vmdq_conf)));\n-\t(void)(rte_memcpy(&eth_conf->tx_adv_conf.vmdq_dcb_tx_conf, &tx_conf,\n-\t\t\t  sizeof(tx_conf)));\n+\t(void)(memcpy(eth_conf, &vmdq_dcb_conf_default, sizeof(*eth_conf)));\n+\t(void)(memcpy(&eth_conf->rx_adv_conf.vmdq_dcb_conf, &conf, sizeof(conf)));\n+\t(void)(memcpy(&eth_conf->rx_adv_conf.dcb_rx_conf, &dcb_conf, sizeof(dcb_conf)));\n+\t(void)(memcpy(&eth_conf->rx_adv_conf.vmdq_rx_conf, &vmdq_conf, sizeof(vmdq_conf)));\n+\t(void)(memcpy(&eth_conf->tx_adv_conf.vmdq_dcb_tx_conf, &tx_conf, sizeof(tx_conf)));\n \tif (rss_enable) {\n \t\teth_conf->rxmode.mq_mode = RTE_ETH_MQ_RX_VMDQ_DCB_RSS;\n \t\teth_conf->rx_adv_conf.rss_conf.rss_hf = RTE_ETH_RSS_IP |\n",
    "prefixes": [
        "v3",
        "30/30"
    ]
}