Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4002964pxk; Tue, 29 Sep 2020 11:31:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqWenKdyUhIYC6bs+aTYJJevwQg50zGVumk0KySIqEtYfOr+8WqUoNOjlqsA+fhDHTnjeP X-Received: by 2002:aa7:da0f:: with SMTP id r15mr4595726eds.321.1601404316803; Tue, 29 Sep 2020 11:31:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601404316; cv=none; d=google.com; s=arc-20160816; b=cbpdelPGCAqhGkaN5Mr7iAjA2w7Nwu0h2KauK/9Rsj4/TCM3rU0ax2iEhd7TxGaADo +Q+6QpSsrFrio0gED/FMHABBQD2nM2OiAiIZKmYyrXaCDqvspcBSCQfM5qoxVF5Wg9uS tBsQXshvqyxATkI1+icwbHC6xyLEu/k1nC33so6x8ORoQTch/bGXcfguPEKWPmbkmqiQ haYiwKiJm5Suhxv0B/hPMJTCRIIgpI3Vrn2jKFwj+wlieLEcI9w4ngCLNfJ5FXPJt38F KoUVUxjyUJeatyYKhBWlb4xBfDsUxfgzL6KDm429IVfPJFDhX3IoTeJnwRXhAmfdwOby C4JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=cv+VtdAufAAEWbfdy6MfzzVxHEHSITCss8O60CesZRI=; b=R08V/9TQQNu/s1PQyAjRJin83FDqNZ7/CgklwB0ynXjXk7nVEdy+gMAMg+pHToiHYz vowC8CyuDTwIQ0xM87dFtTBDwsGdKQDhoJQ0EdG+AXlmZMJaElKuPqGqdgXUbUFnLYEa pes2aUIxQvSKpnWoTwB/6ax33qQIImfZywThBfSy4NxmADtP6X2IeMBLOL6x55arE1Bj VjpFaT0xYsMhxJ1MqwP0qvuL1MobdKJv++H4iwEc7yHhwYca1VVSd1K/MesMExoGSBls zft4P7M08PhorzP/xcHX5DbKFldrK5RS/wR6AwFcFLs9PQhLxj/kLzHxyMmi69cDVP9M NbQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n25si3265064edt.464.2020.09.29.11.31.33; Tue, 29 Sep 2020 11:31:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728211AbgI2SYx (ORCPT + 99 others); Tue, 29 Sep 2020 14:24:53 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:46567 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727605AbgI2SYx (ORCPT ); Tue, 29 Sep 2020 14:24:53 -0400 Received: by mail-pf1-f195.google.com with SMTP id b124so5373732pfg.13; Tue, 29 Sep 2020 11:24:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=cv+VtdAufAAEWbfdy6MfzzVxHEHSITCss8O60CesZRI=; b=O+hwRRZpmuer0Q6VQPfOuW6CEk1eiJoplBPWiTQpGHFX3ouyT+GWyotWfN1GJ8MnR9 CMAvUx+p5T0FhpGxiF/QU7XuR6szMlN+RpPi9JtNdywnisREk5PrqXSUvPMEqUtjIFBa eKvNu24vrc4XFThAJYPiQMAFqMsLitaO+uPiJoIbTtJ6glqQQuilxpF22/x0Vjpzx5t+ rSukMrDQPVYSei0QKVZLB5XH8o/rfwiJqnn5ezfIv3aZso20rPOlbo2APQZ5D8jTX4xE t+wRt0U0Xz6lELXZsTc9y0Gvev51dVpgYNXAI92veSM7HrocpivEKXuXTSRUcOo/Otwo FDSg== X-Gm-Message-State: AOAM530wHuq7EaKPFBuFTr0BhtJ0sqa/lTkX+gtchWU52rCN9pn+KTmb kOlBgY6wRnc9CpfvtCIQgYVmZUQUowk= X-Received: by 2002:a17:902:9041:b029:d0:cc02:8540 with SMTP id w1-20020a1709029041b02900d0cc028540mr5533911plz.41.1601403891897; Tue, 29 Sep 2020 11:24:51 -0700 (PDT) Received: from ?IPv6:2601:647:4802:9070:8ff9:9348:1454:22ce? ([2601:647:4802:9070:8ff9:9348:1454:22ce]) by smtp.gmail.com with ESMTPSA id m5sm5229070pjn.19.2020.09.29.11.24.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 29 Sep 2020 11:24:51 -0700 (PDT) Subject: Re: [PATCH blk-next 1/2] blk-mq-rdma: Delete not-used multi-queue RDMA map queue code To: Leon Romanovsky , Christoph Hellwig Cc: Doug Ledford , Jason Gunthorpe , Jens Axboe , Keith Busch , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-rdma@vger.kernel.org References: <20200929091358.421086-1-leon@kernel.org> <20200929091358.421086-2-leon@kernel.org> <20200929102046.GA14445@lst.de> <20200929103549.GE3094@unreal> From: Sagi Grimberg Message-ID: <879916e4-b572-16b9-7b92-94dba7e918a3@grimberg.me> Date: Tue, 29 Sep 2020 11:24:49 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200929103549.GE3094@unreal> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>> From: Leon Romanovsky >>> >>> The RDMA vector affinity code is not backed up by any driver and always >>> returns NULL to every ib_get_vector_affinity() call. >>> >>> This means that blk_mq_rdma_map_queues() always takes fallback path. >>> >>> Fixes: 9afc97c29b03 ("mlx5: remove support for ib_get_vector_affinity") >>> Signed-off-by: Leon Romanovsky >> >> So you guys totally broken the nvme queue assignment without even >> telling anyone? Great job! > > Who is "you guys" and it wasn't silent either? I'm sure that Sagi knows the craft. > https://lore.kernel.org/linux-rdma/20181224221606.GA25780@ziepe.ca/ > > commit 759ace7832802eaefbca821b2b43a44ab896b449 > Author: Sagi Grimberg > Date: Thu Nov 1 13:08:07 2018 -0700 > > i40iw: remove support for ib_get_vector_affinity > > .... > > commit 9afc97c29b032af9a4112c2f4a02d5313b4dc71f > Author: Sagi Grimberg > Date: Thu Nov 1 09:13:12 2018 -0700 > > mlx5: remove support for ib_get_vector_affinity > > Thanks Yes, basically usage of managed affinity caused people to report regressions not being able to change irq affinity from procfs. Back then I started a discussion with Thomas to make managed affinity to still allow userspace to modify this, but this was dropped at some point. So currently rdma cannot do automatic irq affinitization out of the box.