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 559E5425D7; Mon, 18 Sep 2023 17:09:27 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 42C4440633; Mon, 18 Sep 2023 17:09:27 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 76F954025D for ; Mon, 18 Sep 2023 17:09:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1695049764; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yuKexGp9h4T0174LNVZn3Jo+hkuD1/gqbFHd/Gwwlgw=; b=fkcmeEQsMLrWvoJNSgm0LSOK+G1bmdbLPVQg9jCFYR2vY4YKy+wPQtsY6Q7/ZhandPpOvp s8WraZqHrHELK5agSGXKU+BPrJR926watzEg6XeyJztE6HyzU+D5mJRXip9dICb9AAlrgI u4Xl631mj3zYdwyK3v5vQuo6vY3bVmg= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-9-zhi147TTMBO9oAJu5LXn1w-1; Mon, 18 Sep 2023 11:09:22 -0400 X-MC-Unique: zhi147TTMBO9oAJu5LXn1w-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 47C703822549; Mon, 18 Sep 2023 15:09:22 +0000 (UTC) Received: from [10.39.208.35] (unknown [10.39.208.35]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F2F4120268CC; Mon, 18 Sep 2023 15:09:20 +0000 (UTC) Message-ID: Date: Mon, 18 Sep 2023 17:09:19 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v2 3/5] bbdev: add new capability for FEC 5G UL processing To: Nicolas Chautru , dev@dpdk.org Cc: trix@redhat.com, hemant.agrawal@nxp.com, david.marchand@redhat.com, hernan.vargas@intel.com References: <20230615164901.40845-1-nicolas.chautru@intel.com> <20230615164901.40845-4-nicolas.chautru@intel.com> From: Maxime Coquelin In-Reply-To: <20230615164901.40845-4-nicolas.chautru@intel.com> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 6/15/23 18:48, Nicolas Chautru wrote: > Extending existing LDPC UL operation for new capability. > Option to compress HARQ memory to 4 bits per LLR. > > Signed-off-by: Nicolas Chautru > --- > doc/guides/prog_guide/bbdev.rst | 6 ++++++ > lib/bbdev/rte_bbdev_op.h | 4 +++- > 2 files changed, 9 insertions(+), 1 deletion(-) > > diff --git a/doc/guides/prog_guide/bbdev.rst b/doc/guides/prog_guide/bbdev.rst > index 95b33562fe..c43e478eda 100644 > --- a/doc/guides/prog_guide/bbdev.rst > +++ b/doc/guides/prog_guide/bbdev.rst > @@ -903,6 +903,12 @@ given below. > |RTE_BBDEV_LDPC_INTERNAL_HARQ_MEMORY_LOOPBACK | > | Set if a device supports loopback access to HARQ internal memory | > +--------------------------------------------------------------------+ > +|RTE_BBDEV_LDPC_INTERNAL_HARQ_MEMORY_FILLERS | > +| Set if a device includes LLR filler bits in HARQ circular buffer | > ++--------------------------------------------------------------------+ > +|RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION | > +|Set if a device supports input/output 4 bits HARQ compression | > ++--------------------------------------------------------------------+ > > The structure passed for each LDPC decode operation is given below, > with the operation flags forming a bitmask in the ``op_flags`` field. > diff --git a/lib/bbdev/rte_bbdev_op.h b/lib/bbdev/rte_bbdev_op.h > index 682e265327..a4a2ae1440 100644 > --- a/lib/bbdev/rte_bbdev_op.h > +++ b/lib/bbdev/rte_bbdev_op.h > @@ -203,7 +203,9 @@ enum rte_bbdev_op_ldpcdec_flag_bitmasks { > * for HARQ memory. If not set, it is assumed the filler bits are not > * in HARQ memory and handled directly by the LDPC decoder. > */ > - RTE_BBDEV_LDPC_INTERNAL_HARQ_MEMORY_FILLERS = (1ULL << 19) > + RTE_BBDEV_LDPC_INTERNAL_HARQ_MEMORY_FILLERS = (1ULL << 19), > + /** Set if a device supports input/output HARQ 4bits compression. */ > + RTE_BBDEV_LDPC_HARQ_4BIT_COMPRESSION = (1ULL << 20) > }; > > /** Flags for LDPC encoder operation and capability structure */ Reviewed-by: Maxime Coquelin Maxime