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 F174DA0579; Sun, 25 Apr 2021 00:06:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B27554069E; Sun, 25 Apr 2021 00:06:01 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 650404068C for ; Sun, 25 Apr 2021 00:05:59 +0200 (CEST) IronPort-SDR: ckT5/maNu30Hk/qSmhvpYtUFqU+RkytnMQ40INy3uRnWC1pZ2OdIKp+LB6wEEWjdMBmTBu3E95 cuPneZsb3TPw== X-IronPort-AV: E=McAfee;i="6200,9189,9964"; a="195753865" X-IronPort-AV: E=Sophos;i="5.82,248,1613462400"; d="scan'208";a="195753865" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2021 15:05:58 -0700 IronPort-SDR: gi5kQoJiHPieZF/oCQrXpxWCLXXmjkP7yHQE49Irno4vZ2Vkk4oagnRT/Ywbbr7sF1hTXbm9po U+/vWh84nZDw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,248,1613462400"; d="scan'208";a="456641074" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga002.fm.intel.com with ESMTP; 24 Apr 2021 15:05:58 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) 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.2106.2; Sat, 24 Apr 2021 15:05:57 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Sat, 24 Apr 2021 15:05:57 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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.2106.2 via Frontend Transport; Sat, 24 Apr 2021 15:05:57 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.173) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Sat, 24 Apr 2021 15:05:57 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hw46W86/Nj53D8aJLyTbuQvBmRl9vVcaqVgja99N5b28uVpU2q3yHUBLXsgHys+Jglasnx9tBRt35CuffgeaSnGBoQATXSrIN4YAlxXc5Vm+l6/9vPsgjLC9k07EbOsPthPuCH+hzJzLrI1QZ+BD3EdqcLkZ7qijVyg54R6W1pGerdaxzMFRxB6RhKBSzw8vnFKOPVuOaUE+wMACoLQutlC+OHaT+TWUX9d/GuthhnYJiToIX2UdxOmZLXOGb0qppOXgZ/LnY4Bo5DSCWwg3rTE6bvnxPFdZJFgunZt8H1QzoWaAk3MfeyFkGAw0SnLCXprmvfBwBFAYpsNN+p+VVw== 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:X-MS-Exchange-SenderADCheck; bh=QbGwSxVEaNYuMvgBcQdAIg1MANfUzZHgF4QF1C4Hgak=; b=gL5x0Ng3tQfyadzidUmDpkRwbH3B6eXb30/u6oFTz9ALaVVFTPgU5VcRk1BkvmB3MNha6jwdpMWHUtsath3bw3rcENMJvsY0A9FJOaHgnxyygl+Jq+wy/Oltu5NVh/EivEUYTxhqeWtaLV34ZGwxnOMqiVn1KVJ3Qk7fE87SYuTtfXbh3iDcXkBffimJwbK4zLUf+7B8NjwOZL7ME/RehhZgj1kRqJtuerrydVkan75HVLobqI81U6+fp8EV56Ee86GeaciJ97uOM4Pkvl3zsNOnXJd41JQWtg6WOLknz6io2luynV0JG4K4xkmjae5Mm1V5Camz79c/C/ZHdpiAHg== 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=QbGwSxVEaNYuMvgBcQdAIg1MANfUzZHgF4QF1C4Hgak=; b=HrFURbGEbvNCy5BkS5J+my2OOdPY3sFmofQuMbQVJkNJdD7qDiZv33ggpRdyAN7oW5EbLzWhKatESRav8SnL7un3/pfw+5kqSIA8CHsJb6K+vqeGkwLj3HN1GcQuCF946RhZ3sgFgJx25vNWi8O2HO5k/Cv/191c9M6iNtHtzd0= Received: from BY5PR11MB4451.namprd11.prod.outlook.com (2603:10b6:a03:1cb::30) by SJ0PR11MB5152.namprd11.prod.outlook.com (2603:10b6:a03:2ae::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.23; Sat, 24 Apr 2021 22:05:56 +0000 Received: from BY5PR11MB4451.namprd11.prod.outlook.com ([fe80::756a:2aef:40b1:11c8]) by BY5PR11MB4451.namprd11.prod.outlook.com ([fe80::756a:2aef:40b1:11c8%5]) with mapi id 15.20.4065.025; Sat, 24 Apr 2021 22:05:56 +0000 From: "Chautru, Nicolas" To: Hemant Agrawal , "dev@dpdk.org" , "gakhil@marvell.com" CC: "david.marchand@redhat.com" , Nipun Gupta , Tom Rix Thread-Topic: [PATCH v4 8/8] app/bbdev: add test vectors for transport blocks Thread-Index: AQHXOPYJe5IGbWswXEa8Afz/waDiwqrEODug Date: Sat, 24 Apr 2021 22:05:56 +0000 Message-ID: References: <20210413051715.26430-2-hemant.agrawal@nxp.com> <20210424103700.8098-1-hemant.agrawal@nxp.com> <20210424103700.8098-9-hemant.agrawal@nxp.com> In-Reply-To: <20210424103700.8098-9-hemant.agrawal@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-originating-ip: [45.28.143.88] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2a0d737a-7f9d-4664-770e-08d9076d228e x-ms-traffictypediagnostic: SJ0PR11MB5152: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: I5+4Ebwkb9vkg87+l4h9zBenTViGP7sZBXRaqHMdXTaGkJaVL6+670krIrmzOjS3pQ0rbFTbkT6/KkWpgrsPrIOprOiwYTferbLwijpy6ukcuF+Ia44baxZGs05x5POJNgS028VNnk9LkW5xHS2lVYKlYgpm2yZS1y3KuuE9aVLmtY229RMsjf2/0bBrnHbkThwNiySYQwq/iuybrSUJsSYhrw8G+fnDjfHOyW0qThkbwFg06Gsis8DzKQaHU3DX3hkypaFvbbvvIX933f6RqO1s89agOYQvaqkJY6tnl4czr6WnUvU7d4RiRLK6+IsCbo8032kYNN0s7cwoUj+PYi/6JlMIDeTcgUg7H65ZNbEMaF3XwmlptrwmFAwxdxUDiYFPsM269XXgx/F5sH9o5F6MW6Rot76e6Zfzwl/TxLyeYMf4IsbcX6b/W7bTj14berUHBFGCM2KSQCYGVODjZYBzqTpZhIiggt4TQHRIzKFbohPcINGqMWCXVzL44N3sCjVSH9eWqhzGoR9JK9FMch4epcJY8NUsssuycBQqFDlrNP2i8TLr/DfDZH1ItVqrW5fRYRKiO+uqrepETKnSPiSo8dB719xkszrIpKGqeLg= 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:(366004)(396003)(39860400002)(136003)(346002)(376002)(38100700002)(122000001)(33656002)(83380400001)(8676002)(8936002)(478600001)(71200400001)(30864003)(186003)(316002)(2906002)(54906003)(66476007)(64756008)(66556008)(66446008)(26005)(66946007)(9686003)(86362001)(6506007)(5660300002)(4326008)(55016002)(52536014)(110136005)(7696005)(76116006); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?rfxV3mn2ta3bwxCYvvM9ykQDBvDnX6eUyyaU2cjBi10YvFdCAlSMErIfWfV4?= =?us-ascii?Q?+/IfQ2bA1XHqY1XGH6IN55hCHRkKb5T3VEDqsIuwhNp1rcY9Zz1TYXV6XQ63?= =?us-ascii?Q?+dFfijbKhjdOEeXNeQIrHKIF6qxtvRxtrurzcQlcDN+S2tjNdVYkgJdZaJDP?= =?us-ascii?Q?0ODhB3gBfFrYQgOaRo8V+hCbQJNNSOIzdRpNzuvWiHaRPMBe49F0tXsZcW2k?= =?us-ascii?Q?d1S8ga4NqRLYmSNEdkKzktfisPWok1w0HBy6FFgLu7EnWjJNHII4R067M1U6?= =?us-ascii?Q?Gqoc4JrOZejr9mY1IV20Biw2bk2vkbJdpDgKucyEsdMNFBX4vHLb8Nz133t+?= =?us-ascii?Q?dLkcqrz5ClTHXx1+lDp+1+n3aKKbh1LY2DUYVKFXYF58xQ75GMmBU05WbMuI?= =?us-ascii?Q?d9t1CK9boG/+6LlzZcuHO5dGp862xUzxH2pEa2Gh07oFpHuqt+7rQLE4rBla?= =?us-ascii?Q?AU/QHPyDa5XEPWL+HSd5b0y4MnAUCk7+CT/X2AgvlAh8jdjpsTdKTXdQNOzn?= =?us-ascii?Q?CMpPdsoz4kSzHqUg/FrtBtqyo3CRtd/Ga570SPh063E2qPr9/4jKVfkoMuH4?= =?us-ascii?Q?Y8yqRHGOu49FqlHBNkYd2tidF5OuMLc+eZ/+ueSI1XP0TTIJi+ur6Lo/F0vn?= =?us-ascii?Q?If/Z2Qmx7o9nRMwhJhPRxg2cMQ5BQiQaWWi4HM0KowZ6mzayAb6My4IuL8qT?= =?us-ascii?Q?YN4Zr5wbdP7NK9rk8+P/eRLqmddhV7YYnDjwSSvbowqLSCswAEzeYofd+c6x?= =?us-ascii?Q?qNte84FGLwEUrxPBdBEcDyFAMdzdWh7Xh/monirhiGW1boL18JVyyGBqs/ze?= =?us-ascii?Q?hBdBj15e5p9ZdMHcNOsAPExLRMfNiqBZnE4r5vRk07x5qR8efAH45ynOWXXz?= =?us-ascii?Q?aSxK9i4ytJSG+NZZj+tEVaoCwzrVXug3xgX2RPwY+Tq9x4lPJl989dHnoI2P?= =?us-ascii?Q?nALJqBtJromPFWKoLV4HlIo8ebW3J7WPK4B/jtoqVAL2BdUDZcPXjavnnB9a?= =?us-ascii?Q?bdZu3GNXmzx8e5+W5dltVv+oo3K/HXB9PNFWFi5lvdQn9VqU1OTX07z+/P2I?= =?us-ascii?Q?pOyYAOap9f7AftYBV0RKKRtqvfjBURyDYfaMYdGe/+YBocVeAdwNhzSla944?= =?us-ascii?Q?p132c0/wuifa7WQ9dH4nL9yItGTPGwzTDsk2EgH7mDCRxcJYr9ZTz52n5PuD?= =?us-ascii?Q?zZNpRe7u1RxPxD8r2TSPPy9BH/ncs63T/UQkeHUwMPNRYTXr51Z8vtAXtO5o?= =?us-ascii?Q?66HjVZOScvSk0/VkHanJODaCJWRi9zWI9cMRElgzsAvbEGuJLMjyMwDGirwd?= =?us-ascii?Q?vx0=3D?= 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: 2a0d737a-7f9d-4664-770e-08d9076d228e X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Apr 2021 22:05:56.0838 (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: xFM3+uLdg5T4CFGFYZuR1b0km8LSEZLbZowidIxKgdTpAUJLzV2lRuMtZ8+8N8iyARbjYPbTWZMtE/oe3czBjSaoxcOseYWxqKlRkehU44A= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5152 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v4 8/8] 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: Hemant Agrawal > Sent: Saturday, April 24, 2021 3:37 AM >=20 > From: Nipun Gupta >=20 > This patch adds two test vectors for transport block in network byte > order: > - LDPC encode for Transport Block > - LDPC decode for Transport block >=20 > Signed-off-by: Nipun Gupta > --- See related comment on patch 1.=20 Assuming this is a different PMD assumption (not an incremental one) then t= his should not require new vectors with the op_flag RTE_BBDEV_LDPC_ENC_NET= WORK_ORDER.=20 These would artificially create non-compatible vectors for no reason. But all existing vectors should be able to run on any PMD, the test framewo= rk will just change order endianness based on what is supported by the devi= ce so that all unit test can be run successfully on any PMD. See how it is = done for LLR numerical assumptions which can differ between PMDs.=20 Let me know if unclear > 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..4ec5020d04 > --- /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_LLR_COMPRESSION, Is there really LLR compression in that vector? It doesn't look like it fro= m looking at the data. It looks like saturated S8 integer format.=20 > +RTE_BBDEV_LDPC_DEC_NETWORK_ORDER > + > +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..f3e883584a > --- /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_NETWORK_ORDER > + > +expected_status =3D > +OK > -- > 2.17.1