Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp1548913rdb; Sat, 20 Jan 2024 03:54:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IHja9Dfufcw0O7hnqMrBrfqpCFtHfLyfOFwtR7229nMU+qRDzkYjz+0VTICjCjAqnM3JG9H X-Received: by 2002:a17:90a:9409:b0:28f:ee83:13cd with SMTP id r9-20020a17090a940900b0028fee8313cdmr3162515pjo.0.1705751643507; Sat, 20 Jan 2024 03:54:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705751643; cv=pass; d=google.com; s=arc-20160816; b=scXtElviZZSr0YoSAjU+UNaw8gACAy7jc0Y1Gxe9NGFSIV93Np5jtYHu8dFWef5mig S3r8ZQ55Le0oEydT+2q6o1gD+SzIqy2/xW0wUdT8W/NO85Rh4MpuTfRzhlKBlOE8p1VD Lk5joVxWFgkBcVF9sHpJVa6U/1vDR1xp1CsfhryubGZPaW1sbDwIrZfpI7Zxmm2qKfOm PHkHbCHFMrq5WcHOzD0QIF5lMLST4EBuCrHx8N3dmMrYwkDuYafi9TurukOn5OGsfkJ6 bwR84QMheMeG2/dq0Jnn50kcsWcqrurZdz0JgnLUnVIOqodks95u+0yPz2zEGe4P4KW6 XuDQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=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=O9BWg/sv+B6FnicIRE3SCnb0wvpQ626oawlJY9Oo6UQ=; fh=elx28haXy6Rf1X15BM2rMbCXh3mhUZccj9jpeH6J1X0=; b=ADgb9fRYyftm0zJuvkM7JUV1If/vQWNoJ1naj3IBslsYH+eTO5nggv1drZtm+hnn4Z uMsJWkr3Ty9K8HqDx3VS+zm7DLDadKfmBjnSoAzbcWvtbWkIv52QrqO8vCx0Q0bFJrpm bphxSBttR5o6yJSf1BbmK9yQ/BhC5ljOvWzvaev9ZHOrsI+i33OTO2HzVQ4GGDkhyJPD /y0rSM/RKTfUhNcJSBRzGsruyWEJ72PUVGNzf3d+vNJsp21xpEttOOFrYsL1ZbuoX5Jp 7Ih35yiOXltKFWtyfjlvVsaYjInLTYFombDe2ib7NNjWBTQbK87Lc8ALFnFNyMPQA8Ey zpdA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AVPgGS25; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-31786-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31786-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k10-20020a634b4a000000b005cdb0622c89si5048377pgl.16.2024.01.20.03.54.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jan 2024 03:54:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-31786-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AVPgGS25; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-31786-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31786-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 2C3DE28349E for ; Sat, 20 Jan 2024 11:54:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 33D20EAC2; Sat, 20 Jan 2024 11:53:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AVPgGS25" 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 50646EAC0; Sat, 20 Jan 2024 11:53:48 +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=1705751628; cv=none; b=BF/vXr1baSnneQv0YfzUAX7xUdXvmon4qO6jcgweh73xxed5+klA5EVdZlG7jzMa1XdY4ofYwrTRVBe0qBS/+8PrceyjiCf2D3GkSF7I8rVySJhxU3tASNIRFuj0G0ERko3Kl8MshhThZZy6aHVkoWS1KXsNppuYm0I6D7lZc4o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705751628; c=relaxed/simple; bh=h67AGv+FNXNrQzYDfRzBnkw8TczwwZeIqb6H6msqznM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=T5y6QXAVqj12tGtvN8hmld82yruTfs1ngL+p/w/vllAaZZuzn2XlKVJMCrYOIafO7J+w89aCXu7tduJrJBkVX2rvyoLiRmm3XOcD3grVHp3c7mIC97FqyBk9WdMWUoT1PqYVKvskw22DsMdP85hiuGWl+yLNVWDjL9EMWud83qw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AVPgGS25; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 38C92C433C7; Sat, 20 Jan 2024 11:53:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705751627; bh=h67AGv+FNXNrQzYDfRzBnkw8TczwwZeIqb6H6msqznM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AVPgGS25GVL4+3dPNg/aFvLs9imkvzIelHcrYqNbeoah2Yzwz5G+Q57Z4oXej/d/j 8F7Baf4BBHKV1qfplPfwWcYWXQKO/uB4h1RR9yzAua6y/Bo4x72L3VGudZhBohRrGC XRUukhs234I0sxuHCh/ZTAyMbEcX9zOothgSHzAp4uoEyvkB0osOCv2dyOKHxQeadO Ttk0f0K69HnTCHbDq7fLzzeCnHZ5qfTnxNBZhVq3YSD/+dGmY+18PSjdI7wH+fSlee 1MjbW64BslledfDFWccKPS35ppNw7qdLnOXYvhkHolEbRN0qZ8WYQqi5zLtKHaEFa6 j+TGmEA5iI9Aw== Date: Sat, 20 Jan 2024 11:53:42 +0000 From: Simon Horman To: Christophe JAILLET Cc: Alexei Starovoitov , Daniel Borkmann , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , John Fastabend , Eric Dumazet , Paolo Abeni , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH net-next] xdp: Remove usage of the deprecated ida_simple_xx() API Message-ID: <20240120115342.GD110624@kernel.org> References: <8e889d18a6c881b09db4650d4b30a62d76f4fe77.1705734073.git.christophe.jaillet@wanadoo.fr> 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: <8e889d18a6c881b09db4650d4b30a62d76f4fe77.1705734073.git.christophe.jaillet@wanadoo.fr> On Sat, Jan 20, 2024 at 08:02:20AM +0100, Christophe JAILLET wrote: > ida_alloc() and ida_free() should be preferred to the deprecated > ida_simple_get() and ida_simple_remove(). > > Note that the upper limit of ida_simple_get() is exclusive, but the one of > ida_alloc_range() is inclusive. So a -1 has been added when needed. > > Signed-off-by: Christophe JAILLET ## Form letter - net-next-closed [adapted from text by Jakub] The merge window for v6.8 has begun and therefore net-next is closed for new drivers, features, code refactoring and optimizations. We are currently accepting bug fixes only. Please repost when net-next reopens on or after 22nd January. RFC patches sent for review only are obviously welcome at any time. See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#development-cycle -- pw-bot: defer