From patchwork Sat Aug 26 14:17:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 13366600 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4747CC83F11 for ; Sat, 26 Aug 2023 14:18:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232836AbjHZOSU (ORCPT ); Sat, 26 Aug 2023 10:18:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231702AbjHZOR4 (ORCPT ); Sat, 26 Aug 2023 10:17:56 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEB7E1BF1; Sat, 26 Aug 2023 07:17:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1693059473; bh=p9wxPzkBX/U9hsgDc1RfCKBF9rGMqciKdIe84iThn1Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=of6eLqFOytrGL0ucnveCNrA8TbPRjZMIUar0YkVazreoEaBO8/5FIeDUfHz/LwHIB yJVa/w57CDkp08R2nk5ATk82sdSMDBaeLim6/ZJknGH1BE2BCi+PrQYIKw+mqbvJxW ZvAXQFwCXMULcCqyOEVyeoaXAzUVFZqZXf+SpkoPkdh8hViIFTBnaOrnFsoAa5asnX 9T5ci1k+cXntpnGLtyiFkNvM+XSsNnpTz1xYQ/wqybNnZRL7KvEWhdpMTS00nR9RqF JQRlOy5ac8WGmk//ixXOoIWhxDhBEqQ/YqSOFqc5Vgqkdn67sqzw9gcmjYpqUtNHvZ J+LHMcTQTj6iA== Received: from localhost.localdomain (unknown [182.253.126.208]) by gnuweeb.org (Postfix) with ESMTPSA id 4263124B1C7; Sat, 26 Aug 2023 21:17:49 +0700 (WIB) From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Nicholas Rosenberg , Michael William Jonathan , GNU/Weeb Mailing List , io-uring Mailing List , Linux Kernel Mailing List Subject: [PATCH liburing v1 1/2] liburing.map: Remove `io_uring_queue_init_mem()` from v2.4 Date: Sat, 26 Aug 2023 21:17:33 +0700 Message-Id: <20230826141734.1488852-2-ammarfaizi2@gnuweeb.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230826141734.1488852-1-ammarfaizi2@gnuweeb.org> References: <20230826141734.1488852-1-ammarfaizi2@gnuweeb.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org io_uring_queue_init_mem() comes after 2.4 is released, so it should go to 2.5, not 2.4. Fixes: 7449faaf94ddfb5c25a8b6648c22016d880937ff ("setup: add support for io_uring_queue_init_mem()") Signed-off-by: Ammar Faizi --- src/liburing-ffi.map | 1 - src/liburing.map | 1 - 2 files changed, 2 deletions(-) diff --git a/src/liburing-ffi.map b/src/liburing-ffi.map index debeccde924714fc..7021227d0829335c 100644 --- a/src/liburing-ffi.map +++ b/src/liburing-ffi.map @@ -160,25 +160,24 @@ LIBURING_2.4 { io_uring_recvmsg_cmsg_nexthdr; io_uring_recvmsg_validate; io_uring_prep_rw; io_uring_prep_timeout; io_uring_prep_linkat; io_uring_prep_write_fixed; io_uring_prep_poll_add; io_uring_buf_ring_mask; io_uring_register_restrictions; io_uring_prep_write; io_uring_prep_recv; io_uring_prep_msg_ring_cqe_flags; io_uring_prep_msg_ring_fd; io_uring_prep_msg_ring_fd_alloc; io_uring_prep_sendto; - io_uring_queue_init_mem; io_uring_prep_sock_cmd; local: *; }; LIBURING_2.5 { global: io_uring_queue_init_mem; } LIBURING_2.4; diff --git a/src/liburing.map b/src/liburing.map index 248980ea99eb05f9..8dfd5ea39378c4ae 100644 --- a/src/liburing.map +++ b/src/liburing.map @@ -67,22 +67,21 @@ LIBURING_2.3 { io_uring_get_events; io_uring_submit_and_get_events; } LIBURING_2.2; LIBURING_2.4 { global: io_uring_major_version; io_uring_minor_version; io_uring_check_version; io_uring_close_ring_fd; io_uring_enable_rings; io_uring_register_restrictions; io_uring_setup_buf_ring; io_uring_free_buf_ring; - io_uring_queue_init_mem; } LIBURING_2.3; LIBURING_2.5 { global: io_uring_queue_init_mem; } LIBURING_2.4; From patchwork Sat Aug 26 14:17:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 13366601 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5DAE3C83F16 for ; Sat, 26 Aug 2023 14:18:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231328AbjHZOSV (ORCPT ); Sat, 26 Aug 2023 10:18:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232336AbjHZOSD (ORCPT ); Sat, 26 Aug 2023 10:18:03 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F71A211B; Sat, 26 Aug 2023 07:17:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1693059477; bh=2ci3/TzUgZ042ylTcPOiTHqsCu2NGYka3bxTTS6mPrY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=MSCSrMfhxCXcIL8WiZzyKUIpisnRkMpoPVlr6np5PqpnaMapPzQTWdmi7pJ+2hIIn upDqD31reoKkw+aysJVs6S15tJx1hSyUWZtzfSUD+gLFC9lwpBDGnK78i3UKlsPG8f dFXglA140W/fy3NTr+e4EkjvqlFn6jFjeL5H2kMQWJl+Jkg1uRQ99JtJ+yeVLk2dMd 4DeiG/1848Ga0a9U5mcwvoY0vseHPsisG3YEIi3SUzbpP1FZCS/B0xpKQ1PT/8Y+Fg FO/IOfEUF9NPrlhK3v48L6ybYsMz6mU/aG4VU0Mq9wcUxcSiyPFaEVnNYdWALnLiJO fPG3XehRRxiZA== Received: from localhost.localdomain (unknown [182.253.126.208]) by gnuweeb.org (Postfix) with ESMTPSA id 4BB7624B1CB; Sat, 26 Aug 2023 21:17:53 +0700 (WIB) From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Nicholas Rosenberg , Michael William Jonathan , GNU/Weeb Mailing List , io-uring Mailing List , Linux Kernel Mailing List , Breno Leitao Subject: [PATCH liburing v1 2/2] liburing-ffi.map: Move `io_uring_prep_sock_cmd()` to v2.5 Date: Sat, 26 Aug 2023 21:17:34 +0700 Message-Id: <20230826141734.1488852-3-ammarfaizi2@gnuweeb.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230826141734.1488852-1-ammarfaizi2@gnuweeb.org> References: <20230826141734.1488852-1-ammarfaizi2@gnuweeb.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org io_uring_prep_sock_cmd() comes after v2.4 is released, so it should go to v2.5. Cc: Breno Leitao Fixes: 2459fef094113fc0e4928d9190315852bda3c03a ("io_uring_prep_cmd: Create a new helper for command ops") Signed-off-by: Ammar Faizi Reviewed-by: Breno Leitao --- src/liburing-ffi.map | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/liburing-ffi.map b/src/liburing-ffi.map index 7021227d0829335c..69488bf8a7087db8 100644 --- a/src/liburing-ffi.map +++ b/src/liburing-ffi.map @@ -160,24 +160,24 @@ LIBURING_2.4 { io_uring_recvmsg_cmsg_nexthdr; io_uring_recvmsg_validate; io_uring_prep_rw; io_uring_prep_timeout; io_uring_prep_linkat; io_uring_prep_write_fixed; io_uring_prep_poll_add; io_uring_buf_ring_mask; io_uring_register_restrictions; io_uring_prep_write; io_uring_prep_recv; io_uring_prep_msg_ring_cqe_flags; io_uring_prep_msg_ring_fd; io_uring_prep_msg_ring_fd_alloc; io_uring_prep_sendto; - io_uring_prep_sock_cmd; local: *; }; LIBURING_2.5 { global: io_uring_queue_init_mem; + io_uring_prep_sock_cmd; } LIBURING_2.4;