<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>Dear Lincoln,</p>
    <p>Thank you very much for providing this reference.</p>
    <p>I've to admit that I didn't know about this library but I'm
      looking into it <br>
      but I have some questions/concerns.</p>
    <p>This library seems to be abandoned since 2 years, at least this
      is what I<br>
      see from both the documentation and also their version control
      system:<br>
      <a href="https://gerrit.o-ran-sc.org/r/gitweb?p=o-du%2Fphy.git;a=summary">https://gerrit.o-ran-sc.org/r/gitweb?p=o-du%2Fphy.git;a=summary<br>
      </a>Do you think it's still reliable?</p>
    <p>The assumptions seems to be quite restrictive on the HW
      requirements of<br>
      this library listed here: <a href="https://docs.o-ran-sc.org/projects/o-ran-sc-o-du-phy/en/latest/Assumptions_Dependencies.html#requirements">https://docs.o-ran-sc.org/projects/o-ran-sc-o-du-phy/en/latest/Assumptions_Dependencies.html#requirements<br>
      </a>With my experiments I'm just exploring using virtual
      interfaces and my HW,<br>
      I would like to avoid those constraints.</p>
    <p>From what I can see some of the data structures already provided
      by DPDK<br>
      are re-defined by this library, like the eth header data structure
      and the eCPRI header.<br>
      I don't know if this is due to implementation reasons or because
      it has been <br>
      built with an old version of DPDK.<br>
      But without taking in consideration the endianess like rte_ecpri.h
      already does in DPDK<br>
      and without supporting some msg types (line 94 file xran_pkt.h).<br>
    </p>
    <p>Digging into the source code a bit I found some of the data
      structures I'm referring to<br>
      in my original message, i.e. the ecpri Seq. ID. The following code
      puzzles me, source file at:<br>
      <a href="https://gerrit.o-ran-sc.org/r/gitweb?p=o-du/phy.git;a=blob;f=fhi_lib/lib/api/xran_pkt.h;h=314b8d6b7d08f153369de5ad535702f50a574a35;hb=HEAD" class="moz-txt-link-freetext">https://gerrit.o-ran-sc.org/r/gitweb?p=o-du/phy.git;a=blob;f=fhi_lib/lib/api/xran_pkt.h;h=314b8d6b7d08f153369de5ad535702f50a574a35;hb=HEAD</a><br>
      line 228:<br>
      struct xran_ecpri_hdr<br>
       {<br>
           union xran_ecpri_cmn_hdr cmnhdr;<br>
           rte_be16_t ecpri_xtc_id;            /**< 3.1.3.1.6 real
      time control data / IQ data transfer message series identifier */<br>
           union ecpri_seq_id ecpri_seq_id;   /**< 3.1.3.1.7 message
      identifier */<br>
       } __rte_packed;</p>
    <p>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.<br>
      Also, the 'xran_pkt_comm_hdr' data structure at line 336 assumes
      that the packet doesn't have a VLAN header, but,<br>
      I don't know if this is managed elsewhere.</p>
    <p>Given all that, I'm still of the idea that could be useful to
      have those kind of headers directly in DPDK<br>
      but I'm open to reconsider my statement, please let me know if you
      have more information regarding<br>
      this library.</p>
    <p>Best regards,<br>
      Mattia<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 28/05/2024 16:37, Lincoln Lavoie
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:CAOE1vsMHrp4UsEEFugNBtLTWHbxyAwtL5aCpmusQYwhZBW+woA@mail.gmail.com">
      
      <table style="cellpadding:0;border:0;cellspacing:0;display:table;width:100%;table-layout:fixed;border-collapse:seperate;float:none;" width="100%" cellspacing="0" cellpadding="0" border="0" align="left">
        <tbody style="display:block;">
          <tr>
            <td cellpadding="7px 2px 7px 2px" style="padding:7px 2px 7px 2px;background-color:#A6A6A6;valign:middle" width="1px" valign="middle" bgcolor="#A6A6A6">
              <br>
            </td>
            <td cellpadding="7px 5px 7px 15px" color="#212121" style="width:100%;background-color:#EAEAEA;padding:7px 5px 7px 15px;font-family:wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial, sans-serif;font-size:12px;font-weight:normal;color:#212121;text-align:left;word-wrap:break-word;" width="100%" valign="middle" bgcolor="#EAEAEA">
              <div>You don't often get email from <a class="moz-txt-link-abbreviated" href="mailto:lylavoie@iol.unh.edu">lylavoie@iol.unh.edu</a>.
                <a href="https://aka.ms/LearnAboutSenderIdentification" moz-do-not-send="true">
                  Learn why this is important</a></div>
            </td>
            <td cellpadding="7px 5px 7px 5px" color="#212121" style="width:75px;background-color:#EAEAEA;padding:7px 5px 7px 5px;font-family:wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial, sans-serif;font-size:12px;font-weight:normal;color:#212121;text-align:left;word-wrap:break-word;align:left" width="75px" valign="middle" bgcolor="#EAEAEA" align="left">
              <br>
            </td>
          </tr>
        </tbody>
      </table>
      <div>
        <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left">
          <!-- NokiaExtMailNotice -->
          <tbody>
            <tr>
              <td style="background: #ffb900; padding: 5pt 2pt 5pt 2pt;"> </td>
              <td style="background: #fff8e5; padding: 5pt 4pt 5pt 12pt; word-wrap: break-word;" width="100%">
                <div style="color: #222222;"><span style="color: #222; font-weight: bold;"><font size="3">CAUTION:</font></span><font size="3">
                    This is an external email. Please be very careful
                    when clicking links or opening attachments. See the
                    URL nok.it/ext for additional information.</font></div>
                <font size="3">
                </font></td>
            </tr>
          </tbody>
        </table>
        <p> </p>
        <div>
          <div dir="ltr">
            <div class="gmail_default" style="font-size:small">Hi Mattia,</div>
            <div class="gmail_default" style="font-size:small"><br>
            </div>
            <div class="gmail_default" style="font-size:small">Have you
              looked into the O-RAN OSC open fronthaul phy
              implementation?  </div>
            <div class="gmail_default" style="font-size:small"><a href="https://docs.o-ran-sc.org/projects/o-ran-sc-o-du-phy/en/latest/Architecture-Overview_fh.html" moz-do-not-send="true" class="moz-txt-link-freetext">https://docs.o-ran-sc.org/projects/o-ran-sc-o-du-phy/en/latest/Architecture-Overview_fh.html</a><br>
            </div>
            <div class="gmail_default" style="font-size:small"><br>
            </div>
            <div class="gmail_default" style="font-size:small">Cheers,<br>
              Lincoln</div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">On Tue, May 28, 2024 at
              10:31 AM Mattia Milani <<a href="mailto:mattia.milani@nokia.com" moz-do-not-send="true" class="moz-txt-link-freetext">mattia.milani@nokia.com</a>>
              wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
              Dear DPDK Dev community,<br>
              <br>
              I hope this is the correct mailing list for my questions,
              otherwise <br>
              please excuse me and let me know where my questions should
              be posted.<br>
              <br>
              I was looking for a data structure capable to manage O-RAN
              Fronthaul <br>
              CUS-U headers (attached a screenshot of the header
              structure form a <br>
              packet analyzed with Wireshark)<br>
              but I couldn't find one.<br>
              <br>
              I would like to be capable to identify the different port
              ids but also <br>
              the number of PRBs in the section part.<br>
              <br>
              I wrote my own implementation for a simple use case (I
              don't take in <br>
              consideration different versions and or data directions)<br>
              but it's enough for me at the moment.<br>
              <br>
              What I wanted to ask is the following:<br>
              - Does a data structure for this kind of header already
              exists?<br>
              - If it doesn't exists is it planned?<br>
              - If it's not planned could it be of some interest?<br>
              <br>
              If there is interest I would be happy to share what I
              developed up to <br>
              now to receive comments and/or assistance on how to make
              it fully <br>
              functioning.<br>
              <br>
              Best regards,<br>
              Mattia<br>
            </blockquote>
          </div>
          <br clear="all">
          <div><br>
          </div>
          <span class="gmail_signature_prefix">-- </span><br>
          <div dir="ltr" class="gmail_signature">
            <div dir="ltr">
              <div dir="ltr">
                <div dir="ltr">
                  <div dir="ltr">
                    <div dir="ltr">
                      <div dir="ltr">
                        <div dir="ltr">
                          <div dir="ltr">
                            <div dir="ltr">
                              <div><b>Lincoln Lavoie</b><br>
                              </div>
                              <div>Principal Engineer, Broadband
                                Technologies</div>
                              <div>21 Madbury Rd., Ste. 100, Durham, NH
                                03824</div>
                              <div><a href="mailto:lylavoie@iol.unh.edu" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">lylavoie@iol.unh.edu</a></div>
                              <div><a href="https://www.iol.unh.edu" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://www.iol.unh.edu</a></div>
                              <div>+1-603-674-2755 (m)</div>
                              <div><a href="https://www.iol.unh.edu" target="_blank" moz-do-not-send="true"><img src="https://ci3.googleusercontent.com/mail-sig/AIorK4zvQDZE-d7SOB599offRpD7SRk4z6gdWNEkyMPxrkdJcUl0AhvdE1SQvDvhCdxiZ-wu3QjCixJ4FDew" moz-do-not-send="true" width="200" height="43"></a><br>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
  </body>
</html>