Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2215968/?format=api
{ "id": 2215968, "url": "http://patchwork.ozlabs.org/api/patches/2215968/?format=api", "web_url": "http://patchwork.ozlabs.org/project/ltp/patch/20260325-infiniband_rdma-v1-1-9c1bd3e69d29@suse.com/", "project": { "id": 59, "url": "http://patchwork.ozlabs.org/api/projects/59/?format=api", "name": "Linux Test Project development", "link_name": "ltp", "list_id": "ltp.lists.linux.it", "list_email": "ltp@lists.linux.it", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260325-infiniband_rdma-v1-1-9c1bd3e69d29@suse.com>", "list_archive_url": null, "date": "2026-03-25T15:25:34", "name": "[1/2] lapi: Add fallback rdma_user_cm.h definitions", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "89fa061f5261fda84aced22bb3873cd63ae0ca42", "submitter": { "id": 83220, "url": "http://patchwork.ozlabs.org/api/people/83220/?format=api", "name": "Andrea Cervesato", "email": "andrea.cervesato@suse.de" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/ltp/patch/20260325-infiniband_rdma-v1-1-9c1bd3e69d29@suse.com/mbox/", "series": [ { "id": 497464, "url": "http://patchwork.ozlabs.org/api/series/497464/?format=api", "web_url": "http://patchwork.ozlabs.org/project/ltp/list/?series=497464", "date": "2026-03-25T15:25:33", "name": "Add infiniband testing suite", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/497464/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2215968/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2215968/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "ltp@lists.linux.it" ], "Delivered-To": [ "patchwork-incoming@legolas.ozlabs.org", "ltp@picard.linux.it" ], "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256\n header.s=susede2_rsa header.b=s3U3C7sO;\n\tdkim=fail reason=\"signature verification failed\" header.d=suse.de\n header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519\n header.b=u/mdZtNh;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key)\n header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa\n header.b=s3U3C7sO;\n\tdkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=u/mdZtNh;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=2001:1418:10:5::2; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)", "smtp-out1.suse.de;\n dkim=pass header.d=suse.de header.s=susede2_rsa header.b=s3U3C7sO;\n dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=\"u/mdZtNh\"" ], "Received": [ "from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fgrMs1SnLz1y1K\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 02:26:00 +1100 (AEDT)", "from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 702403E2FFF\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 25 Mar 2026 16:25:58 +0100 (CET)", "from in-6.smtp.seeweb.it (in-6.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::6])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id 0EEC93E5780\n for <ltp@lists.linux.it>; Wed, 25 Mar 2026 16:25:42 +0100 (CET)", "from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by in-6.smtp.seeweb.it (Postfix) with ESMTPS id 6DC7C1400962\n for <ltp@lists.linux.it>; Wed, 25 Mar 2026 16:25:41 +0100 (CET)", "from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org\n [IPv6:2a07:de40:b281:104:10:150:64:97])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-out1.suse.de (Postfix) with ESMTPS id 37B014D23D;\n Wed, 25 Mar 2026 15:25:35 +0000 (UTC)", "from imap1.dmz-prg2.suse.org (localhost [127.0.0.1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 1C46944482;\n Wed, 25 Mar 2026 15:25:35 +0000 (UTC)", "from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167])\n by imap1.dmz-prg2.suse.org with ESMTPSA id uH8iBW/+w2nhBAAAD6G6ig\n (envelope-from <andrea.cervesato@suse.de>); Wed, 25 Mar 2026 15:25:35 +0000" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n t=1774452335;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=nFWkWRQOsmxAq8xuR5rREiChaXymsSVAfXqh4hVRIoE=;\n b=s3U3C7sOj1UA/0wBHII8OwgGeN93Oy3tO5F66aEBqwFeXIfyKrEJyDwBw85oL7LVO42c1m\n evdnEEwtobbVYjyY7bicg6fFORT3KomhC1DqCNjvfUbMjawwyiJP+AgoJYEbk/ojuOHxhF\n P+JyGxPmq0gIu4aYpT4S7y5GRE/IDYU=", "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_ed25519; t=1774452335;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=nFWkWRQOsmxAq8xuR5rREiChaXymsSVAfXqh4hVRIoE=;\n b=u/mdZtNhIl2stzjOMzcdsKQh9hxgc4GufPduyNTfFYLmeXdb2z/mk5StFPEmGLxafiVypg\n g2iuLBsIcmlpFTDw==", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n t=1774452335;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=nFWkWRQOsmxAq8xuR5rREiChaXymsSVAfXqh4hVRIoE=;\n b=s3U3C7sOj1UA/0wBHII8OwgGeN93Oy3tO5F66aEBqwFeXIfyKrEJyDwBw85oL7LVO42c1m\n evdnEEwtobbVYjyY7bicg6fFORT3KomhC1DqCNjvfUbMjawwyiJP+AgoJYEbk/ojuOHxhF\n P+JyGxPmq0gIu4aYpT4S7y5GRE/IDYU=", "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_ed25519; t=1774452335;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=nFWkWRQOsmxAq8xuR5rREiChaXymsSVAfXqh4hVRIoE=;\n b=u/mdZtNhIl2stzjOMzcdsKQh9hxgc4GufPduyNTfFYLmeXdb2z/mk5StFPEmGLxafiVypg\n g2iuLBsIcmlpFTDw==" ], "From": "Andrea Cervesato <andrea.cervesato@suse.de>", "Date": "Wed, 25 Mar 2026 16:25:34 +0100", "MIME-Version": "1.0", "Message-Id": "<20260325-infiniband_rdma-v1-1-9c1bd3e69d29@suse.com>", "References": "<20260325-infiniband_rdma-v1-0-9c1bd3e69d29@suse.com>", "In-Reply-To": "<20260325-infiniband_rdma-v1-0-9c1bd3e69d29@suse.com>", "To": "Linux Test Project <ltp@lists.linux.it>", "X-Mailer": "b4 0.14.2", "X-Developer-Signature": "v=1; a=ed25519-sha256; t=1774452334; l=2420;\n i=andrea.cervesato@suse.com; s=20251210; h=from:subject:message-id;\n bh=IqfvXw2z9P3+X8yckUR/hLntVUnGz8n6clwtzDEcvdI=;\n b=UOMCVbSBLQ+NEJ4R0CTmA9z0Ocn+LtO76os8fIXm0xY7IbVj7z2QUYJiWYJ8bYZTb4u68agtq\n wO8wFK4Vf7KAZWDMLXliSXrFjHfoOjtlCPtmZhR7BIerkdzGRM1z3IC", "X-Developer-Key": "i=andrea.cervesato@suse.com; a=ed25519;\n pk=zKY+6GCauOiuHNZ//d8PQ/UL4jFCTKbXrzXAOQSLevI=", "X-Spamd-Result": "default: False [-4.51 / 50.00]; BAYES_HAM(-3.00)[99.99%];\n NEURAL_HAM_LONG(-1.00)[-1.000];\n R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519];\n NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain];\n MX_GOOD(-0.01)[]; FUZZY_RATELIMITED(0.00)[rspamd.com];\n RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[];\n RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from];\n RCVD_VIA_SMTP_AUTH(0.00)[];\n SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from];\n MIME_TRACE(0.00)[0:+];\n DNSWL_BLOCKED(0.00)[2a07:de40:b281:106:10:150:64:167:received,2a07:de40:b281:104:10:150:64:97:from];\n RCPT_COUNT_TWO(0.00)[2];\n DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519];\n FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[];\n RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:106:10:150:64:167:received];\n RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[];\n DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,imap1.dmz-prg2.suse.org:rdns,suse.com:mid,suse.com:email];\n TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[suse.de:+]", "X-Rspamd-Action": "no action", "X-Spam-Score": "-4.51", "X-Spam-Level": "", "X-Rspamd-Server": "rspamd1.dmz-prg2.suse.org", "X-Rspamd-Queue-Id": "37B014D23D", "X-Spam-Status": "No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS shortcircuit=no\n autolearn=disabled version=4.0.1", "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on in-6.smtp.seeweb.it", "X-Virus-Scanned": "clamav-milter 1.0.9 at in-6.smtp.seeweb.it", "X-Virus-Status": "Clean", "Subject": "[LTP] [PATCH 1/2] lapi: Add fallback rdma_user_cm.h definitions", "X-BeenThere": "ltp@lists.linux.it", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "Linux Test Project <ltp.lists.linux.it>", "List-Unsubscribe": "<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>", "List-Archive": "<http://lists.linux.it/pipermail/ltp/>", "List-Post": "<mailto:ltp@lists.linux.it>", "List-Help": "<mailto:ltp-request@lists.linux.it?subject=help>", "List-Subscribe": "<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it", "Sender": "\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>" }, "content": "From: Andrea Cervesato <andrea.cervesato@suse.com>\n\nAdd LAPI header with fallback definitions for RDMA user CM structures\nand command enums, used when <rdma/rdma_user_cm.h> is not available.\n\nAdd the corresponding configure check for rdma/rdma_user_cm.h.\n\nSigned-off-by: Andrea Cervesato <andrea.cervesato@suse.com>\n---\n configure.ac | 1 +\n include/lapi/rdma_user_cm.h | 72 +++++++++++++++++++++++++++++++++++++++++++++\n 2 files changed, 73 insertions(+)", "diff": "diff --git a/configure.ac b/configure.ac\nindex 9d6ec7f13ad421aa35840ebc65745c962b11e1db..8f67018dc692685d88acfb51232446659c1eeb3d 100644\n--- a/configure.ac\n+++ b/configure.ac\n@@ -85,6 +85,7 @@ AC_CHECK_HEADERS_ONCE([ \\\n linux/userfaultfd.h \\\n netinet/sctp.h \\\n pthread.h \\\n+ rdma/rdma_user_cm.h \\\n sys/epoll.h \\\n sys/fanotify.h \\\n sys/inotify.h \\\ndiff --git a/include/lapi/rdma_user_cm.h b/include/lapi/rdma_user_cm.h\nnew file mode 100644\nindex 0000000000000000000000000000000000000000..801dd83ec0df215901a86855bc51ad2b416d9855\n--- /dev/null\n+++ b/include/lapi/rdma_user_cm.h\n@@ -0,0 +1,72 @@\n+/* SPDX-License-Identifier: GPL-2.0-or-later */\n+/*\n+ * Copyright (c) 2026 Linux Test Project\n+ */\n+\n+#ifndef LAPI_RDMA_USER_CM_H__\n+#define LAPI_RDMA_USER_CM_H__\n+\n+#include \"config.h\"\n+\n+#ifdef HAVE_RDMA_RDMA_USER_CM_H\n+# include <rdma/rdma_user_cm.h>\n+#endif\n+\n+#include <netinet/in.h>\n+#include <stdint.h>\n+\n+#ifndef RDMA_USER_CM_ABI_VERSION\n+\n+enum {\n+\tRDMA_USER_CM_CMD_CREATE_ID,\n+\tRDMA_USER_CM_CMD_DESTROY_ID,\n+\tRDMA_USER_CM_CMD_BIND_IP,\n+\tRDMA_USER_CM_CMD_RESOLVE_IP,\n+\tRDMA_USER_CM_CMD_RESOLVE_ROUTE,\n+\tRDMA_USER_CM_CMD_QUERY_ROUTE,\n+\tRDMA_USER_CM_CMD_CONNECT,\n+\tRDMA_USER_CM_CMD_LISTEN,\n+};\n+\n+enum rdma_ucm_port_space {\n+\tRDMA_PS_IPOIB = 0x0002,\n+};\n+\n+struct rdma_ucm_cmd_hdr {\n+\tuint32_t cmd;\n+\tuint16_t in;\n+\tuint16_t out;\n+};\n+\n+struct rdma_ucm_create_id {\n+\tuint64_t uid;\n+\tuint64_t response;\n+\tuint16_t ps;\n+\tuint8_t qp_type;\n+\tuint8_t reserved[5];\n+};\n+\n+struct rdma_ucm_create_id_resp {\n+\tuint32_t id;\n+};\n+\n+struct rdma_ucm_destroy_id {\n+\tuint64_t response;\n+\tuint32_t id;\n+\tuint32_t reserved;\n+};\n+\n+struct rdma_ucm_bind_ip {\n+\tuint64_t response;\n+\tstruct sockaddr_in6 addr;\n+\tuint32_t id;\n+};\n+\n+struct rdma_ucm_listen {\n+\tuint32_t id;\n+\tuint32_t backlog;\n+};\n+\n+#endif /* RDMA_USER_CM_ABI_VERSION */\n+\n+#endif /* LAPI_RDMA_USER_CM_H__ */\n", "prefixes": [ "1/2" ] }