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 563D6A0548 for ; Thu, 11 Nov 2021 09:22:53 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2136D40E28; Thu, 11 Nov 2021 09:22:53 +0100 (CET) Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) by mails.dpdk.org (Postfix) with ESMTP id 740C440E03 for ; Thu, 11 Nov 2021 09:22:52 +0100 (CET) Received: by mail-lj1-f176.google.com with SMTP id e9so10437442ljl.5 for ; Thu, 11 Nov 2021 00:22:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=i2cat.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NkwmGFc65Y6R0aMz0pucqqEmENNGS0Oy3b7IIQQwel4=; b=BbQbAjF3qjBD7Oe2Su1Tyc2e3Mqxmx53CafsbHJUkoqNsErkqtHGFvmkjtTEK0pJ5b qMAxjnazMjEdgqkrqEq19gTDgHcgxT2jaxIPXRBodOVFx4240hw3ucvfFf+M/sARndQk o/eXDv4SVZ18WdLL9HVeC6dpy7okas/L0goPsuREnrvVhoVLk+GbvKPWQoklaXg+jDv/ fPo+q0zMqvIeqbkfde+zKuB0GRZzg/5O6SeYwZRBu3toZ7ZwmRFVNmMS3kmG42zLcJsx SNLj7BpxdKt+HyPWqtmPEtRfAc/te/8rALJjm0MkEbw0ANiTqd3t4snLkiD8scYVwfsb lZwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NkwmGFc65Y6R0aMz0pucqqEmENNGS0Oy3b7IIQQwel4=; b=Im6JxtnVx4cxbUoIgxURwWdepNChT7eotlI3wv6nBbMwTP+qvBOunoUZouNkTlqxNp vdqJ6tfhUEo3JnCx7eQO/aJs0mRK2QFuj0g3Kp740GWwWmorDqEFeaf7vJ6TXV+ma5gZ YQ4YvlRLHZ00ufVIfokOL0l9DpYSa0gY6Xhhpmeo6VQ45j5we6oOhJNE/twdsvaUEsWQ yN8epx7JW+F3EycExXkkZWw4QNmM72bvXbBl6X9n/xYHHvNWtPx9G5gOc0VqZ6O8xsUC kdn8bY8EcyOPbjE4VKwSt6xmhgpRgwJOP67P6++C00cKgbPO/kBk/QdezMBZKof2htr9 77Iw== X-Gm-Message-State: AOAM532GlO4p9HweZ81xNcvnNQctHWZ6oHjbMFimMoTmC9LQaFyzAb1w 0q2FiwU/VPCKfVewnhyIPrVvojhxUjrLhbT6LLYFbw== X-Google-Smtp-Source: ABdhPJyuxMY/lqchAsBJ3edyHV4ydhNKwnsWK2r6VGAn/eC229IscZ6X0O2n3PCGrxWWrAl7shRJfWeuTCjDeQaOyts= X-Received: by 2002:a05:651c:1546:: with SMTP id y6mr1310980ljp.76.1636618971979; Thu, 11 Nov 2021 00:22:51 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?B?R2luw6lzIEdhcmPDrWEgQXZpbMOpcw==?= Date: Thu, 11 Nov 2021 09:22:39 +0100 Message-ID: Subject: Re: [test-bbdev] Custom test-vector To: "Chautru, Nicolas" Cc: "users@dpdk.org" Content-Type: multipart/alternative; boundary="00000000000075386e05d07f0c74" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --00000000000075386e05d07f0c74 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Nicolas, thanks a lot for your quick response. Basically, when passing the generated LLRs vector to bblib_ldpc_decode_5gnr() (bblib_ldpc_decoder_5gnr_request request =3D {}; request.varNodes =3D generated_llrs) it is able to decode it. However, converting the same vector to the bbdev format (from int8 vector to uint32_t chain), bbdev throws RTE_BBDEV_SYNDROME_ERROR with the "iterationAtTermination" variable always equals to the max number of iterations. Where could I find the documentation you are referring to? Thanks in advance! Regards, Gin=C3=A9s. El mi=C3=A9, 10 nov 2021 a las 19:22, Chautru, Nicolas (< nicolas.chautru@intel.com>) escribi=C3=B3: > Hi Gines, > > What do you mean by =E2=80=9Cflexran DPDK=E2=80=9D vs =E2=80=9Cbbdev=E2= =80=9D? *=E2=80=9C**The generated LLRs > vector is directly decodable by flexRAN DPDK but when using it through * > > *Bbdev=E2=80=9D* > > The format of the input/output data is defined in the documentation. > Basically 1 byte per LLR and captured in vectors with CPU endianness and > processing as per 3gpp. > > > > Thanks > > Nic > > > > *From:* Gin=C3=A9s Garc=C3=ADa Avil=C3=A9s > *Sent:* Wednesday, November 10, 2021 4:28 AM > *To:* users@dpdk.org > *Cc:* Chautru, Nicolas > *Subject:* [test-bbdev] Custom test-vector > > > > Hi, > > I'm still trying to generate test vectors for the bbdev application withi= n > > DPDK. More precisely, I want to create a test vector to run an LDPC > decoding operation. > > > > For that, I'm generating the LLRs with matlab (5G NR toolbox) as follows: > > 1) LDPC encoding + rate matching + modulation > > 2) Demodulation + rate recover > > > > The generated LLRs vector is directly decodable by flexRAN DPDK but when > using it through > > bbdev, it takes max iterations to decode, meaning that the decoding > process was > > unsuccessful. > > > > Any ideas/documentation about how to properly create the test vectors? > > > > PS: previous question here ( > https://mails.dpdk.org/archives/users/2021-October/005864.html) > > > > Regards, > > Gin=C3=A9s. > --00000000000075386e05d07f0c74 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Nicolas,
thanks a= lot for your quick=C2=A0response.

Basically, when= passing the generated LLRs vector to bblib_ldpc_decode_5gnr()
(b= blib_ldpc_decoder_5gnr_request=C2=A0request =3D {}; request.varNodes =3D ge= nerated_llrs)=C2=A0
it is able to decode it.=C2=A0
Howe= ver, converting the same vector to the bbdev format (from int8 vector to ui= nt32_t chain),
bbdev throws=C2=A0RTE_BBDEV_SYNDROME_ERROR wit= h the "iterationAtTermination" variable always=C2=A0
eq= uals to the max number of iterations.

Where could = I find the documentation you are referring to?

Tha= nks in advance!

Regards,
Gin=C3=A9s.

El mi=C3=A9, 10 nov 2021 a las 19:22, Chautru, Nicolas (<= ;nicolas.chautru@intel.com= >) escribi=C3=B3:

Hi Gines,

What do you mean by =E2=80=9Cflexran DPDK=E2=80=9D v= s =E2=80=9Cbbdev=E2=80=9D? =E2=80=9CThe generated LLRs vector is = directly decodable by flexRAN DPDK but when using it through=C2=A0

Bbdev=E2=80=9D

The format of the input/output data is defined in th= e documentation. Basically 1 byte per LLR and captured in vectors with CPU = endianness and processing as per 3gpp.

=C2=A0

Thanks

Nic

=C2=A0

From: Gin=C3=A9s Garc=C3=ADa Avil=C3=A9s <= gines.garcia@i2= cat.net>
Sent: Wednesday, November 10, 2021 4:28 AM
To: users@dpdk.o= rg
Cc: Chautru, Nicolas <nicolas.chautru@intel.com>
Subject: [test-bbdev] Custom test-vector

=C2=A0

Hi,

I'm still trying to generate test vectors for th= e bbdev application within=C2=A0

DPDK. More precisely, I want to create a test vector= to run an LDPC decoding operation.

=C2=A0

For that, I'm generating the LLRs with matlab (5= G NR toolbox) as follows:

=C2=A0 1) LDPC encoding=C2=A0+ rate matching=C2=A0+ = modulation

=C2=A0 2) Demodulation=C2=A0+ rate recover=

=C2=A0

The generated LLRs vector is directly decodable by f= lexRAN DPDK but when using it through=C2=A0

bbdev, it takes max iterations to decode, meaning th= at the decoding process was=C2=A0

unsuccessful.

=C2=A0

Any ideas/documentation about how to properly create= the test vectors?

=C2=A0

=C2=A0

Regards,

Gin=C3=A9s.

--00000000000075386e05d07f0c74--