From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f172.google.com (mail-oi1-f172.google.com [209.85.167.172]) (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 D334D7CF15 for ; Wed, 7 Feb 2024 14:25:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707315935; cv=none; b=a6aQfyhZRP2M5DtPpoAFmNHdM4DjKT69aYIOCKHWeqTgXrBiSh0i4i+cpQ0m4XhgaWE9K9f3rgG87x+6sFjAAWzxGB9jb0Kfe+aSMWdiaZaHC7RSU7yghX9JdJ2yF/rqVXarwWHDff2g9d4nskJRM4K71cVOEGbe1eQH+LRhYSU= 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.167.172 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=fastly.com header.i=@fastly.com header.b="iMz96eud" Received: by mail-oi1-f172.google.com with SMTP id 5614622812f47-3beab443a63so505707b6e.3 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=YNX8zdSERJEnK95AhPuz1A2czsT4GRCVEE7Pq/WVk6w6cSZ/23HEN+wYvQvbx+7FJ7 t05faRx7ztEWVESzNWxi134NKHgvIXW9lns94PUqnZP5s34Jm0mLNJ7ZiiiJiLBBijtT vN0Yc/Uc5/x6qomeRMceHAGowDIQCRCZM4Yh1XOso6LivNgtkOPwDmbwiQrUlVKE7tKo B+91NpU8WOMOPnurs+IubSBMJIG39TWe2XhQ8oYusSC9/u5iqo2BhrkMNrPYOdEu/Hxg LMt/2OldM8BFJvHkFnRg8ayIBDIpqbW2DLf59ludFOF7zW+ksty74z5BdL3b4UxEM/h3 mAWA== X-Gm-Message-State: AOJu0YyuyxO5FEfIPU7iWkoI86ikNOzt+js7aDyYQQhXINoRqSwoRckx DsMzMYN70ZUIbGfwQT/CFV3nN7Lb9DeDF5FqyrejsfgoFeXUmHdnm5lGxzg76No= X-Google-Smtp-Source: AGHT+IHCk9rLNop5t04dt5x+GZXCejO4EU+I7pA1zPkR2gFy1eQTvrGJQb2+FEZyCy0ZfSCaEDQ//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: netdev@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/