From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DEAFF43B0C; Tue, 13 Feb 2024 17:57:12 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8B42B40A4B; Tue, 13 Feb 2024 17:57:12 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 044AE402D8 for ; Tue, 13 Feb 2024 17:57:10 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 2B58620B2000; Tue, 13 Feb 2024 08:57:10 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 2B58620B2000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1707843430; bh=qwaqNxK8m7VFgDQJN8lFvip6kBJh0sTxI/1SpeT/gf0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mjjRMvkvoLu4sjsnwtgq6xtW+uY43tpkiRCp2xTQQP2+WXl9+9/X0jlJoV0Y7P7XY zbbkEQg3anVusuXJOtBZ3m88fgZtoPdaXW9Mz3KucOZ7fzRhXra0K2pJFsA8WuMNJe 5npUcuy7fDNy9BGLBZD+2lS6P4caWhPQrJjHoutw= Date: Tue, 13 Feb 2024 08:57:10 -0800 From: Tyler Retzlaff To: David Marchand Cc: dev@dpdk.org, Rahul Lakkireddy , Yuying Zhang , Rosen Xu Subject: Re: [PATCH] drivers: use common container_of macro Message-ID: <20240213165710.GA19843@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20240213153741.2133915-1-david.marchand@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240213153741.2133915-1-david.marchand@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Tue, Feb 13, 2024 at 04:37:41PM +0100, David Marchand wrote: > rte_common.h provides container_of if none is defined. > > The drivers headers touched by this commit either already include > rte_common.h or use some other common macro defined in rte_common.h. > As a consequence, it seems safe to assume that container_of is always > available for includers of those headers. > > Signed-off-by: David Marchand > --- Reviewed-by: Tyler Retzlaff