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 B69DF43A0F;
Tue, 30 Jan 2024 16:42:09 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
by mails.dpdk.org (Postfix) with ESMTP id 44451402CD;
Tue, 30 Jan 2024 16:42:09 +0100 (CET)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
by mails.dpdk.org (Postfix) with ESMTP id 13A8C402A8
for ; Tue, 30 Jan 2024 16:42:07 +0100 (CET)
Received: by inbox.dpdk.org (Postfix, from userid 33)
id E663443A10; Tue, 30 Jan 2024 16:42:06 +0100 (CET)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK Bug 1376] A BPF can no longer include header rte_mbuf_core.h
Date: Tue, 30 Jan 2024 15:42:05 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: other
X-Bugzilla-Version: 23.11
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: michel@digirati.com.br
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: dev@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
op_sys bug_status bug_severity priority component assigned_to reporter
target_milestone attachments.created
Message-ID:
Content-Type: multipart/alternative; boundary=17066293260.0c3A.4062225
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
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
--17066293260.0c3A.4062225
Date: Tue, 30 Jan 2024 16:42:06 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
https://bugs.dpdk.org/show_bug.cgi?id=3D1376
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=3D272&action=3Dedit
Compilation errors for t2.c and t3.c
A BPF needs to include the header to access struct rte_mb=
uf.
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.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--17066293260.0c3A.4062225
Date: Tue, 30 Jan 2024 16:42:06 +0100
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
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[details]=
Compilation errors for t2.c and t3.c
A BPF needs to include the header <rte_mbuf_core.h> to access struct =
rte_mbuf.
But the current version of the header <rte_mbuf_core.h> cannot be inc=
luded in a
BPF. The attached file shows the errors one gets while compiling the files
examples/bpf/t2.c and examples/bpf/t3.c.
You are receiving this mail because:
You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
=
--17066293260.0c3A.4062225--
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.
Created attachment 272 [details]= Compilation errors for t2.c and t3.c A BPF needs to include the header <rte_mbuf_core.h> to access struct = rte_mbuf. But the current version of the header <rte_mbuf_core.h> cannot be inc= luded in a BPF. The attached file shows the errors one gets while compiling the files examples/bpf/t2.c and examples/bpf/t3.c.