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 D596E44145; Mon, 3 Jun 2024 13:58:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8D30C42E1C; Mon, 3 Jun 2024 13:58:15 +0200 (CEST) Received: from mail-yb1-f173.google.com (mail-yb1-f173.google.com [209.85.219.173]) by mails.dpdk.org (Postfix) with ESMTP id C7F3442E02 for ; Mon, 3 Jun 2024 13:58:13 +0200 (CEST) Received: by mail-yb1-f173.google.com with SMTP id 3f1490d57ef6-dfa586054f9so4159326276.0 for ; Mon, 03 Jun 2024 04:58:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1717415893; x=1718020693; darn=dpdk.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=mUBwk/L6oZYYhztvXff2mG3vUdCpRuhnXiZQbTwNgXU=; b=L37st7swMJtr5WysumP98cw/H93dvjUzKcSu7M6rR4m33dVQBU5OBQq813MO1I6Npm bmFjJIx4cHwK3bkiBTx7KhDDFj0DAG6PbokNDpu7s/9CnK/2fqHWQG/ebu4zkzM1Fuc2 JEVu2BQvfX8evgzWsBkC9i/TRq8k+ierjzkPI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717415893; x=1718020693; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mUBwk/L6oZYYhztvXff2mG3vUdCpRuhnXiZQbTwNgXU=; b=tNR6LUO3d4ZbWSc8yr40W+n7l641IEpd6ILB+OzLpolp/3uqybZJVQsHSME8h0wyy9 mKZ668/1NQf/nkNQek7JcmrctI6Jci6UNcGuOaeiM0Mw1WAthAPaJvjte0hHdE9L0A5Q zPVXzd1WQOgJ0Z6xjaYjkAzHBO+xfTr+MaTuSVSpGA1tYkHgXfTy+g03si/4Pf7H4viF pAG7WTE1/OVJx18P/5OHf9vwhzubWO4s9g5R75kGN0nLKaTXjzrhUTg8GQCUAuc05LLv tTTFjouiQOpgGYRLCJpPug97bz0sV7UHzY6iFtW2Trg9nhpbv9sYc6v467gfuPYz56fz oCWg== X-Gm-Message-State: AOJu0YxLJzsahXvj7vuC2q+TnG82N6taecegeqtHzWnEyIQaElb+dJ9T QhIpYGBpDpE4BGHNsAMQAyLMkMwlWTIJLQyZIcDeg1ZpFsAFGQs0aXSPPvdhnfA43BVs3aZLN/r e+2msa1fBvvkHx10MXDGddeSfbfKRMfupFaPncw== X-Google-Smtp-Source: AGHT+IEw0TWxAxFWSPKdS8FVk5wEX3jD8Uh9zVY5CiyDfWUqo7HVQ9YXqRD0QF6L/r0a+esCIaMFs2WpABoEM4N+Ftw= X-Received: by 2002:a25:8048:0:b0:dfa:6cac:7a48 with SMTP id 3f1490d57ef6-dfa73bce45amr7546607276.10.1717415892596; Mon, 03 Jun 2024 04:58:12 -0700 (PDT) MIME-Version: 1.0 References: <4b261fe0-de0d-4c34-8876-eb8f84fd77b0@nokia.com> <71639a21-b4b0-4e72-a402-2f38f1240996@nokia.com> <8eda6625-3c98-4a66-b0af-6cb3b2a39dca@nokia.com> In-Reply-To: <8eda6625-3c98-4a66-b0af-6cb3b2a39dca@nokia.com> From: Lincoln Lavoie Date: Mon, 3 Jun 2024 07:58:01 -0400 Message-ID: Subject: Re: [Help] O-RAN Fronthaul CUS-U data structure implementation To: Mattia Milani Cc: dev@dpdk.org Content-Type: multipart/alternative; boundary="00000000000035d5260619fb0c02" 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 --00000000000035d5260619fb0c02 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Mattia, Yes, I think there is a plan to push the training (at least the presentation parts) up to the site https://gitlab.eurecom.fr/oai/trainings The Teams meeting was recorded, but there might be some post processing required. There is a lot of other good information in the other sessions, but I think the one last week was the first focused on the O-RAN 7.2 fronthaul. Cheers, Lincoln On Mon, Jun 3, 2024 at 2:36=E2=80=AFAM Mattia Milani wrote: > Hi Lincoln, > > Thank you very much for the feedback, I'll look into the documentation yo= u > provided. > In the meanwhile may I ask if there is a publicly available recording of > the training session you mentioned? (or similar training sessions done in > the past). > > Thank you, > Mattia > On 31/05/2024 14:40, Lincoln Lavoie wrote: > > > You don't often get email from lylavoie@iol.unh.edu. Learn why this is > important > > > CAUTION: This is an external email. Please be very careful when clicking > links or opening attachments. See the URL nok.it/ext for additional > information. > > > Hi Mattia, > > The code is being used, and there are some patches in flight, but are > currently coming from Open Air Interface folks. There's a lot of > documentation here: > https://gitlab.eurecom.fr/oai/openairinterface5g/-/blob/develop/doc/ORAN_= FHI7.2_Tutorial.md?ref_type=3Dheads > > We are actually running this in the lab and even hosted a training sessio= n > on the O-RAN aspects of the setup yesterday with Northeastern and the OAI= / > VIAVI teams. Point is, it's not really completely dead, just not a lot o= f > movement in that one repo. > > On the hardware, it has been run on both Nvidia and Intel NICs, but there > are some requirements on things like PTP time stamping, but that comes wi= th > the O-RAN fronthaul requirements. > > For the VLAN header, that is handled with the VFs are creates and "handed= " > to the xran processes that get embedded into the DU (at least in the OAI > implementation). > > Cheers, > Lincoln > > > On Wed, May 29, 2024 at 4:04=E2=80=AFAM Mattia Milani > wrote: > >> Dear Lincoln, >> >> Thank you very much for providing this reference. >> >> I've to admit that I didn't know about this library but I'm looking into >> it >> but I have some questions/concerns. >> >> This library seems to be abandoned since 2 years, at least this is what = I >> see from both the documentation and also their version control system: >> https://gerrit.o-ran-sc.org/r/gitweb?p=3Do-du%2Fphy.git;a=3Dsummary >> Do you think it's still reliable? >> >> The assumptions seems to be quite restrictive on the HW requirements of >> this library listed here: >> https://docs.o-ran-sc.org/projects/o-ran-sc-o-du-phy/en/latest/Assumptio= ns_Dependencies.html#requirements >> With my experiments I'm just exploring using virtual interfaces and my H= W, >> I would like to avoid those constraints. >> >> From what I can see some of the data structures already provided by DPDK >> are re-defined by this library, like the eth header data structure and >> the eCPRI header. >> I don't know if this is due to implementation reasons or because it has >> been >> built with an old version of DPDK. >> But without taking in consideration the endianess like rte_ecpri.h >> already does in DPDK >> and without supporting some msg types (line 94 file xran_pkt.h). >> >> Digging into the source code a bit I found some of the data structures >> I'm referring to >> in my original message, i.e. the ecpri Seq. ID. The following code >> puzzles me, source file at: >> >> https://gerrit.o-ran-sc.org/r/gitweb?p=3Do-du/phy.git;a=3Dblob;f=3Dfhi_l= ib/lib/api/xran_pkt.h;h=3D314b8d6b7d08f153369de5ad535702f50a574a35;hb=3DHEA= D >> line 228: >> struct xran_ecpri_hdr >> { >> union xran_ecpri_cmn_hdr cmnhdr; >> rte_be16_t ecpri_xtc_id; /**< 3.1.3.1.6 real time contro= l >> data / IQ data transfer message series identifier */ >> union ecpri_seq_id ecpri_seq_id; /**< 3.1.3.1.7 message identifie= r >> */ >> } __rte_packed; >> >> Seems strange to me that ecpri_xtc_id is not a data structure on it's >> own, providing access to DU port, Band Sector etc. >> Also, the 'xran_pkt_comm_hdr' data structure at line 336 assumes that th= e >> packet doesn't have a VLAN header, but, >> I don't know if this is managed elsewhere. >> >> Given all that, I'm still of the idea that could be useful to have those >> kind of headers directly in DPDK >> but I'm open to reconsider my statement, please let me know if you have >> more information regarding >> this library. >> >> Best regards, >> Mattia >> >> >> On 28/05/2024 16:37, Lincoln Lavoie wrote: >> >> >> You don't often get email from lylavoie@iol.unh.edu. Learn why this is >> important >> >> >> CAUTION: This is an external email. Please be very careful when clicking >> links or opening attachments. See the URL nok.it/ext for additional >> information. >> >> >> Hi Mattia, >> >> Have you looked into the O-RAN OSC open fronthaul phy implementation? >> >> https://docs.o-ran-sc.org/projects/o-ran-sc-o-du-phy/en/latest/Architect= ure-Overview_fh.html >> >> Cheers, >> Lincoln >> >> On Tue, May 28, 2024 at 10:31=E2=80=AFAM Mattia Milani >> wrote: >> >>> Dear DPDK Dev community, >>> >>> I hope this is the correct mailing list for my questions, otherwise >>> please excuse me and let me know where my questions should be posted. >>> >>> I was looking for a data structure capable to manage O-RAN Fronthaul >>> CUS-U headers (attached a screenshot of the header structure form a >>> packet analyzed with Wireshark) >>> but I couldn't find one. >>> >>> I would like to be capable to identify the different port ids but also >>> the number of PRBs in the section part. >>> >>> I wrote my own implementation for a simple use case (I don't take in >>> consideration different versions and or data directions) >>> but it's enough for me at the moment. >>> >>> What I wanted to ask is the following: >>> - Does a data structure for this kind of header already exists? >>> - If it doesn't exists is it planned? >>> - If it's not planned could it be of some interest? >>> >>> If there is interest I would be happy to share what I developed up to >>> now to receive comments and/or assistance on how to make it fully >>> functioning. >>> >>> Best regards, >>> Mattia >>> >> >> >> -- >> *Lincoln Lavoie* >> Principal Engineer, Broadband Technologies >> 21 Madbury Rd., Ste. 100, Durham, NH 03824 >> lylavoie@iol.unh.edu >> https://www.iol.unh.edu >> +1-603-674-2755 (m) >> >> >> > > -- > *Lincoln Lavoie* > Principal Engineer, Broadband Technologies > 21 Madbury Rd., Ste. 100, Durham, NH 03824 > lylavoie@iol.unh.edu > https://www.iol.unh.edu > +1-603-674-2755 (m) > > > --=20 *Lincoln Lavoie* Principal Engineer, Broadband Technologies 21 Madbury Rd., Ste. 100, Durham, NH 03824 lylavoie@iol.unh.edu https://www.iol.unh.edu +1-603-674-2755 (m) --00000000000035d5260619fb0c02 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi= =C2=A0Mattia,
<= br>
Yes, I thin= k there is a plan to push=C2=A0the training (at least the presentation part= s) up to the site=C2=A0= https://gitlab.eurecom.fr/oai/trainings
The Teams meeting was recorded, but there migh= t be some post processing=C2=A0required.=C2=A0 There is a lot of other good= information in the other sessions, but I think the one last week was the f= irst focused on the O-RAN 7.2 fronthaul.

