Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp340519rdh; Wed, 7 Feb 2024 06:25:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IGBELNXOFomx5yo84SU2HGvetE1DAbil96eduhqXCtPHZBqLcgm7GZF2ktJtQODWsa1+FqB X-Received: by 2002:a17:906:a38b:b0:a35:80f1:2ad2 with SMTP id k11-20020a170906a38b00b00a3580f12ad2mr4378838ejz.57.1707315959114; Wed, 07 Feb 2024 06:25:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707315959; cv=pass; d=google.com; s=arc-20160816; b=xNkBeK2RFn3qZoix02Cm32uRh3Jtz7z+Oc4m4PWHceEnoeNqyRTDCnUQWIc8vcp/H9 iKO1yqVjaGjRXXFyyC94xHGOi/bF1Rh0ZLnjsgdwbOIE/OTf4CGWcSvQdMSuZ1hz02Fj tAUOoe8AMY6H5k22hHU6XuN5C5uMZ7XR3VxwmpR2cQggnBN2d+naaCgy8fie9eezCIDh A0ohn9dahgwFVJcBn4X+2hmP3kypGgBIThLEoQ6rJBQigNsPiQBOhuJOLXzeAhrzTif2 f2bFI0qJSoqPTr0mtOROJnhuB+9DwG4G9SeuW9hWGZnirsWS8asA8pIKjSmUEQXYB+BT ABKA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=jaaCT+rhJtD+61LWJubfwBSzXr8X6PtWTAbxqQNnRNs=; fh=s1g/llalN7Pvs4hKaCwoog7b3hUYwOoAGrC1873Lw9M=; b=KnXSZU72rKZ1Xwv4avIxSuntFHzZlkXfUiXHrKsL4mYqYNbTbHp/ZuTA2N/xBzzDBA foB5kLGRexg007IdnViipL6kyK2qamRbX2WFEqk38RVZD/3tOuSyMn/oL41D8ltsll00 T2n0gIGpvBe5/aOkn3xYLMP984JTGFbqQQrbrVYBb4CmnKS5Zbv2/RnzKHv8QZXDmg+M tu+ORsodzaUUJ6mDotoKPUCpq0m8ITtaQQmQuR4G/mS4YYXb0NQ9g67EbQhl1wflMRIF 7nVhB3n6JIBVTa2ATtHdRMMREki/2JtpqKfntorlwBEiOpmXIx4rj5IN/eEBNNpxayAv wObw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fastly.com header.s=google header.b=iMz96eud; arc=pass (i=1 spf=pass spfdomain=fastly.com dkim=pass dkdomain=fastly.com dmarc=pass fromdomain=fastly.com); spf=pass (google.com: domain of linux-kernel+bounces-56616-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56616-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fastly.com X-Forwarded-Encrypted: i=2; AJvYcCWVgUUrjF7sCT5KgPH5a47YWddO6pEqJ7Teb6X87jcVXPlLWA5brpwpLVpW+huPIbXiTCLh0CNOw7INjK9lys7oS8fei+LAhOiQ7x/oiw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a18-20020a170906191200b00a381b3db10fsi979835eje.765.2024.02.07.06.25.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 06:25:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56616-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@fastly.com header.s=google header.b=iMz96eud; arc=pass (i=1 spf=pass spfdomain=fastly.com dkim=pass dkdomain=fastly.com dmarc=pass fromdomain=fastly.com); spf=pass (google.com: domain of linux-kernel+bounces-56616-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56616-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fastly.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D82151F26A26 for ; Wed, 7 Feb 2024 14:25:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A9AFD7D3FD; Wed, 7 Feb 2024 14:25:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=fastly.com header.i=@fastly.com header.b="iMz96eud" Received: from mail-ot1-f46.google.com (mail-ot1-f46.google.com [209.85.210.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D31057CF01 for ; Wed, 7 Feb 2024 14:25:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707315935; cv=none; b=uHqcAGK73HLaaXL0LLYuXATGabtwHkyJ453NxgccTsHcWj51AyJ3jpOKw0UMVSe3uNeQNBrecmi7ATtCsbzhlXzuRs71jsodRkQc9U713AcLwsyIIMiZBesp8qhrDhpeC+8bzOaMOk1fmttWTARZyCR9hCavB5ZuV15w718Ymow= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707315935; c=relaxed/simple; bh=8TjpTnr2uOUHyjAU8x1r6nNiu4YhGYIiXKjaSIx66JM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pVAhG7iLryfuWC24kg75OOkgCh6oLmOMeiEwr0IV8r2GT+YxJaY1WkM5NBELa/3J5qVo9Tyf1M2mj1hkZu7TBKoHIDyCQJ3DwEpsbabUQJe3e9NEvEesajoKGse6wD/G41rc4X1Qq6qaGmuIt+DG+/cZXDSPJU7/uTJbgzpytyI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fastly.com; spf=pass smtp.mailfrom=fastly.com; dkim=pass (1024-bit key) header.d=fastly.com header.i=@fastly.com header.b=iMz96eud; arc=none smtp.client-ip=209.85.210.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fastly.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastly.com Received: by mail-ot1-f46.google.com with SMTP id 46e09a7af769-6e2b6461aeeso346278a34.0 for ; Wed, 07 Feb 2024 06:25:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastly.com; s=google; t=1707315933; x=1707920733; darn=vger.kernel.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=jaaCT+rhJtD+61LWJubfwBSzXr8X6PtWTAbxqQNnRNs=; b=iMz96eud1GYBWHS3fj/n5tHdGw/RyTxmuv5pmSkXtmppZHcl7uP48hCvxVIyD90lmi 1Hf/QeDq+Bj0YVwyovGcRbRs+ZTuI9Sf2QThGVN3o3f3pO6Z4Vd2Uso7IwFpyQyTwvrS qligkiH8fp/mDGleCTCOxZpOQOUvcZOPD7Jic= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707315933; x=1707920733; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jaaCT+rhJtD+61LWJubfwBSzXr8X6PtWTAbxqQNnRNs=; b=RH7s5L5WB6sGx7Enp2ahTtmwLsFnEL0h7skyPrbhFNOUVsjXhevwh1qdeXAgHkkjdu 8IRJC2KgWnDa2h433lt2BAPvV5dBjle9a998boFxHS7KsFx3QyYcaQ+XXwKWW9zhjrS1 7S0Ljh2Tlh9twNftuZZRdDtGay4tAklX/IwY4G6ZJ6c2ltq4tHpMDxgagSMMV2Np5mjs ugEwxcYe2zFkJdUyG6IolBGluE3TJcCmZ1msrEJn6S+7fx8vylQ1bTcfBItQ2B030pN7 xqXfajiW0GvPz6TX4zS/R7ChbxyDh8jbsimieJlQp5IOaK7fO/U/k6/fOpxIPxHsUBfY gJ4Q== X-Gm-Message-State: AOJu0Yx+L5xqOWEsRdwtQQ3eGkf7TyhYb9t+oybIr5omco7MLw/Z5FN0 QZo/v4in2M6B2qC0WXbtEkJSZ4y/SxvXuYHLTmg7/M+raSiPmNchsTdBl+kSZSUMUocH1h5knwa Q X-Received: by 2002:a05:6358:2626:b0:178:e3b4:9779 with SMTP id l38-20020a056358262600b00178e3b49779mr2959534rwc.21.1707315932745; Wed, 07 Feb 2024 06:25:32 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVEGEAtNDvoZPEMB3Kv7QlzSeHyGMzAwgWPVeLcEYDIxX5Hdr+7D4ecvydaNdD4QX5ioyy9xN9UkR8Z0Lnh8bJ22A1D0Z4uoGLFIfKnYENJZqYY5n13S6zt1Wp+rh/4GxMU3mTmyZAcGz/TkSuWN6l/sO7DgVhQ1S6/fXla+UGbqlNUpSRBKbwNjg5Adow3KhHmDEmH5MD99zn2AXniSECFJyR7jUYfQsc6I8i0l+gaiJu1k2Ou4cC7frCiTYkS4X9hZq+xqqueQAKpRM2xt5QiKco+4yNIF7tSjo1oy5Bi94IXf3ObyOx/p7f4/4+pJOXpWRd9Wqxk7xZMAgRZYHt2WPnShMD2J5UCJ1AiW3wjIbB7yJqA+tOAiI3VhvshhojjvQg= Received: from fastly.com (c-24-6-151-244.hsd1.ca.comcast.net. [24.6.151.244]) by smtp.gmail.com with ESMTPSA id c4-20020aa78c04000000b006dde0f53fc2sm1605617pfd.49.2024.02.07.06.25.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Feb 2024 06:25:32 -0800 (PST) Date: Wed, 7 Feb 2024 06:25:29 -0800 From: Joe Damato To: Gal Pressman Cc: Tariq Toukan , Tariq Toukan , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, rrameshbabu@nvidia.com, Saeed Mahameed , Leon Romanovsky , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "open list:MELLANOX MLX5 core VPI driver" Subject: Re: [PATCH net-next] eth: mlx5: link NAPI instances to queues and IRQs Message-ID: <20240207142529.GA12897@fastly.com> References: <20240206010311.149103-1-jdamato@fastly.com> <7e338c2a-6091-4093-8ca2-bb3b2af3e79d@gmail.com> <20240206171159.GA11565@fastly.com> <44d321bf-88a0-4d6f-8572-dfbda088dd8f@nvidia.com> <20240206192314.GA11982@fastly.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) On Wed, Feb 07, 2024 at 08:59:18AM +0200, Gal Pressman wrote: > On 06/02/2024 21:23, Joe Damato wrote: > >> The per queue coalesce series is going through internal code review, and is > >> expected to also be ready in a matter of a few weeks. > > > > OK, great. Thanks for letting me know; we are definitely interested in > > using this feature. > > Hi Joe, > Can you please share some details about your usecase for this feature? It was outlined in the cover letter for the RFC [1]. But, briefly: we set a number of queues (say 16) via ethtool. We then create a series of n-tuple filters directing certain flows to queues 0-7 via a custom RSS context. The remaining queues, 8-15 are for all other flows via the default RSS context. Queues 0-7 are used with busy polling from userland so we want those queues to have a larger rx/tx-usecs rx/tx-frames than queues 8-15. We implemented basic support for this in the RFC we sent to the mailing list. [1]: https://lore.kernel.org/lkml/20230823223121.58676-1-dev@nalramli.com/