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 8738048AC2; Sun, 9 Nov 2025 15:48:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0762740268; Sun, 9 Nov 2025 15:48:40 +0100 (CET) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 6F715400D5 for ; Sun, 9 Nov 2025 15:48:37 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 9DFCC88 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1762699716; bh=ddDmgkNvxjC/5OOinqS9tnYR7YQZHUg+BvywHgBcj5o=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=T7+XaucCBrvH3UJYCTj30zfP3uvcHdZYox1AigUt2NPzEhHGS7JAsReb33+rcyXW4 5C7PbpyVgW70VVHwLq3MSG6tnMWYnZB23Kcvc3scNRchIeL6ZIVDg/r4BaeNjHOXrg bcw520VYfP+nd4MsV8OMfDRYJgjhLmq5utc33CPA= Received: from [192.168.1.42] (unknown [188.170.87.245]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 9DFCC88; Sun, 9 Nov 2025 17:48:35 +0300 (MSK) Message-ID: Date: Sun, 9 Nov 2025 17:48:34 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 11/44] lib: remove use of sys/queue.h To: Stephen Hemminger , dev@dpdk.org Cc: Konstantin Ananyev , Nicolas Chautru , Akhil Goyal , Fan Zhang , David Hunt , Byron Marohn , Yipeng Wang , Vladimir Medvedkin , Jerin Jacob , Kiran Kumar K , Nithin Dabilpuram , Zhirun Yan , Sameh Gobriel , Bruce Richardson , =?UTF-8?Q?Morten_Br=C3=B8rup?= , Cristian Dumitrescu , Tomasz Duszynski , Volodymyr Fialko , Honnappa Nagarahalli , Maxime Coquelin , Chenbo Xia References: <20250818233102.180207-1-stephen@networkplumber.org> <20251103164915.101713-1-stephen@networkplumber.org> <20251103164915.101713-12-stephen@networkplumber.org> Content-Language: en-US From: Andrew Rybchenko In-Reply-To: <20251103164915.101713-12-stephen@networkplumber.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 11/3/25 19:47, Stephen Hemminger wrote: > Use the new rte_bsd_queue.h where needed but most files already > get the needed macros from rte_tailq.h > > Signed-off-by: Stephen Hemminger [...] > diff --git a/lib/mempool/rte_mempool.c b/lib/mempool/rte_mempool.c > index 1021ede0c2..bf8e870151 100644 > --- a/lib/mempool/rte_mempool.c > +++ b/lib/mempool/rte_mempool.c > @@ -12,7 +12,6 @@ > #include > #include > #include > -#include > > #include > #include I'm wondering why rte_bsd_queue.h is not added here instead of sys/queue.h since the code definitely uses corresponding macros. Is it OK to rely on indirect include via other headers?