Cheers,
Lincoln

On Mon, Jun 3, 2024 at 2:36=E2=80= =AFAM Mattia Milani <mattia.m= ilani@nokia.com> wrote:
=20

Hi Lincoln,

Thank you very much for the feedback, I'll look into the documentation you provided.
In the meanwhile may I ask if there is a publicly available recording of the training session you mentioned? (or similar training sessions done in the past).

Thank you,
Mattia

On 31/05/2024 14:40, Lincoln Lavoie wrote:
=20

You don't often get email from lylavoie@iol.unh.edu. Learn why this is important

=20
=C2= =A0
CAUTION: This is an external email. Please be very careful when clicking links or opening attachments. See the URL nok= .it/ext for additional information.

=C2=A0

Hi=C2=A0= Mattia,

The code is being used, and there are some patches in flight, but are currently coming from Open Air Interface folks.=C2=A0 There's a lot of documentation here:=C2=A0https://gitlab.eurecom.fr/= oai/openairinterface5g/-/blob/develop/doc/ORAN_FHI7.2_Tutorial.md?ref_type= =3Dheads

We are actually running this in the lab and even hosted a training=C2=A0session on the O-RAN aspects=C2=A0of the setup yesterday with Northeastern and the OAI / VIAVI teams.=C2=A0 Point is, it's not really completely dead, just not a lot of movement in that one repo.

