Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp345605rdb; Thu, 25 Jan 2024 18:16:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IF7Hnq7KNL/yx/m1WiuoL/TKGNwe6FiQWGR266QjHhLj8d5JEQI9fIwQjFhOISXfhkKsNlZ X-Received: by 2002:ac8:5253:0:b0:42a:746c:75fe with SMTP id y19-20020ac85253000000b0042a746c75femr618746qtn.35.1706235415485; Thu, 25 Jan 2024 18:16:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706235415; cv=pass; d=google.com; s=arc-20160816; b=oTj98mpKhzeZXwdjBjY6Yxy9uJ46qvYbAs0WKpuGKeWtuZhK1xwXL1HkO0bGDiL2sJ suwHk1aBKmUmjWPx3fl3JmYFIyDK0AIPXpFwsZeZcpBjBZtv66JbdqLHpmLqlBymPGfT +Qdy3DzuzHRnOaCPLdDcTi/VGM6xZyYmhoT9YHevknKaHMkoPZkv6Ak7Y5bnAuruQusa FByL4yy+u1FlBX4eCaZmHr82+tBtZsrW8zx8vDjaYdX8BCUE8Ux036tyfeF2t94wO1Z7 PZ0pJrNIs3DL398883if9zgc1iARJXifKfLXkRhH5i5ffSDYzOLtNlIsjZHoyWjCzsDa 5Fyg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=dtACEqcIp3VkhqFiK+Xnyu4jcs5kH7UtV2G9Fkq8+rI=; fh=aGRk1rySbZXrfpBVOYCZeTXdCfaczuByQHIQqqCQPYI=; b=v+2VmKLNDWR8JKbjcMqQdkPlrEkypkRctBnftIV4lceTF57dkPdyU5KCJak6ZLP72O nNax2xwIr3go2Tv9h+9+KQdTmgLHo03gh9AwXYBrKkdirSv2UtpJ+GCMnWWROQibb2no s3CsHFe2jexUjunH0utmOVx1udZs7owZpL4gOCKCaHKSt2HP6o4++I8GT5d6aDgdmnTe emUlMSCAHVzdsjl0vd4E0qZOE2Ulg0wlbUxNW3/d0th4OGIadmKCdXG4DB6j1/cUG2lD 72fM41xgaUV40s15fGuaVYGv18Hdqtu6fq1sls4Bmv6HKmhJd0vNDLQT8EbEhEp85bBu ekyA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DVvu8TaM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-39533-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39533-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x5-20020a05622a000500b0042a2380f296si195366qtw.529.2024.01.25.18.16.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 18:16:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39533-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DVvu8TaM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-39533-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39533-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 3F85C1C245D8 for ; Fri, 26 Jan 2024 02:16:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A2BD88BE3; Fri, 26 Jan 2024 02:16:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DVvu8TaM" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CB7BC7493; Fri, 26 Jan 2024 02:16:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706235407; cv=none; b=b8ehHDSb8r1prBijq6/KflOYk1rtxOyPYo1hSiuo8lYBfTWjijbC3fqOUt80DeI6PeyrpJKN7DFg1H8EKr5M5ITfF5ZF8sN02YLiLRpA7XK3vhQVw9jGvR2+1w+qUFvoh4U2kE2XfPbCatm9KInBPV95Ar8IWiwl8XvyLkM7rjw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706235407; c=relaxed/simple; bh=dtACEqcIp3VkhqFiK+Xnyu4jcs5kH7UtV2G9Fkq8+rI=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ZDsq/28MfwwXuHq78L3VnUbRZPi/S27QMNe294luCW27yhgiU4e4v7MNPVDZhkVODBTQI2N/ZV63jFMY7MANzKFNmHcSJkOJqFQNcmXgv2pl2C4w7G6cRRpAuq7gXKH7UtRCwvwXXVk9ReewkuYG52QdGViUQCphzO0wejkm9hQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DVvu8TaM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 452DAC43390; Fri, 26 Jan 2024 02:16:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706235407; bh=dtACEqcIp3VkhqFiK+Xnyu4jcs5kH7UtV2G9Fkq8+rI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=DVvu8TaMLiCl8Lm9+WVOHtoNfCy/ngyd4MTHSJxY7pzpSuondXhso84rS3kZzVcNc YnIWH5AXGhlYDbcZllmgPhGb6FwmsePPYRtrLpc1NSP3rnbKtWqA1cGjqM1nMmWFEL ycx9tBvVCz9707y5RjwyQYz+ZNsopKvr0ROJZd9FGogFEijNItuNWZlUGHVJlu4Ap8 BJaQ0z5atqRlX5vKXm/OBS4H7dLUkTo0e3Op8fdHaKmUEv1ZbRPRUd2G4C2wyHUY8C mTEb/sr1H90tOJ5gSNzyg/VnsCKtAwhUdCurew/1IruRrVYomuujm0xNLWR4rwsCZZ OSqhUkkWKq8lA== Date: Thu, 25 Jan 2024 18:16:46 -0800 From: Jakub Kicinski To: Geetha sowjanya Cc: , , , , , , , Subject: Re: [net-next PATCH 0/3] Dynamically allocate BPIDs Message-ID: <20240125181646.522e6d35@kernel.org> In-Reply-To: <20240124055014.32694-1-gakula@marvell.com> References: <20240124055014.32694-1-gakula@marvell.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-Transfer-Encoding: 7bit On Wed, 24 Jan 2024 11:20:11 +0530 Geetha sowjanya wrote: > Current hw support 512 backpressure(BP) Ids. These BPIDs are > statically reserved among 4 interface types based on number > of channels supported. Latest HW support configuring > multiple BPIDs per channel. To support this feature, the > patch set creates BPIDs free pool from the BPIDs reserved for > LBK channel as, LBK uses single BPIDs across multiple channels > and on request it dynamically allocates N number of bpids > from the free pool. This patch also reworks the LBK device id > checks. I looked at this for 20 min, I don't understand how this fits together. Please improve the commit messages to also explain the functionality and how user interacts with the features.