Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/137735/?format=api
https://patches.dpdk.org/api/patches/137735/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20240301171707.95242-46-stephen@networkplumber.org/", "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": "<20240301171707.95242-46-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20240301171707.95242-46-stephen@networkplumber.org", "date": "2024-03-01T17:15:41", "name": "[v2,45/71] event/dlb2: replace use of fixed size rte_memcpy", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "612c63e724cd0695b41b067a89815c1526274b73", "submitter": { "id": 27, "url": "https://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20240301171707.95242-46-stephen@networkplumber.org/mbox/", "series": [ { "id": 31340, "url": "https://patches.dpdk.org/api/series/31340/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=31340", "date": "2024-03-01T17:14:57", "name": "replace use of fixed size rte_mempcy", "version": 2, "mbox": "https://patches.dpdk.org/series/31340/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/137735/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/137735/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 E608443C12;\n\tFri, 1 Mar 2024 18:22:39 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D20C74346F;\n\tFri, 1 Mar 2024 18:18:17 +0100 (CET)", "from mail-pl1-f173.google.com (mail-pl1-f173.google.com\n [209.85.214.173])\n by mails.dpdk.org (Postfix) with ESMTP id B715543412\n for <dev@dpdk.org>; Fri, 1 Mar 2024 18:17:52 +0100 (CET)", "by mail-pl1-f173.google.com with SMTP id\n d9443c01a7336-1dc49afb495so22720895ad.2\n for <dev@dpdk.org>; Fri, 01 Mar 2024 09:17:52 -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.17.51\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 01 Mar 2024 09:17:51 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709313472;\n x=1709918272; 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=0X2ZlNRffbU8lumW96o5qjKL55GvanO22xjlz/60sIs=;\n b=atR+cTxU9VVxtDKQ0lA6Pdqi5tEpPezfiBffA0RhrnHvw6Np0l4avU3PWmkNaauzVv\n PEpHrDVOOOSA4mdWNEdymvGmG6V8uy0zuB0A72Dj+4VTo2Q5Im5oO+Qh8mDjio6lWmY1\n UgbZqwT4JMMX878+lnCdamSd8z/MGljdhfjhQxMRGm7h9dl/20YVbvPmnN2345ux+LDm\n l3bm3LA+S5OHzocHf60hVKFs+gtENxtqUaZDBFOP0DziR46te6wlqgL7NhfN1QqhS3T+\n HoI3nbfaPQV+u2HAWGc+NV/pUsFmYde/CeJ5CuDwVumARRMWSqeWpUeTmGK4j5Muxb4b\n 0NCQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1709313472; x=1709918272;\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=0X2ZlNRffbU8lumW96o5qjKL55GvanO22xjlz/60sIs=;\n b=MMulgVZSkSnDOx6uPoEN8wZJ3f7j5FcLoMdzJq3JRwtMJhtNLfV0twS194HNNEz4Ow\n CktrPpSIyTkEoXRY1vq+ARK9qOYxdrLDpVWzKrg62YAyvC3rqSpYN9+23MzWTw+WwXnq\n OWwkIydrbObME3C3fsPvf3fu146nbo20tcM3hXHzcoCk6K39eibyVff3KD1iRbb822ph\n HAL/1y0FfhU7PYjmvTlDSGt6F4lwfhMvCyV2sNTPV1dpg3/GHysG3qEOjFf5LhKoIkUy\n YIjC2YjkpQDrNGjN2SwvzqDlNwbyvIZNsMBvZLeKI5A3G6wJV7x40zT/W8thkfYQEnbq\n pTHA==", "X-Gm-Message-State": "AOJu0YyRO9cvnDqYZ+UJqCtmwOYxVkd+qXX7hA71+NAfZCrQYfbVgQh8\n AeBcI19nJVvbICo4uP8f1tO+jLchqxlI1k0RfBZDnEGs8XwF2ePv5qn04fUcqPW08NnKer+PMwR\n WVPL2IA==", "X-Google-Smtp-Source": "\n AGHT+IEKgpkvXpWxA5zOm91U0L7GtY0i9MwuCaFBKPA1KR3oT96aW5NCWWtOgzimqFyNbFAq3Uzy8w==", "X-Received": "by 2002:a17:902:da87:b0:1dc:8ba1:edc3 with SMTP id\n j7-20020a170902da8700b001dc8ba1edc3mr2817468plx.9.1709313472047;\n Fri, 01 Mar 2024 09:17:52 -0800 (PST)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Abdullah Sevincer <abdullah.sevincer@intel.com>", "Subject": "[PATCH v2 45/71] event/dlb2: replace use of fixed size rte_memcpy", "Date": "Fri, 1 Mar 2024 09:15:41 -0800", "Message-ID": "<20240301171707.95242-46-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 drivers/event/dlb2/dlb2.c | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)", "diff": "diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c\nindex 271bbce54a3a..5c1cd35dbda6 100644\n--- a/drivers/event/dlb2/dlb2.c\n+++ b/drivers/event/dlb2/dlb2.c\n@@ -225,7 +225,7 @@ dlb2_hw_query_resources(struct dlb2_eventdev *dlb2)\n \thandle->info.hw_rsrc_max.reorder_window_size =\n \t\tdlb2->hw_rsrc_query_results.num_hist_list_entries;\n \n-\trte_memcpy(dlb2_info, &handle->info.hw_rsrc_max, sizeof(*dlb2_info));\n+\tmemcpy(dlb2_info, &handle->info.hw_rsrc_max, sizeof(*dlb2_info));\n \n \treturn 0;\n }\n@@ -1671,7 +1671,7 @@ dlb2_hw_create_ldb_port(struct dlb2_eventdev *dlb2,\n \tqm_port->issued_releases = 0;\n \n \t/* Save config message too. */\n-\trte_memcpy(&qm_port->cfg.ldb, &cfg, sizeof(qm_port->cfg.ldb));\n+\tmemcpy(&qm_port->cfg.ldb, &cfg, sizeof(qm_port->cfg.ldb));\n \n \t/* update state */\n \tqm_port->state = PORT_STARTED; /* enabled at create time */\n@@ -1872,7 +1872,7 @@ dlb2_hw_create_dir_port(struct dlb2_eventdev *dlb2,\n \tqm_port->issued_releases = 0;\n \n \t/* Save config message too. */\n-\trte_memcpy(&qm_port->cfg.dir, &cfg, sizeof(qm_port->cfg.dir));\n+\tmemcpy(&qm_port->cfg.dir, &cfg, sizeof(qm_port->cfg.dir));\n \n \t/* update state */\n \tqm_port->state = PORT_STARTED; /* enabled at create time */\n", "prefixes": [ "v2", "45/71" ] }{ "id": 137735, "url": "