Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3901187pxv; Tue, 13 Jul 2021 06:30:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRZxorJC6KDfe2v1JyOQEFRup4Y7Jse/6JtzNz59NPmhtmIQvFkhTYnS7AbpnQKNOMqCFn X-Received: by 2002:a6b:4f08:: with SMTP id d8mr3256370iob.199.1626183032413; Tue, 13 Jul 2021 06:30:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626183032; cv=none; d=google.com; s=arc-20160816; b=DrkfWIT1RbyPqDHVuEIuyN+y3aOFvHLaK1ZYnmQ2qrgRKcvTaTW254B/ZeixIBo4e3 75sDF68ZrGnIicyQEi92uXdamm0f50v3uLWod3fcTuG06na/sXzxsfF5ykVQL/0Io9Pm d+RiO7qMBH4O1TM9qQTRo+FyAOAXHsVjxeW79rFbef0vz02+WvigB7UJItsbv2DNQGNm tY+JFqVAt3PdBAjhlNctOAznrIBmoPYZqgAgv3gfD15LQ9K6tJiVfGk4jbUOb98knBr6 viF4OXBeQRKFtesem5enFQtl7VgZflCI7SWt92jYhBJcUPtyabulOzEmNy6YhlZevIz4 hiIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=jdeapieNS3PVuhbaSMCjhCNHL9ow03NjgZ6/hSsB7Qg=; b=MzE3c8JIwHPdVoUDVSpHlsXaE5NjJhiBgwME2HBoc+XZ07GmSqM5ZEExqGXU8cUHW9 gLzth9i21r3gkfmWNlF5H8J3hzybx2Y4s/Uak7x8gE6vQaK17dXOxesSSCG8l2U3GBdU 6hGXGTGV+5JcxatQUPPU47Nwvpkf4ipYjAopSH/O2whXXEWQg+WX9MCOR6wfLYS2aPlP 55f4O/eujY8fltohstwPC+220IZ1+AHXDAlRx7f2RW2GCpGmhnFuORu4tT97nI1E150E /Hnfl9258o0nDy9rHp4seH8czbhd9QMkNdswAJ4O3ST+ondaPPL2paZJAQFXifcy4B8C /hrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UJNBB8XS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z12si22575964iow.36.2021.07.13.06.30.19; Tue, 13 Jul 2021 06:30:32 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UJNBB8XS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236484AbhGMNcm (ORCPT + 99 others); Tue, 13 Jul 2021 09:32:42 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:20272 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236466AbhGMNcl (ORCPT ); Tue, 13 Jul 2021 09:32:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626182990; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jdeapieNS3PVuhbaSMCjhCNHL9ow03NjgZ6/hSsB7Qg=; b=UJNBB8XSU4fz6BYgn1iK9Bymu58POh24RLgF1wiH2nMRiYzzCDWY80t+kpbW/e02WnpntE KFrqcKmbpHzuKQUix9LLO6alRyeEKqqZbdsVze2SaM5OIwd0XMmeGQPfkO0cADaiUyWj/e Hh8A0TFZLvR2r/V33SN466cinKFUad4= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-458-RAx637Z5MQeOrtuuPxmUOw-1; Tue, 13 Jul 2021 09:29:49 -0400 X-MC-Unique: RAx637Z5MQeOrtuuPxmUOw-1 Received: by mail-ed1-f71.google.com with SMTP id z3-20020a05640240c3b02903a2e355fd6eso6563371edb.23 for ; Tue, 13 Jul 2021 06:29:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jdeapieNS3PVuhbaSMCjhCNHL9ow03NjgZ6/hSsB7Qg=; b=V7cOE9ZRGwPv1P87FGNP7XVWoXsxNUWvU/mgAmadxA5LRCLpCEzYbJYdS3Awqxj5Vh Erl9HRM98q4Xz7XU+nlD2lpXs/zVur6BwZXoKGh7TJ0IfdsRUN442YYhGDM9kaFnrpfl iYrfUepMtIKpmgkGEtMo6MY2LOL165mYPzu+OSc0B98yY1sUJQ/aM9N1+mIS9eYxeBlx 0RqVmEfUJrw4kApxiApXvR8lMYWejL5u/+ciq4pS0Rplg3A/H6Rg7vfC4Y2N4z+06zXk dTWcSKtSe0WrKqBmY+eW3/O7YD81DLorZrGHgl5ThZAplGHsR+8eUcClMWDndSH3KMaX aLNQ== X-Gm-Message-State: AOAM530IKdABgD6LMxlFSrPcRHwYFt5/zzRSmm5F57cmb2uU1WxMk4ps 3s0OKNw8nwy1yE0NdZbguWXtdKGZEgoH70zjiTelS6ken7ywQtocZ836hUOsxOsP0DAXzx2FkoM S6bTqA5htJexmaBw8A0XSTrJxnNDaR3RxCDkXVy4h X-Received: by 2002:aa7:dcd2:: with SMTP id w18mr5825670edu.145.1626182988598; Tue, 13 Jul 2021 06:29:48 -0700 (PDT) X-Received: by 2002:aa7:dcd2:: with SMTP id w18mr5825614edu.145.1626182988415; Tue, 13 Jul 2021 06:29:48 -0700 (PDT) MIME-Version: 1.0 References: <20210629152746.2953364-1-nitesh@redhat.com> In-Reply-To: From: Nitesh Lal Date: Tue, 13 Jul 2021 09:29:37 -0400 Message-ID: Subject: Re: [PATCH v2 00/14] genirq: Cleanup the usage of irq_set_affinity_hint To: Leon Romanovsky Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, netdev@vger.kernel.org, linux-api@vger.kernel.org, linux-pci@vger.kernel.org, Thomas Gleixner , Jesse Brandeburg , Robin Murphy , Marcelo Tosatti , Ingo Molnar , jbrandeb@kernel.org, frederic@kernel.org, Juri Lelli , Alex Belits , Bjorn Helgaas , rostedt@goodmis.org, peterz@infradead.org, davem@davemloft.net, akpm@linux-foundation.org, sfr@canb.auug.org.au, stephen@networkplumber.org, rppt@linux.vnet.ibm.com, chris.friesen@windriver.com, Marc Zyngier , Neil Horman , pjwaskiewicz@gmail.com, Stefan Assmann , Tomas Henzl , kashyap.desai@broadcom.com, Sumit Saxena , shivasharan.srikanteshwara@broadcom.com, sathya.prakash@broadcom.com, Sreekanth Reddy , suganath-prabu.subramani@broadcom.com, james.smart@broadcom.com, dick.kennedy@broadcom.com, Ken Cox , faisal.latif@intel.com, shiraz.saleem@intel.com, tariqt@nvidia.com, Alaa Hleihel , Kamal Heib , borisp@nvidia.com, saeedm@nvidia.com, benve@cisco.com, govind@gmx.com, jassisinghbrar@gmail.com, ajit.khaparde@broadcom.com, sriharsha.basavapatna@broadcom.com, somnath.kotur@broadcom.com, "Nikolova, Tatyana E" , "Ismail, Mustafa" , Al Stone Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 13, 2021 at 1:01 AM Leon Romanovsky wrote: > > On Mon, Jul 12, 2021 at 05:27:05PM -0400, Nitesh Lal wrote: > > Hi Leon, > > > > > > > > > > Gentle ping. > > > > Any comments or suggestions on any of the patches included in this series? > > > > > > Please wait for -rc1, rebase and resend. > > > At least i40iw was deleted during merge window. > > > > > > > In -rc1 some non-trivial mlx5 changes also went in. I was going through > > these changes and it seems after your patch > > > > e4e3f24b822f: ("net/mlx5: Provide cpumask at EQ creation phase") > > > > we do want to control the affinity for the mlx5 interrupts from the driver. > > Is that correct? > > We would like to create devices with correct affinity from the > beginning. For this, we will introduce extension to devlink to control > affinity that will be used prior initialization sequence. > > Currently, netdev users who don't want irqbalance are digging into > their procfs, reconfigure affinity on already existing devices and > hope for the best. > > This is even more cumbersome for the SIOV use case, where every physical > NIC PCI device will/can create thousands of lightweights netdevs that will > be forwarded to the containers later. These containers are limited to known > CPU cores, so no reason do not limit netdev device too. > > The same goes for other sub-functions of that PCI device, like RDMA, > vdpa e.t.c. > > > This would mean that we should use irq_set_affinity_and_hint() instead > > of irq_update_affinity_hint(). > > I think so. > Thanks, will make that change in the patch and re-send. I will also drop your reviewed-by for the mlx5 patch so that you can have a look at it again, please let me know if you have any objections. -- Thanks Nitesh