Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/137612/?format=api
http://patchwork.dpdk.org/api/patches/137612/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20240229225936.483472-38-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": "<20240229225936.483472-38-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20240229225936.483472-38-stephen@networkplumber.org", "date": "2024-02-29T22:58:24", "name": "[37/71] compress/qat: replace use of fixed size rte_memcpy", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "05794703ab7e633c47e2f6b69dc7b0eebec2872b", "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/20240229225936.483472-38-stephen@networkplumber.org/mbox/", "series": [ { "id": 31314, "url": "http://patchwork.dpdk.org/api/series/31314/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=31314", "date": "2024-02-29T22:57:48", "name": "replace use of fixed size rte_memcpy", "version": 1, "mbox": "http://patchwork.dpdk.org/series/31314/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/137612/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/137612/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 6C25043BAE;\n\tFri, 1 Mar 2024 00:04:45 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9ABD04339F;\n\tFri, 1 Mar 2024 00:01:25 +0100 (CET)", "from mail-pg1-f178.google.com (mail-pg1-f178.google.com\n [209.85.215.178])\n by mails.dpdk.org (Postfix) with ESMTP id 1F5F742FEF\n for <dev@dpdk.org>; Fri, 1 Mar 2024 00:00:32 +0100 (CET)", "by mail-pg1-f178.google.com with SMTP id\n 41be03b00d2f7-5dc949f998fso1055107a12.3\n for <dev@dpdk.org>; Thu, 29 Feb 2024 15:00:32 -0800 (PST)", "from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141])\n by smtp.gmail.com with ESMTPSA id\n l22-20020a17090b079600b0029a8e5355fcsm1965578pjz.53.2024.02.29.15.00.30\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 29 Feb 2024 15:00:30 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709247631;\n x=1709852431; 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=9KW1zdzm5T01/a+cb3Ov3Qa2achdwwIyvlZZPbx3Vx0=;\n b=npueT5+fmUJf9mvPIQ6RLyc+iR/26jgWeX1H5vyD1DA78bQl0/led4ul60ckY6GU94\n BnP0h1fS++/8pTquqA+0FJK+jm+m+AvQ54Fbv1T5C/qjCWU+e2kGeBW9eo3hDu9uQnth\n gPibUccqT/ipjuy6Vl84HpQsKvC5Vpi8dSyJPKuhVweFE9B4nl/ETzaAdpg+YwZMoVZi\n f8RcCa0wy27XnJeoWzQ5YQdcX18O96JEB0j76A7ajxCIc0AsGm30PaBGENMMI8Ui2A+I\n vdt+dSxIfaXHZhz9Zd3eXzeqdDVLpJXkPr5go4SoM+BQRl37Hzcf87x6vBAIk8smQRFd\n Yq/w==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1709247631; x=1709852431;\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=9KW1zdzm5T01/a+cb3Ov3Qa2achdwwIyvlZZPbx3Vx0=;\n b=hDbhdnXy7lJIJSQ0IIiw4T+Cpl+O5us+h325hZ/TWoKzkNJ0LJbK7xiD9IkHiC0xrk\n FIUqLRzYjlsHhPYGSW9PMUjXLLXttA/ZAwNH9yHkUJVsNn+E1MIs2loWpR1CMn2+ROqF\n UFwJI3bi23I5gU+h+9j4XDDIcuAzvQwbPtcvAOPn02UhZt/PiQm0AgN2FhZYJhIWEszB\n nIw3r0AbEzNkCu5MoKKyUPbuTBtpLS7N2SEb6thwt+7eeYy8ZETGpGeg+s4jFCy+CUfn\n vRp9pWnzHH92bNeRNQhuf9+rO/2peHNS+ubnJAi5jdiYmevUSk68BxVXPCZRxH1QF4O6\n BIrw==", "X-Gm-Message-State": "AOJu0YxHCldEgADpdyxYmq289+ReSTmjJyxsn1Hyd36sFDpuExm5rGyM\n 87NqVTpND97XOg8IL+1NdV8zzI/j5Aru77zjUqfb709Gj1mWWzokNo5i8IXTJYtu93Gdshw7Izj\n 7", "X-Google-Smtp-Source": "\n AGHT+IE6FyCGvpQexAAVNIcat5LuBaHzrC2kJnwH2vjoM6CBFspRxEAY+AGd1Fm+q1y/v0d7q+srBA==", "X-Received": "by 2002:a17:90a:cb94:b0:29b:171c:a787 with SMTP id\n a20-20020a17090acb9400b0029b171ca787mr35478pju.19.1709247631426;\n Thu, 29 Feb 2024 15:00:31 -0800 (PST)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>, Kai Ji <kai.ji@intel.com>,\n Fan Zhang <fanzhang.oss@gmail.com>, Ashish Gupta <ashish.gupta@marvell.com>", "Subject": "[PATCH 37/71] compress/qat: replace use of fixed size rte_memcpy", "Date": "Thu, 29 Feb 2024 14:58:24 -0800", "Message-ID": "<20240229225936.483472-38-stephen@networkplumber.org>", "X-Mailer": "git-send-email 2.43.0", "In-Reply-To": "<20240229225936.483472-1-stephen@networkplumber.org>", "References": "<20240229225936.483472-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 drivers/compress/qat/qat_comp.c | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)", "diff": "diff --git a/drivers/compress/qat/qat_comp.c b/drivers/compress/qat/qat_comp.c\nindex 559948a46a12..5bcbefe395bf 100644\n--- a/drivers/compress/qat/qat_comp.c\n+++ b/drivers/compress/qat/qat_comp.c\n@@ -375,7 +375,7 @@ qat_comp_build_multiple_requests(void *in_op, struct qat_qp *qp,\n \tQAT_DP_LOG(DEBUG, \"op %p, parent_cookie %p\", op, parent_cookie);\n \n \t/* copy original op to the local variable for restoring later */\n-\trte_memcpy(&op_backup, op, sizeof(op_backup));\n+\tmemcpy(&op_backup, op, sizeof(op_backup));\n \n \tparent_cookie->nb_child_responses = 0;\n \tparent_cookie->nb_children = 0;\n@@ -401,7 +401,7 @@ qat_comp_build_multiple_requests(void *in_op, struct qat_qp *qp,\n \t}\n \n \t/* prepare local dst mbuf */\n-\trte_memcpy(&dst_mbuf, op->m_dst, sizeof(dst_mbuf));\n+\tmemcpy(&dst_mbuf, op->m_dst, sizeof(dst_mbuf));\n \trte_pktmbuf_reset(&dst_mbuf);\n \tdst_mbuf.buf_len = dst_data_size;\n \tdst_mbuf.data_len = dst_data_size;\n@@ -457,7 +457,7 @@ qat_comp_build_multiple_requests(void *in_op, struct qat_qp *qp,\n \t\tif (ret < 0) {\n \t\t\tQAT_DP_LOG(WARNING, \"Failed to build child descriptor\");\n \t\t\t/* restore op and clear cookie */\n-\t\t\trte_memcpy(op, &op_backup, sizeof(op_backup));\n+\t\t\tmemcpy(op, &op_backup, sizeof(op_backup));\n \t\t\tparent_cookie->split_op = 0;\n \t\t\tparent_cookie->nb_children = 0;\n \t\t\treturn ret;\n@@ -468,7 +468,7 @@ qat_comp_build_multiple_requests(void *in_op, struct qat_qp *qp,\n \t}\n \n \t/* restore backed up original op */\n-\trte_memcpy(op, &op_backup, sizeof(op_backup));\n+\tmemcpy(op, &op_backup, sizeof(op_backup));\n \n \tif (nb_descr != num_descriptors_built)\n \t\tQAT_DP_LOG(ERR, \"split op. expected %d, built %d\",\n", "prefixes": [ "37/71" ] }{ "id": 137612, "url": "