From patchwork Tue Dec 6 12:18:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kanchan Joshi X-Patchwork-Id: 13065723 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 BF3E6C352A1 for ; Tue, 6 Dec 2022 12:30:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229457AbiLFMaV (ORCPT ); Tue, 6 Dec 2022 07:30:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232490AbiLFMaS (ORCPT ); Tue, 6 Dec 2022 07:30:18 -0500 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 316DB2934F for ; Tue, 6 Dec 2022 04:30:17 -0800 (PST) Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20221206123015epoutp01df22eb1f995cbcee06d1cfeb9a83549d~uNB4dj2v50685806858epoutp01A for ; Tue, 6 Dec 2022 12:30:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20221206123015epoutp01df22eb1f995cbcee06d1cfeb9a83549d~uNB4dj2v50685806858epoutp01A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1670329815; bh=2mwn0Fqg5PmBYIXzudnNDG+eIKTOhTt9uKD8uPipNso=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MrFwRCddNSop7DKhGbFl8d17Y4qM/pXAX67iOyQKPenJs6WjLzIkSbGMH1odQFfW/ l76VgNtZ+1EsSTT3d8CC6hd88kRaP4l0fQ5NPBHt8hfzFMiQdbosEI7RgXNUf2nvPe wpGMoQDVJjTleOTN2FKX9gUzAisuiyn2st9cj4S0= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20221206123015epcas5p343f0b0efb06c6243e9848f9936698a97~uNB362XGP1347113471epcas5p3S; Tue, 6 Dec 2022 12:30:15 +0000 (GMT) Received: from epsmges5p2new.samsung.com (unknown [182.195.38.182]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4NRKWB0VnHz4x9Pp; Tue, 6 Dec 2022 12:30:14 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 4F.67.39477.4D53F836; Tue, 6 Dec 2022 21:30:12 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPA id 20221206123012epcas5p33de3600bbc6effa8e2a08f748cb0eee4~uNB1XkfnM1401814018epcas5p3G; Tue, 6 Dec 2022 12:30:12 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20221206123012epsmtrp2cca541f76ded66a7caac13381cb55709~uNB1W87zz1795117951epsmtrp2X; Tue, 6 Dec 2022 12:30:12 +0000 (GMT) X-AuditID: b6c32a4a-259fb70000019a35-05-638f35d45493 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id F5.9E.18644.4D53F836; Tue, 6 Dec 2022 21:30:12 +0900 (KST) Received: from localhost.localdomain (unknown [107.110.206.5]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20221206123011epsmtip20a86e2ef526cbd9b81e522cc5a89ac2b~uNB0rrXc03142431424epsmtip2Y; Tue, 6 Dec 2022 12:30:11 +0000 (GMT) From: Kanchan Joshi To: axboe@kernel.dk Cc: io-uring@vger.kernel.org, Kanchan Joshi Subject: [PATCH liburing 2/2] test/io_uring_passthrough: cleanup invalid submission test Date: Tue, 6 Dec 2022 17:48:31 +0530 Message-Id: <20221206121831.5528-3-joshi.k@samsung.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221206121831.5528-1-joshi.k@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPKsWRmVeSWpSXmKPExsWy7bCmpu4V0/5kg6vP9S1W3+1ns3jXeo7F 4uj/t2wOzB6Xz5Z69G1ZxejxeZNcAHNUtk1GamJKapFCal5yfkpmXrqtkndwvHO8qZmBoa6h pYW5kkJeYm6qrZKLT4CuW2YO0B4lhbLEnFKgUEBicbGSvp1NUX5pSapCRn5xia1SakFKToFJ gV5xYm5xaV66Xl5qiZWhgYGRKVBhQnbGowebWQv62CrmrLzL1MA4gbWLkZNDQsBEor91HVMX IxeHkMBuRolJy06zQTifGCV+bngL5XxmlHh65wBzFyMHWMvCHzkQ8V2MEpf+9rKBjAIr+nmA A6SGTUBT4sLkUpCwiICwxP6OVhaQMLOAo8T6Y6ogYWGBKInLHfPAwiwCqhIP39eAhHkFzCX6 32xkgrhNXmLmpe/sICWcAhYSTR8tIUoEJU7OfMICYjMDlTRvnc0McoyEwDZ2iQNr5jJC9LpI bNq+HcoWlnh1fAs7hC0l8fndXjYIO1ni0sxzULtKJB7vOQhl20u0nupnhrhYU2L9Ln2IXXwS vb+fMEHCgFeio00IolpR4t6kp9DQFJd4OGMJlO0hMa31GDMknLoZJXbO+cE8gVF+FpIXZiF5 YRbCtgWMzKsYJVMLinPTU4tNC4zyUsvhcZqcn7uJEZzStLx2MD588EHvECMTB+MhRgkOZiUR 3hcbe5OFeFMSK6tSi/Lji0pzUosPMZoCQ3gis5Rocj4wqeaVxBuaWBqYmJmZmVgamxkqifMu ndKRLCSQnliSmp2aWpBaBNPHxMEp1cDktqN7qcXMewePx3ub7PwUc1jmvK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W7ZkLF+p1HmyUnPF5f/XF/95Hr /fqPZ7VsuLVuvz7TDKsX2osXbTyzVv1wREnDrbKUXaF//n5MY21XUd0se91hWdA+GTPNhbv+ HrqWd3fe7TcvK2VFXY5uNlgwcZKkoFlk/uYEy+vb9PxvTlx++lL6u+ZTaZ87mSQfMy/hMHB8 rMRSnJFoqMVcVJwIAKWmXB21AgAA X-CMS-MailID: 20221206123012epcas5p33de3600bbc6effa8e2a08f748cb0eee4 X-Msg-Generator: CA CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221206123012epcas5p33de3600bbc6effa8e2a08f748cb0eee4 References: <20221206121831.5528-1-joshi.k@samsung.com> Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org Just do away with setting IOPOLL as this is not necessary for the test. Signed-off-by: Kanchan Joshi --- test/io_uring_passthrough.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/io_uring_passthrough.c b/test/io_uring_passthrough.c index b58feae..7efdba1 100644 --- a/test/io_uring_passthrough.c +++ b/test/io_uring_passthrough.c @@ -286,8 +286,7 @@ static int test_invalid_passthru_submit(const char *file) struct io_uring_sqe *sqe; struct nvme_uring_cmd *cmd; - ring_flags = IORING_SETUP_IOPOLL | IORING_SETUP_SQE128; - ring_flags |= IORING_SETUP_CQE32; + ring_flags = IORING_SETUP_CQE32 | IORING_SETUP_SQE128; ret = t_create_ring(1, &ring, ring_flags); if (ret != T_SETUP_OK) {