On the hardware, it has been run on both Nvidia and Intel NICs, but there are some requirements on things like PTP time stamping, but that comes with the O-RAN fronthaul requirements.

For the VLAN header, that is handled with the VFs are creates and "handed" to the xran processes that get embedded in= to the DU (at least in the OAI implementation).

Cheers,<= br> Lincoln


On Wed, May 29, 2024 at 4:04=E2=80=AFAM Mattia Milani <mattia.milani@nokia.com> wrote:

Dear Lincoln,

Thank you very much for providing this reference.

I've to admit that I didn't know about this libr= ary but I'm looking into it
but I have some questions/concerns.

This library seems to be abandoned since 2 years, at least this is what I
see from both the documentation and also their version control system:
https://gerrit.o-ran-sc.org/r/gitw= eb?p=3Do-du%2Fphy.git;a=3Dsummary
Do you think it's still reliable?

The assumptions seems to be quite restrictive on the HW requirements of
this library listed here: https://docs.o-ran-sc.org/projects/o-ran-sc-o-du-phy/en/latest/Assumptions_= Dependencies.html#requirements
With my experiments I'm just exploring using virtual interfaces and my HW,
I would like to avoid those constraints.

From what I can see some of the data structures already provided by DPDK
are re-defined by this library, like the eth header data structure and the eCPRI header.
I don't know if this is due to implementation reasons or because it has been
built with an old version of DPDK.
But without taking in consideration the endianess like rte_ecpri.h already does in DPDK
and without supporting some msg types (line 94 file xran_pkt.h).

