From patchwork Sun Feb 4 14:59:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sagi Grimberg X-Patchwork-Id: 10199327 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 50C5660318 for ; Sun, 4 Feb 2018 14:59:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 37F562853C for ; Sun, 4 Feb 2018 14:59:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2BEAA285A4; Sun, 4 Feb 2018 14:59:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9BCA62853C for ; Sun, 4 Feb 2018 14:59:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751651AbeBDO7j (ORCPT ); Sun, 4 Feb 2018 09:59:39 -0500 Received: from mail-wm0-f41.google.com ([74.125.82.41]:40100 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750916AbeBDO7j (ORCPT ); Sun, 4 Feb 2018 09:59:39 -0500 Received: by mail-wm0-f41.google.com with SMTP id v123so21146574wmd.5 for ; Sun, 04 Feb 2018 06:59:38 -0800 (PST) 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=8TZMqVDIuYGpv2n7cyp7H934B4tbGTuqir2GGCNMgIo=; b=BxjTx9ZOAI1pcl4qxGJzF/1u981UE6EeEt3mxXWt4KwNGqx6vNiC7Rb8ioFrlUzWZG INgNtCavsCtZZtcUETiBYO7dykLvAn320ZBk0mKzrd+JkMtBlx7PPWon7pYQTmIeJH9W ZkyFOfqCA7bwDuEX6JC4s8YlyvV98hPc94sZIL2Z3MLNNict2N8iijuLDE9nClNjH9CC HyqAsqYdAiW6lDc8W3EfcFg+BaRwVD03V0aQ7WjY0Z9qvId09Lx/uo2C27hQM31J36ag M2vtg+7P6LAxlR6ooADm+ALP7Zu75Czm42I8VEwAYx4FQVMC7/f2sqv+g5ON3g5ss0EV OVDQ== X-Gm-Message-State: APf1xPADdHPLSSbQk6qiMkx0n9pYOg/nUcgfZwqTANRO1Cz2aakMj0lU tJ4p94jljHmH3Q+1qtqGbPAk+riJ X-Google-Smtp-Source: AH8x2260oWqEgSHIjlTMSsPGieJZ2sLPzEABHshX3swLEDC+vruBU9UhFRphfLwYCvpwlHq1wKDRHg== X-Received: by 10.28.218.12 with SMTP id r12mr3445390wmg.157.1517756378166; Sun, 04 Feb 2018 06:59:38 -0800 (PST) Received: from [192.168.64.117] (bzq-219-42-90.isdn.bezeqint.net. [62.219.42.90]) by smtp.gmail.com with ESMTPSA id 7sm4451282wmq.42.2018.02.04.06.59.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Feb 2018 06:59:37 -0800 (PST) Subject: Re: Working NVMeoF Config From 4.12.5 Fails With 4.15.0 To: Parav Pandit , "Gruher, Joseph R" , "linux-nvme@lists.infradead.org" Cc: "linux-rdma@vger.kernel.org" References: From: Sagi Grimberg Message-ID: Date: Sun, 4 Feb 2018 16:59:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP > I didn't read much email details. > However there was a mention and git bisect done by Logan Gunthorpe in recent email in [1]. > Where he mentioned possible commit that introduced the regression. > 05e0cc84e00c net/mlx5: Fix get vector affinity helper function > > [1] https://www.spinics.net/lists/linux-rdma/msg60298.html > > You might want to try to revert that commit and attempt. > Might be same issue. Might be different, not sure. Indeed, Does this fix your issue? --- return NULL; -- -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h index a0610427e168..b82c4ae92411 100644 --- a/include/linux/mlx5/driver.h +++ b/include/linux/mlx5/driver.h @@ -1238,7 +1238,7 @@ mlx5_get_vector_affinity(struct mlx5_core_dev *dev, int vector) int eqn; int err; - err = mlx5_vector2eqn(dev, vector, &eqn, &irq); + err = mlx5_vector2eqn(dev, MLX5_EQ_VEC_COMP_BASE + vector, &eqn, &irq); if (err)