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 E327C43A11; Tue, 30 Jan 2024 20:07:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B2E5A402CD; Tue, 30 Jan 2024 20:07:44 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 208D9402A8; Tue, 30 Jan 2024 20:07:43 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 669EE20B2000; Tue, 30 Jan 2024 11:07:42 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 669EE20B2000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1706641662; bh=hrk1uoiO6aheXG9WshVvGX3eBtLgicNRNNp0UgO0FPA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FT3p6I31T+z4umqt5nqf4/csSBZ0CG8guY/AzNtMpUyDyoUjAV6PpkBkOiIa/cmi4 QragHCp+VuImip+8pGwsF46uVR1RM20Sg2+xjL9amXYWjnBPfLbl54Pni7KDJyOH2h iLH0Uo0KW7AjNV255gVvfxGGprpk+AjIRd9fRuf4= Date: Tue, 30 Jan 2024 11:07:42 -0800 From: Tyler Retzlaff To: bugzilla@dpdk.org Cc: dev@dpdk.org Subject: Re: [DPDK Bug 1376] A BPF can no longer include header rte_mbuf_core.h Message-ID: <20240130190742.GA18445@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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, Jan 30, 2024 at 03:42:05PM +0000, bugzilla@dpdk.org wrote: > https://bugs.dpdk.org/show_bug.cgi?id=1376 > > Bug ID: 1376 > Summary: A BPF can no longer include header rte_mbuf_core.h > Product: DPDK > Version: 23.11 > Hardware: x86 > OS: Linux > Status: UNCONFIRMED > Severity: major > Priority: Normal > Component: other > Assignee: dev@dpdk.org > Reporter: michel@digirati.com.br > Target Milestone: --- > > Created attachment 272 > --> https://bugs.dpdk.org/attachment.cgi?id=272&action=edit > Compilation errors for t2.c and t3.c > > A BPF needs to include the header to access struct rte_mbuf. > But the current version of the header cannot be included in a > BPF. The attached file shows the errors one gets while compiling the files > examples/bpf/t2.c and examples/bpf/t3.c. a bug was fixed where rte_arch_bswap16 was being hidden except when RTE_FORCE_INTRINSICS was defined. i suspect -t bpf should likely define RTE_FORCE_INTRINSICS since it seems generally unreasonable to have x86 inline asm in a bpf translation unit. if there are problems with RTE_FORCE_INTRINSICS they'll have to be addressed as separate bugs. ty > > -- > You are receiving this mail because: > You are the assignee for the bug.