Digging into the source code a bit I found some of the data structures I'm referring to
in my original message, i.e. the ecpri Seq. ID. The following code puzzles me, source file at:
https://gerrit.o-ran-sc.org/= r/gitweb?p=3Do-du/phy.git;a=3Dblob;f=3Dfhi_lib/lib/api/xran_pkt.h;h=3D314b8= d6b7d08f153369de5ad535702f50a574a35;hb=3DHEAD
line 228:
struct xran_ecpri_hdr
=C2=A0{
=C2=A0=C2=A0=C2=A0=C2=A0 union xran_ecpri_cmn_hdr cmnhdr;=
=C2=A0=C2=A0=C2=A0=C2=A0 rte_be16_t ecpri_xtc_id;=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /**< 3.1.3.1.6 real time control data / IQ data transfer message series identifier */
=C2=A0=C2=A0=C2=A0=C2=A0 union ecpri_seq_id ecpri_seq_id;= =C2=A0=C2=A0 /**< 3.1.3.1.7 message identifier */
=C2=A0} __rte_packed;

Seems strange to me that ecpri_xtc_id is not a data structure on it's own, providing access to DU port, Band Sector etc.
Also, the 'xran_pkt_comm_hdr' data structure at l= ine 336 assumes that the packet doesn't have a VLAN header, but,
I don't know if this is managed elsewhere.

Given all that, I'm still of the idea that could be useful to have those kind of headers directly in DPDK
but I'm open to reconsider my statement, please let m= e know if you have more information regarding
this library.

Best regards,
Mattia


On 28/05/2024 16:37, Lincoln Lavoie wrote:


=C2=A0
CAUTION:<= /span> This is an external email. Please be very careful when clicking links or opening attachments. See the URL nok.it/ext for additional information.

=C2=A0

Hi=C2=A0Mattia,

Have you looked into the O-RAN OSC open=C2=A0fronthaul phy implementation?=C2=A0=C2=A0

Cheers,
Lincoln

On Tue, May 28, 2024 at 10:31=E2=80=AFAM Mattia Milani <mattia.milani@no= kia.com> wrote:
Dear DPDK Dev community,

I hope this is the correct mailing list for my questions, otherwise
please excuse me and let me know where my questions should be posted.

I was looking for a data structure capable to manage O-RAN Fronthaul
CUS-U headers (attached a screenshot of the header structure form a
packet analyzed with Wireshark)
but I couldn't find one.

I would like to be capable to identify the different port ids but also
the number of PRBs in the section part.

I wrote my own implementation for a simple use case (I don't take in
consideration different versions and or data directions)
but it's enough for me at the moment.

What I wanted to ask is the following:
- Does a data structure for this kind of header already exists?
- If it doesn't exists is it planned?
- If it's not planned could it be of some interest?

If there is interest I would be happy to share what I developed up to
now to receive comments and/or assistance on how to make it fully
functioning.

Best regards,
Mattia


--
Lincoln Lavoie
Principal Engineer, Broadband Technologies
21 Madbury Rd., Ste. 100, Durham, NH 03824
+1-603-674-2755 (m)



--
Lincoln Lavoie
Principal Engineer, Broadband Technologies
21 Madbury Rd., Ste. 100, Durham, NH 03824
+1-603-674-2755 (m)



--
Lincoln Lavoie
Principal Engineer, Broadband Te= chnologies
21 Madbury Rd., Ste. 100, Durham, NH 03824
<= a href=3D"mailto:lylavoie@iol.unh.edu" target=3D"_blank">lylavoie@iol.unh.e= du
+1-603-674-2755 (m)

--00000000000035d5260619fb0c02--