Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp21365008rwd; Thu, 29 Jun 2023 15:10:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4NUC8m5mNymrkEcpaXqyvQWRhnCT3HYBoCk9gRtlURH0J/VaAvzItE7bNEtRrDLF2JKMTN X-Received: by 2002:a6b:6b02:0:b0:783:581f:d1f0 with SMTP id g2-20020a6b6b02000000b00783581fd1f0mr853122ioc.16.1688076612736; Thu, 29 Jun 2023 15:10:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688076612; cv=none; d=google.com; s=arc-20160816; b=HEVZCsGqw8ykxU6OydgqrCqG0I7jwpIUeGuGTIJK0bunedlRdXIGHOTRsVmKeAQ9hp QleQ3JKJr9+7kH2M/CaFa98SMG4jT0iwiBisQon5uD9wot086UISoWDYtqotM/HcDV46 tYu4g0VeRQSl5BGaZAZXRM5GDjmPGg9LNujwvgMtSsd/ijsBqnkS1eKxwT+rhOEEkUsM aujs97kA/wsnBjCh70yl+OqAOx0CW5KB6wJrUFjTa+p7JAgMsV8gftSsV1Hg0my2z0wu YQXnHkReRQWhehZRJeYPpirPqhKZhsViOshIKYrY3uBzaKK7HyOvIbdk7uTUgmyED3+0 sU0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=5sXNz3T27fieAIRTR48zTnONuZ1yBFOaZf/CPHZQ27c=; fh=58bZENdIIuNlN2AMUJsNyG+AL1ukT/8we6UKGeyK27I=; b=M/fMOcedvKVc8sWwoZXDhqiX6UA6Eu+0TmSG0xBP/Lv6+vPIUq2cw1LyIsRKoHdwox qvs5YojgJKucbj/SMgulyQJEpCPuI4Vy3WEC/6USq1P72dqqdSTyXDGEsf8mzvfsezzz 3NZp6nboUaRrnTW+owFGj8s96MWzTR+HekqXmp1bA15Yptnq2ph6VZ7N2KMxewSbnVZg CyqUnJP1IxIPvq6Tym0h9goapy4O/Xgf6xAwWp1eBz29woQ+PZidfRshg7G8+xmWvsNz iUj4N6bEscrKf8ViOezZW+hBI4yoPxzrbHn/YCYGwvwTgK5OD2KKk7+vAhZygMQCMzss T5xw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r144-20020a632b96000000b005579d6bdf86si10359215pgr.543.2023.06.29.15.09.59; Thu, 29 Jun 2023 15:10:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231969AbjF2VdS (ORCPT + 99 others); Thu, 29 Jun 2023 17:33:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232096AbjF2VdN (ORCPT ); Thu, 29 Jun 2023 17:33:13 -0400 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E3E72D78; Thu, 29 Jun 2023 14:33:12 -0700 (PDT) Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-313f5f5c6c3so358907f8f.1; Thu, 29 Jun 2023 14:33:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688074391; x=1690666391; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5sXNz3T27fieAIRTR48zTnONuZ1yBFOaZf/CPHZQ27c=; b=fqYdEP12B3fwfPvXsRSCE+l32vUYydG66glkLJquBagDGbkgFeOzcbsSQ96NI1Dk/m j47cWTTUEYVThMSdiOkiOkGVSW8mgruiAhUs9aceolA4kim7VB8Vi+kOInBRY8kSTtLy R+G6iHoOBLQAdwiMpXn3CWb9Manm+ziTItkM0nJy79z+KRE6+CDCd2yULRHw+i7WntgD T4ce11mNYx6+pCMSqqNPURZou72lQUIEiUVIpw/f9/3J7BU7DoagL2vWz1ZxcCYRYqUi XhEGIop1QOfQTgR6i1gUIfalmqt8+Uwjh6UDO4g9EGakZ21Gida3iCFhifuWcDi8jNMx FzDQ== X-Gm-Message-State: ABy/qLZNPRQGtnWU1+XZOQKjOZ8k09a18v/RPZBVUIX7whcWdPIBFKsZ oiU4v4BbLlhUIpn2EJ2Da04= X-Received: by 2002:adf:e5c1:0:b0:314:1e8:40ca with SMTP id a1-20020adfe5c1000000b0031401e840camr598464wrn.3.1688074390598; Thu, 29 Jun 2023 14:33:10 -0700 (PDT) Received: from [10.100.102.14] (46-116-229-137.bb.netvision.net.il. [46.116.229.137]) by smtp.gmail.com with ESMTPSA id b3-20020a05600010c300b00313f9367844sm9301920wrx.88.2023.06.29.14.33.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Jun 2023 14:33:09 -0700 (PDT) Message-ID: <6021d82d-ac0f-cc03-d9b2-19dcf20e48ee@grimberg.me> Date: Fri, 30 Jun 2023 00:33:07 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH net-next v3 10/18] nvme/host: Use sendmsg(MSG_SPLICE_PAGES) rather then sendpage Content-Language: en-US To: David Howells Cc: Aurelien Aptel , netdev@vger.kernel.org, Alexander Duyck , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Willem de Bruijn , David Ahern , Matthew Wilcox , Jens Axboe , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Willem de Bruijn , Keith Busch , Jens Axboe , Christoph Hellwig , Chaitanya Kulkarni , linux-nvme@lists.infradead.org References: <20230620145338.1300897-1-dhowells@redhat.com> <20230620145338.1300897-11-dhowells@redhat.com> <253mt0il43o.fsf@mtr-vdi-124.i-did-not-set--mail-host-address--so-tickle-me> <55023.1688073781@warthog.procyon.org.uk> From: Sagi Grimberg In-Reply-To: <55023.1688073781@warthog.procyon.org.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Sagi Grimberg wrote: > >> simple way to check is to run: >> nvme_trtype=tcp ./check nvme > > It says a lot of: > > nvme/002 (create many subsystems and test discovery) [not run] > nvme is not available > nvme_trtype=tcp is not supported in this test > nvme/003 (test if we're sending keep-alives to a discovery controller) [not run] > nvme is not available > nvme/004 (test nvme and nvmet UUID NS descriptors) [not run] > nvme is not available > nvme/005 (reset local loopback target) [not run] > nvme is not available > ... > > I have the following NVMe config: > > # NVME Support > CONFIG_NVME_COMMON=y > CONFIG_NVME_CORE=y > CONFIG_BLK_DEV_NVME=y > CONFIG_NVME_MULTIPATH=y > # CONFIG_NVME_VERBOSE_ERRORS is not set > # CONFIG_NVME_HWMON is not set > CONFIG_NVME_FABRICS=y > # CONFIG_NVME_RDMA is not set > # CONFIG_NVME_FC is not set > CONFIG_NVME_TCP=y > CONFIG_NVME_AUTH=y > CONFIG_NVME_TARGET=y > CONFIG_NVME_TARGET_PASSTHRU=y > CONFIG_NVME_TARGET_LOOP=y > # CONFIG_NVME_TARGET_RDMA is not set > # CONFIG_NVME_TARGET_FC is not set > CONFIG_NVME_TARGET_TCP=y > CONFIG_NVME_TARGET_AUTH=y > # end of NVME Support > CONFIG_RTC_NVMEM=y > CONFIG_NVMEM=y > # CONFIG_NVMEM_SYSFS is not set > # CONFIG_NVMEM_LAYOUT_SL28_VPD is not set > # CONFIG_NVMEM_LAYOUT_ONIE_TLV is not set > # CONFIG_NVMEM_RMEM is not set > > Can you tell me what I'm missing? install nvme-cli. nvme/010 is enough to reproduce I think: nvme_trtype=tcp ./check nvme/010