Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/137759/?format=api
http://patchwork.dpdk.org/api/patches/137759/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20240301171707.95242-70-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": "<20240301171707.95242-70-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20240301171707.95242-70-stephen@networkplumber.org", "date": "2024-03-01T17:16:05", "name": "[v2,69/71] app/test-eventdev: replace use of fixed size rte_memcpy", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "7ad5ba842f153bdc74d0b61ccaa000024e228004", "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/20240301171707.95242-70-stephen@networkplumber.org/mbox/", "series": [ { "id": 31340, "url": "http://patchwork.dpdk.org/api/series/31340/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=31340", "date": "2024-03-01T17:14:57", "name": "replace use of fixed size rte_mempcy", "version": 2, "mbox": "http://patchwork.dpdk.org/series/31340/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/137759/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/137759/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 A0CEA43C12;\n\tFri, 1 Mar 2024 18:25:14 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 00DEE43512;\n\tFri, 1 Mar 2024 18:18:48 +0100 (CET)", "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 9BD73402C0\n for <dev@dpdk.org>; Fri, 1 Mar 2024 18:18:12 +0100 (CET)", "by mail-pl1-f177.google.com with SMTP id\n d9443c01a7336-1dcad814986so20735855ad.0\n for <dev@dpdk.org>; Fri, 01 Mar 2024 09:18:12 -0800 (PST)", "from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141])\n by smtp.gmail.com with ESMTPSA id\n j14-20020a170902da8e00b001dc8d6a9d40sm3695764plx.144.2024.03.01.09.18.11\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 01 Mar 2024 09:18:11 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709313492;\n x=1709918292; 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=rO7SIIkiWVQ2S4NTSuaHfv9iQv4J+F5xqVXp01dtZ2g=;\n b=nBuSA082e9kb0SvwebS56+H5Flf6DKvFyDSuuBL+6SZqzr7cBpdX+69awiTZXnjzF8\n UlEqO+5Fp/qNBj7RNhczjLHbu8z7/k/Jgx+sBWphlur7arQs90ZhiBcF6+bu+up4flAb\n N/wi3L4iKyu7jUUyEWoDvjIObuN7cFs2iGzjv7ecTL2KSAS7+d5ghWtBV5wIaNRhlH+h\n u8ATbPaFAry4n4qSCXUA+bJSc5NSjuM/ainulQ6E2JqyW4zX2po8bpqnunOnn4SpB2XD\n /9EoBJVZQ5vasMcVv8E4BpUtQJDKaNyPfc0jFpuEFv+6VPmSlCjlQl9WHZQ1Dia1VIx8\n ES1w==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1709313492; x=1709918292;\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=rO7SIIkiWVQ2S4NTSuaHfv9iQv4J+F5xqVXp01dtZ2g=;\n b=Bdy0wIJgKwGm9yf/lgt173X6UeLrFiYGO+0OgbSVSKy+uWKT5DDkDCT1pZSuTUO+fb\n E70+47iYzvHY6Vbto7rw6VfC3ritZ0Ttmg0vjuD8tafka+o+BAe8QIyOJS+MQeaGW8cY\n ly0bKPM9RJHjVI3o9FGRDMDAIRLBSeTR3WmvPtCd/gSd7LLH66YwBKT7N7xI4Hnr7A5W\n FkqHWvvsjo3uNTFfHuNpuOCnWoLlV/TEsD71DJopf/gFIOIydsNgvJGpOcOXqCw7hUJ9\n NiVHlaPYxK+UeiyAgpbHnButPjsSwUlyJcma5dnCcrOID266kROGYWm5+c5wsfjNsYb4\n l0EA==", "X-Gm-Message-State": "AOJu0YwDNi4x/xAEzFzTx0WCM1i/vpVnbqfzsk7PEfERYRi2/f43ecs7\n HxIlJS+GjsZcvfNL0dRoQ2B+Hw5AhYddxscKBcimhoMPnqQ6kzK4I4yJrLHVf3WfIh0w9RMq1+I\n tk6tcYQ==", "X-Google-Smtp-Source": "\n AGHT+IELA3cce9uCGdwsRzynXkffMWWtXBI/+H19P6BImpm31zXU2dSFtz5nU6mGY+FAdeVq+eTBVg==", "X-Received": "by 2002:a17:902:e951:b0:1dc:af71:fed9 with SMTP id\n b17-20020a170902e95100b001dcaf71fed9mr2858609pll.11.1709313491765;\n Fri, 01 Mar 2024 09:18:11 -0800 (PST)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Jerin Jacob <jerinj@marvell.com>", "Subject": "[PATCH v2 69/71] app/test-eventdev: replace use of fixed size\n rte_memcpy", "Date": "Fri, 1 Mar 2024 09:16:05 -0800", "Message-ID": "<20240301171707.95242-70-stephen@networkplumber.org>", "X-Mailer": "git-send-email 2.43.0", "In-Reply-To": "<20240301171707.95242-1-stephen@networkplumber.org>", "References": "<20240229225936.483472-1-stephen@networkplumber.org>\n <20240301171707.95242-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 app/test-eventdev/test_pipeline_common.c | 19 +++++++------------\n 1 file changed, 7 insertions(+), 12 deletions(-)", "diff": "diff --git a/app/test-eventdev/test_pipeline_common.c b/app/test-eventdev/test_pipeline_common.c\nindex b111690b7cd4..49bfd0c363f5 100644\n--- a/app/test-eventdev/test_pipeline_common.c\n+++ b/app/test-eventdev/test_pipeline_common.c\n@@ -177,22 +177,17 @@ pipeline_tx_first(struct test_pipeline *t, struct evt_options *opt)\n \t\t\tmbuf->pkt_len = pkt_sz;\n \n \t\t\t/* Copy Ethernet header */\n-\t\t\trte_memcpy(rte_pktmbuf_mtod_offset(mbuf, char *, 0),\n-\t\t\t\t ð_hdr, sizeof(struct rte_ether_hdr));\n+\t\t\tmemcpy(rte_pktmbuf_mtod_offset(mbuf, char *, 0),\n+\t\t\t ð_hdr, sizeof(struct rte_ether_hdr));\n \n \t\t\t/* Copy Ipv4 header */\n-\t\t\trte_memcpy(rte_pktmbuf_mtod_offset(\n-\t\t\t\t\t mbuf, char *,\n-\t\t\t\t\t sizeof(struct rte_ether_hdr)),\n-\t\t\t\t &ip_hdr, sizeof(struct rte_ipv4_hdr));\n+\t\t\tmemcpy(rte_pktmbuf_mtod_offset(mbuf, char *, sizeof(struct rte_ether_hdr)),\n+\t\t\t &ip_hdr, sizeof(struct rte_ipv4_hdr));\n \n \t\t\t/* Copy UDP header */\n-\t\t\trte_memcpy(\n-\t\t\t\trte_pktmbuf_mtod_offset(\n-\t\t\t\t\tmbuf, char *,\n-\t\t\t\t\tsizeof(struct rte_ipv4_hdr) +\n-\t\t\t\t\t\tsizeof(struct rte_ether_hdr)),\n-\t\t\t\t&udp_hdr, sizeof(struct rte_udp_hdr));\n+\t\t\tmemcpy(rte_pktmbuf_mtod_offset(mbuf, char *, sizeof(struct rte_ipv4_hdr)\n+\t\t\t\t\t\t + sizeof(struct rte_ether_hdr)),\n+\t\t\t &udp_hdr, sizeof(struct rte_udp_hdr));\n \t\t\tpkt_udp_hdr = rte_pktmbuf_mtod_offset(\n \t\t\t\tmbuf, struct rte_udp_hdr *,\n \t\t\t\tsizeof(struct rte_ipv4_hdr) +\n", "prefixes": [ "v2", "69/71" ] }{ "id": 137759, "url": "