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 14A3BA0C45; Mon, 13 Sep 2021 21:01:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CFC9840151; Mon, 13 Sep 2021 21:01:56 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 6A7764014F for ; Mon, 13 Sep 2021 21:01:54 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10106"; a="285462735" X-IronPort-AV: E=Sophos;i="5.85,290,1624345200"; d="scan'208";a="285462735" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Sep 2021 12:01:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,290,1624345200"; d="scan'208";a="582518442" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga004.jf.intel.com with ESMTP; 13 Sep 2021 12:01:53 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 13 Sep 2021 12:01:52 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Mon, 13 Sep 2021 12:01:52 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.107) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Mon, 13 Sep 2021 12:01:52 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZplMW0ZLZj0el/DwEdQyiynn3XhyFT2YKwePxXvPQSgogUHK2fN7pVKSmbyxqx6QCpMf++cifBHbwduRvv6KAU3eaw2iAgR77uayv/ZQRQngA6VteFdAP4OCEMWHmNMvhQqfMMFQtCyi1Cs6tGq1EAisGzgVoS2KCH8on0yNvkJuOxZZPVMy/La/98zDq5TjJrjSb/zHTW5Nki3KB5OANVgn/VI6YrmETNmHPy4I4SuVTPlHHW9SH8KhKriQKlAsKYzrbDuSUlNSwLkVym5FBhBqVbjygdHG6QlQ6yXOO78hu5zpWF9710Bjmdze2ZT8ABEMGF8EK2cw/6Q3SRJvmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=k4mDvgO7uQ9bLxJLAj5fUgiMdPZUkeI+Gs9CCvuE7U4=; b=KdvZMMCN9sQYsn6riIRXnq2fH15MwwLe3YRZs5A1NUw2EkNoB5ApGdQ5T5l5a32z72lmuqkgdXp+d8HDDqMSlAjxG6D9ETnV1QRmUhzOBjyWqTjsKP/iTd0SVfmmKm4lXLY4uy2af/1BYFpGY/SUTo2lhri9EOpJ5jp1cytwOIvAMaTAUFDknAz/DskUyYKzdJdA+mlXdEU9+18zDIDxx0uGjO5IswdrzdVLbvQhUzQwkpuVdd8nwwII4/DavZatt9O6x670fxQVThIOb1dy21er808seO0+LlSGtvqey7Pvap9P8nZzN3xOVHsHDyPfmIvVq9wDsvW9d4h4KI/pFw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=k4mDvgO7uQ9bLxJLAj5fUgiMdPZUkeI+Gs9CCvuE7U4=; b=AD3RFUoAZNCiN1ceqmw2swBwG/NW90pqnhn8kFLHyoRXERkw5PJd52grNIqwTgb1d5L0vpz4CI21PJ1fYFHmOCOv+RKzlHq26wAv0OwY2vRO1o1In5lj0O6a9kxJk/0/Eg9nTB4e3QJQ0p0hb9P3Vl167gjqekGYJXaObeNorrQ= Received: from BY5PR11MB4451.namprd11.prod.outlook.com (2603:10b6:a03:1cb::30) by SJ0PR11MB4973.namprd11.prod.outlook.com (2603:10b6:a03:2de::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.18; Mon, 13 Sep 2021 19:01:51 +0000 Received: from BY5PR11MB4451.namprd11.prod.outlook.com ([fe80::4821:5aee:4cc4:75c9]) by BY5PR11MB4451.namprd11.prod.outlook.com ([fe80::4821:5aee:4cc4:75c9%5]) with mapi id 15.20.4500.018; Mon, 13 Sep 2021 19:01:51 +0000 From: "Chautru, Nicolas" To: Nipun Gupta , "dev@dpdk.org" , "gakhil@marvell.com" CC: "david.marchand@redhat.com" , "hemant.agrawal@nxp.com" Thread-Topic: [PATCH v5 9/9] app/bbdev: add test vectors for transport blocks Thread-Index: AQHXp8/1lRIZLvOAuEOivd3yIf3+iKuiUyOg Date: Mon, 13 Sep 2021 19:01:50 +0000 Message-ID: References: <20210318063421.14895-1-hemant.agrawal@nxp.com> <20210912121510.22699-1-nipun.gupta@nxp.com> <20210912121510.22699-10-nipun.gupta@nxp.com> In-Reply-To: <20210912121510.22699-10-nipun.gupta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 241ad579-f7ae-4e52-524a-08d976e8f1d6 x-ms-traffictypediagnostic: SJ0PR11MB4973: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 7kpxvOW9G9dF9f02AcBPJC2w//ag+8pP2DRMF0wKtLwOzhHMu7DoYXTIl8OFqvIt1sf3T2WgxtVu4HVXFiaXfaJ7jAvl3I7r3oJGyARIl5Ypn7/7vMh2SwJWXVowhC/77bDkhRaktqTtpywMNdK+dK5G2vgI3hjKXLMYzRcRf0x/3cN1hP3CUtTd5grWnzxFSH5UU7kWvL2qaQgCh7Z0K4U+eqFIIOHaju3Mif9J2QtGGHDQohCfKGqw6PPSzMTnhFuYWdfuhN6roK/m6l8Uo99HBAX3Jjqr1x9YipVq2HmTXhNvaCOZIyguHcTS8yBOY6ePDrwwtSEJqtnkhU/yPtcAXqPkHCxzMAudbf0Q/X2jcG9rGgk5DBssfE4JTEwIRPPCoC0xiSEm2CxhpXlA8dYh1mDLRkPPKI82GBgNxn6uOIRM/BQUw0yM0HX5lzfNcJHpdsc463MPhU/VKscgMOJsuyZwmdTrl6oOa9xQ3wUqk4EeugkM/bx3skvjO+BaBSnIOtNM0lwS9lw5O/UEnJBLzh9aYM6VgKOVLXdEbc7inXueTAOG7ZoSObClpj77R9ITapKMwcAZ2ZqFKWn7/Q2yk16otXRgjZP67ZH7dZXzjNJhcma6QdlNLXok929aOrpAv0XqFLNyXRF6FSAirZaUEfSG8/qrnOwTf/p0aZH7VfgS/XeLMezwYvF4bp11eR+MEfk0g7z3CEYucdOvYw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR11MB4451.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(346002)(39860400002)(376002)(366004)(52536014)(316002)(7696005)(5660300002)(86362001)(4326008)(53546011)(83380400001)(122000001)(33656002)(186003)(55016002)(2906002)(71200400001)(26005)(9686003)(6506007)(478600001)(64756008)(66446008)(66556008)(66946007)(66476007)(54906003)(110136005)(76116006)(30864003)(8936002)(38100700002)(8676002)(38070700005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?IF6A1bjUqX0ZRwjLiIAZoprhMRT6zguexPKDuz2D1OaqyxaV27ekPU/ad7/X?= =?us-ascii?Q?0+gPijfECxpQOc3tsUZ+i+1XN5MiMAOHp3GGMz0auYSoZTf0aI1CiuLhksAp?= =?us-ascii?Q?BCqhcMtHsPVnnLLru5VY0c72W2ByBNTkM5ffDn66gTohJYqZgpYU1DIUJ+Gi?= =?us-ascii?Q?rL3WNUxpKp8h15bfc/c+ZUIdiuMasDQrDhEAx2GzrFZawfKv7MkbrQ1R2wJt?= =?us-ascii?Q?YXgWhzY1yei6BB/AF/VVYfPhCky3431CZE1d3OEqP8cAkz20o/WZ+v+LJbG3?= =?us-ascii?Q?oFV6FdOhI+mABAFaK8vI261SczxiK0I0e74ZP2RvqbhMynsKb22KeaG3Q/Oi?= =?us-ascii?Q?mEghJaIt9E7hr6lFGQ+v97puL8oQ/MaDA4Z3JIqn1y5lNWk1t64jqHGvAzcO?= =?us-ascii?Q?/GeYf7gqQmeypQCopD5QuqotDy35gTfOvnvD5ChTWZ8RnTgVtp1m5kw1nOgm?= =?us-ascii?Q?NZQWQlRxJkUh8Nw9dUkAPJOMp1zMRv7if8YE13sezKXpsgbB+pVQ4tUF37Pr?= =?us-ascii?Q?k2zLh1+NXSYHhRa4KzTzVu2zCamDCDK18v3qnznhifTCo08EAR2AbBB1768s?= =?us-ascii?Q?UPNCwFXj3sL8i2IQfeDpikv15u8nZyEgvAgdE1zUj0tBlSzCsKeAQRlSfa7T?= =?us-ascii?Q?gvCMHExy8m4/GfrU3irfu8KTSkLpNQsNtRVHlSEdlFJm9uKqIFXkhmYSbSYo?= =?us-ascii?Q?X/wY/2MED8PqemZwglXBdgVfOASy6nd1OaPgmIXFMRM7oCH6K6Zxx6YupWtp?= =?us-ascii?Q?cRgVBI7lzegLBb0oSdO37vp7dl0FCzZxGbjtZiicio4krti3IJYbdEDxlrtp?= =?us-ascii?Q?4F85Sp3eMh2577sQp2EeBP6QXmbQzy486hFulY67nTa9NOfUaM1lVCM8msP8?= =?us-ascii?Q?HGNC8DieAF/OMud5/QYIpoujtU6iF5vHb9yqaqlXSTR/e63OkiBB7iLq9s/T?= =?us-ascii?Q?VpDB1rE9jZ6Zr8kswSYcxCvPN80xVKxb/6XF6LgV0z42eoqQVQgRXlZ00RoN?= =?us-ascii?Q?r1A3b1DH1bnEFkJk3mZ1u8B6NpheHbweG4Ge/MefGkHZhfKcshEji54d7F9A?= =?us-ascii?Q?v5cHVPD1fpBI5oA8luS0z6cvqcOXGUBOg4nhTTB88wxIF3KF6/815g7YlPHs?= =?us-ascii?Q?KgZWkPukC5Bz+Ih1ZWNqoe0HLGjvlzPgrb8dyUJm3+NL/AkRoVHUnxoNSFW7?= =?us-ascii?Q?FIUwN+1i4J6H87f8x2960tSOZWNzfw+bTPkFcdDZN+N7Yn1uGV1nuY0GH1Qm?= =?us-ascii?Q?jwIJ//d4bov7d1XDH6JmTbJqPHFhlMFgDzNq7qYoQfa34Uj87PmVrhipu7cp?= =?us-ascii?Q?MhJ5GUWteOahQMKFnYJWY0eS?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR11MB4451.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 241ad579-f7ae-4e52-524a-08d976e8f1d6 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Sep 2021 19:01:51.0211 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: i6IwPbZNCPM+YOSIxS+lfNaeNI16UQbrLF2K8qMk0BzC18MMoQqHpTMQT+oMZgrT1TLNV7r0f0x4uN1Nw0jEN3FD0UL3UKd4earGYn6T00A= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB4973 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v5 9/9] app/bbdev: add test vectors for transport blocks 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 Sender: "dev" > -----Original Message----- > From: Nipun Gupta > Sent: Sunday, September 12, 2021 5:15 AM > To: dev@dpdk.org; gakhil@marvell.com; Chautru, Nicolas > > Cc: david.marchand@redhat.com; hemant.agrawal@nxp.com; Nipun Gupta > > Subject: [PATCH v5 9/9] app/bbdev: add test vectors for transport blocks >=20 > This patch adds two test vectors for transport block in network byte > order: > - LDPC encode for Transport Block > - LDPC decode for Transport block See comments on previous patchsets related to the same topic: - This test vector includes Ratematching hence previous pmd exposed capabi= lity were not correct - This is really is a single CB vector (not a TB made of multiple CBs). Mor= e generally I don't believe there is new functionality here compared to exi= sting vectors. (keep in mind that the endianness can be managed as a device= capability and would not require new vectors). Thanks Nic >=20 > Signed-off-by: Nipun Gupta > --- > app/test-bbdev/test_vectors/ldpc_dec_tb.data | 122 > +++++++++++++++++++ app/test-bbdev/test_vectors/ldpc_enc_tb.data | > 60 +++++++++ > 2 files changed, 182 insertions(+) > create mode 100644 app/test-bbdev/test_vectors/ldpc_dec_tb.data > create mode 100644 app/test-bbdev/test_vectors/ldpc_enc_tb.data >=20 > diff --git a/app/test-bbdev/test_vectors/ldpc_dec_tb.data b/app/test- > bbdev/test_vectors/ldpc_dec_tb.data > new file mode 100644 > index 0000000000..b991e8f305 > --- /dev/null > +++ b/app/test-bbdev/test_vectors/ldpc_dec_tb.data > @@ -0,0 +1,122 @@ > +# SPDX-License-Identifier: BSD-3-Clause # Copyright 2020 NXP > + > +op_type =3D > +RTE_BBDEV_OP_LDPC_DEC > + > +input0 =3D > +0x817f8181, 0x7f7f8181, 0x817f7f81, 0x81817f81, 0x81817f81, 0x817f7f81, > +0x7f7f7f7f, 0x7f7f7f81, 0x817f7f81, 0x817f7f81, 0x7f7f817f, 0x7f7f7f81, > +0x81817f7f, 0x81818181, 0x817f8181, 0x7f817f81, 0x81817f7f, 0x7f7f817f, > +0x81817f81, 0x817f8181, 0x7f7f7f81, 0x817f817f, 0x7f817f7f, 0x7f817f7f, > +0x7f817f7f, 0x81817f7f, 0x7f818181, 0x817f7f7f, 0x8181817f, 0x81817f7f, > +0x7f817f81, 0x7f7f7f7f, 0x7f817f7f, 0x81817f7f, 0x81818181, 0x817f817f, > +0x81817f7f, 0x7f81817f, 0x7f7f7f7f, 0x7f7f7f7f, 0x7f818181, 0x7f7f7f81, > +0x81817f81, 0x7f817f7f, 0x7f7f7f7f, 0x817f817f, 0x817f817f, 0x7f7f817f, > +0x81817f81, 0x7f7f7f7f, 0x7f81817f, 0x817f817f, 0x7f7f8181, 0x7f7f7f7f, > +0x817f7f7f, 0x81818181, 0x817f8181, 0x7f7f817f, 0x7f7f8181, 0x7f7f7f7f, > +0x7f818181, 0x817f8181, 0x817f7f81, 0x817f8181, 0x817f7f81, 0x81817f7f, > +0x7f7f8181, 0x81818181, 0x817f817f, 0x817f7f7f, 0x81818181, 0x7f817f81, > +0x7f7f7f81, 0x81817f81, 0x7f817f7f, 0x7f818181, 0x7f7f7f81, 0x817f817f, > +0x81818181, 0x81818181, 0x81817f81, 0x81817f81, 0x7f7f8181, 0x817f7f7f, > +0x7f81817f, 0x817f817f, 0x81817f7f, 0x817f7f81, 0x81817f7f, 0x7f7f7f81, > +0x7f817f81, 0x7f817f81, 0x817f7f7f, 0x7f818181, 0x81818181, 0x7f7f7f7f, > +0x7f7f7f7f, 0x8181817f, 0x7f7f7f81, 0x7f817f81, 0x81817f81, 0x7f7f817f, > +0x7f81817f, 0x817f8181, 0x7f81817f, 0x7f81817f, 0x817f7f7f, 0x7f81817f, > +0x817f7f81, 0x817f7f81, 0x7f817f7f, 0x8181817f, 0x7f81817f, 0x7f7f8181, > +0x817f8181, 0x817f7f7f, 0x817f7f81, 0x7f81817f, 0x7f7f817f, 0x7f817f7f, > +0x7f7f8181, 0x81818181, 0x7f818181, 0x7f7f817f, 0x7f818181, 0x81818181, > +0x7f817f7f, 0x817f817f, 0x817f817f, 0x817f7f7f, 0x81817f81, 0x81817f7f, > +0x81817f81, 0x7f817f81, 0x7f817f7f, 0x7f817f7f, 0x817f7f7f, 0x817f7f7f, > +0x7f7f7f7f, 0x7f7f7f81, 0x7f7f8181, 0x7f817f81, 0x7f817f7f, 0x817f7f7f, > +0x7f7f8181, 0x8181817f, 0x7f7f8181, 0x7f7f7f81, 0x817f7f7f, 0x7f7f7f81, > +0x817f8181, 0x7f7f817f, 0x7f81817f, 0x817f817f, 0x7f817f81, 0x7f7f8181, > +0x7f818181, 0x7f817f81, 0x81818181, 0x81817f7f, 0x7f81817f, 0x7f81817f, > +0x7f7f8181, 0x81818181, 0x817f8181, 0x7f7f817f, 0x7f817f7f, 0x7f7f8181, > +0x7f81817f, 0x7f7f817f, 0x7f7f7f7f, 0x7f818181, 0x81817f7f, 0x8181817f, > +0x7f81817f, 0x8181817f, 0x81817f81, 0x7f7f7f7f, 0x81818181, 0x7f7f817f, > +0x7f81817f, 0x7f7f7f7f, 0x81817f81, 0x817f7f81, 0x817f7f81, 0x817f7f81, > +0x81818181, 0x7f7f7f7f, 0x81817f81, 0x817f7f7f, 0x8181817f, 0x7f7f7f81, > +0x81817f81, 0x817f7f81, 0x81818181, 0x7f7f7f7f, 0x81817f7f, 0x81817f81, > +0x7f7f7f81, 0x7f7f7f7f, 0x817f817f, 0x7f818181, 0x8181817f, 0x81817f81, > +0x7f7f7f81, 0x7f817f7f, 0x7f7f7f7f, 0x7f817f81, 0x8181817f, 0x7f7f7f7f, > +0x81817f7f, 0x7f7f7f81, 0x7f81817f, 0x7f7f7f7f, 0x7f7f7f81, 0x817f8181, > +0x7f7f8181, 0x7f7f7f81, 0x7f7f8181, 0x7f817f7f, 0x81818181, 0x7f81817f, > +0x7f818181, 0x7f818181, 0x7f818181, 0x817f7f81, 0x7f7f8181, 0x81818181, > +0x7f7f7f7f, 0x7f7f7f7f, 0x817f8181, 0x81818181, 0x7f7f817f, 0x817f8181, > +0x81817f7f, 0x817f817f, 0x7f7f817f, 0x7f7f7f7f, 0x817f8181, 0x817f8181, > +0x817f8181, 0x81818181, 0x7f7f817f, 0x7f817f81, 0x817f7f81, 0x7f7f7f81, > +0x81817f81, 0x7f818181, 0x81817f7f, 0x7f818181, 0x81818181, 0x817f817f, > +0x7f817f7f, 0x81818181, 0x817f8181, 0x7f7f7f7f, 0x7f817f81, 0x817f7f7f, > +0x7f818181, 0x8181817f, 0x817f817f, 0x7f817f7f, 0x817f7f81, 0x7f818181, > +0x817f7f7f, 0x817f7f81, 0x7f7f7f81, 0x81817f81, 0x7f81817f, 0x7f818181, > +0x81817f7f, 0x817f7f81, 0x81817f81, 0x7f7f8181, 0x7f7f8181, 0x7f817f81, > +0x7f7f817f, 0x817f7f7f, 0x7f7f7f7f, 0x817f7f7f, 0x7f7f8181, 0x817f8181, > +0x817f8181, 0x7f817f81, 0x817f8181, 0x8181817f, 0x81817f7f, 0x7f817f7f, > +0x7f817f7f, 0x7f817f81, 0x817f817f, 0x817f7f7f, 0x8181817f, 0x817f817f, > +0x817f7f81, 0x81817f7f, 0x7f817f7f, 0x7f7f7f7f, 0x7f817f7f, 0x7f7f817f, > +0x7f818181, 0x8181817f, 0x817f7f7f, 0x7f817f81, 0x7f7f8181, 0x81817f7f, > +0x7f7f817f, 0x7f7f817f, 0x7f817f7f, 0x7f7f817f, 0x7f818181, 0x7f817f7f, > +0x817f7f7f, 0x7f817f81, 0x81818181, 0x7f818181, 0x817f8181, 0x8181817f, > +0x8181817f, 0x817f7f7f, 0x81817f81, 0x817f7f7f, 0x7f81817f, 0x817f8181, > +0x7f818181, 0x7f817f7f, 0x81817f7f, 0x7f81817f, 0x81817f81, 0x7f7f7f81, > +0x7f7f7f7f, 0x81818181, 0x817f7f7f, 0x81817f81, 0x817f7f81, 0x81817f7f, > +0x81818181, 0x7f7f7f7f, 0x817f817f, 0x7f817f81, 0x817f7f7f, 0x7f817f81, > +0x817f8181, 0x7f81817f, 0x7f818181, 0x7f7f8181, 0x817f817f, 0x7f7f7f7f, > +0x81818181, 0x7f817f81, 0x81817f81, 0x7f81817f, 0x81818181, 0x7f7f817f, > +0x81818181, 0x7f7f7f81, 0x817f7f81, 0x8181817f, 0x7f818181, 0x7f7f7f7f, > +0x7f7f7f7f, 0x8181817f, 0x81817f81, 0x81818181, 0x7f7f817f, 0x81817f7f, > +0x7f817f81, 0x817f8181, 0x81817f7f, 0x7f817f7f, 0x817f7f7f, 0x7f81817f, > +0x817f7f7f, 0x7f7f7f7f, 0x7f7f8181, 0x7f7f8181, 0x7f81817f, 0x7f7f8181, > +0x7f7f8181, 0x817f7f81, 0x8181817f, 0x81817f7f, 0x817f8181, 0x817f817f, > +0x8181817f, 0x7f7f8181, 0x7f81817f, 0x817f817f, 0x7f817f81, 0x7f817f7f, > +0x7f7f8181, 0x81818181, 0x7f817f81, 0x7f7f8181, 0x81817f7f, 0x7f7f7f81, > +0x7f7f7f81, 0x7f7f7f7f, 0x7f81817f, 0x7f7f8181, 0x7f7f817f, 0x817f817f, > +0x7f7f7f7f, 0x817f8181, 0x7f818181, 0x7f7f817f, 0x8181817f, 0x8181817f, > +0x817f7f81, 0x8181817f, 0x817f8181, 0x7f817f7f, 0x81817f7f, 0x81818181, > +0x7f7f8181, 0x7f817f81, 0x817f8181, 0x7f817f7f, 0x81818181, 0x81817f81, > +0x7f817f81, 0x81817f7f, 0x7f818181, 0x8181817f, 0x7f7f7f81, 0x7f81817f, > +0x7f7f8181, 0x81818181, 0x81817f7f, 0x817f8181, 0x81817f7f, 0x7f7f817f, > +0x81818181, 0x7f7f8181, 0x7f7f817f, 0x817f817f, 0x7f817f81, 0x7f7f7f7f, > +0x7f817f81, 0x7f817f7f, 0x7f81817f, 0x7f7f8181, 0x7f7f817f, 0x81818181, > +0x7f7f8181, 0x817f7f81, 0x81817f81, 0x81817f7f, 0x81817f81, 0x81818181, > +0x7f817f81, 0x7f7f7f7f, 0x81817f7f, 0x7f817f7f, 0x7f7f817f, 0x81817f7f, > +0x81817f7f, 0x7f7f7f7f, 0x817f7f7f, 0x7f817f81, 0x81818181, 0x81817f7f, > +0x7f817f7f, 0x8181817f, 0x7f81817f, 0x817f7f81, 0x7f817f7f, 0x7f7f7f7f, > +0x817f7f81, 0x7f817f81, 0x81818181, 0x81817f81, 0x7f817f81, 0x81818181, > +0x81818181, 0x8181817f, 0x7f7f817f, 0x817f7f7f, 0x817f7f7f, 0x7f7f7f7f, > +0x81818181, 0x7f817f7f, 0x817f7f81, 0x7f7f8181, 0x817f8181, 0x81817f7f, > +0x81817f7f, 0x817f7f7f, 0x817f817f, 0x7f818181, 0x7f817f7f, 0x817f8181, > +0x7f817f7f, 0x817f8181, 0x7f7f817f, 0x81817f7f, 0x8181817f, 0x7f817f81, > +0x7f7f7f81, 0x81818181, 0x7f7f7f81, 0x81818181, 0x7f7f817f, 0x817f7f7f, > +0x817f817f, 0x7f7f8181, 0x7f7f7f81, 0x7f817f7f, 0x817f8181, 0x817f817f, > +0x81818181, 0x81817f7f > + > +output0 =3D > +0xea7bdad9, 0xabd8311a, 0x4e7ba2e2, 0x5c5c5c85, 0xc400ed50, > 0x9bea8883, > +0xb7f0 > + > +basegraph=3D > +2 > + > +z_c=3D > +28 > + > +n_cb=3D > +1400 > + > +q_m=3D > +2 > + > +n_filler=3D > +56 > + > +ea =3D > +2048 > + > +eb =3D > +2048 > + > +iter_max=3D > +8 > + > +expected_iter_count=3D > +2 > + > +c =3D > +1 > + > +r =3D > +0 > + > +cab =3D > +0 > + > +rv_index =3D > +0 > + > +code_block_mode =3D > +0 > + > +op_flags =3D > +RTE_BBDEV_LDPC_CRC_TYPE_24B_DROP, > RTE_BBDEV_LDPC_DEC_BIG_ENDIAN > + > +expected_status =3D > +OK > diff --git a/app/test-bbdev/test_vectors/ldpc_enc_tb.data b/app/test- > bbdev/test_vectors/ldpc_enc_tb.data > new file mode 100644 > index 0000000000..277db673c8 > --- /dev/null > +++ b/app/test-bbdev/test_vectors/ldpc_enc_tb.data > @@ -0,0 +1,60 @@ > +# SPDX-License-Identifier: BSD-3-Clause # Copyright 2020 NXP > + > +op_type =3D > +RTE_BBDEV_OP_LDPC_ENC > + > +input0 =3D > +0xea7bdad9, 0xabd8311a, 0x4e7ba2e2, 0x5c5c5c85, 0xc400ed50, > 0x9bea8883, > +0xb7f0 > + > +output0 =3D > +0x109dd93b, 0x5bfc1299, 0x44a1bd2c, 0x05ce87c4, 0x006cafc4, 0x2aa04d17, > +0xf803a60d, 0xb9b7032b, 0x5f8af3c9, 0xffa174d1, 0x9ca683dd, 0x0f78551c, > +0xb62d51e0, 0xe4996866, 0x42698b36, 0xa4f727f3, 0x445dcd8a, 0x84531088, > +0x2b1813e3, 0xcf5735a6, 0x342bf366, 0xe6ec7026, 0x9d062f0d, 0x1e8d0f99, > +0x01dc0f9d, 0x5041de7a, 0xb1061c0e, 0x776f4313, 0xfb00f397, 0xbb02acb2, > +0x7d1952fb, 0x0bf4af7c, 0x794ae785, 0x9c76d198, 0x8082533d, 0x4ceb5bb3, > +0xc9ae8a54, 0x58e72404, 0x472422c3, 0x8eeb7f58, 0x6c47b68d, 0xc9d8f01d, > +0x6b585a0f, 0x6d5f0a37, 0x07e91f2f, 0xb5c2fde0, 0x3308684c, 0xabce9336, > +0xf345a63e, 0x36011c35, 0xee27b0a2, 0x53fc4be9, 0xe7c5df4b, 0x2cbcf361, > +0x4505a23f, 0xcd93f236, 0xc24c05fd, 0xe4cf580c, 0xdf590496, 0x0882eff5, > +0x8ccb394f, 0xc2b4b47a, 0x82f1f15e, 0xcfab413a > + > +basegraph=3D > +2 > + > +z_c=3D > +28 > + > +n_cb=3D > +1400 > + > +q_m=3D > +2 > + > +n_filler=3D > +56 > + > +ea =3D > +2048 > + > +eb =3D > +2048 > + > +c =3D > +1 > + > +r =3D > +0 > + > +cab =3D > +0 > + > +rv_index =3D > +0 > + > +code_block_mode =3D > +0 > + > +op_flags =3D > +RTE_BBDEV_LDPC_CRC_24B_ATTACH, > RTE_BBDEV_LDPC_ENC_BIG_ENDIAN > + > +expected_status =3D > +OK > -- > 2.17.1