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 5E66345EEC; Thu, 19 Dec 2024 12:33:51 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4FF1B402C2; Thu, 19 Dec 2024 12:33:51 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id EFD4D40144 for ; Mon, 16 Dec 2024 19:33:32 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BGHGrxx019491; Mon, 16 Dec 2024 10:33:32 -0800 Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2174.outbound.protection.outlook.com [104.47.56.174]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 43jrfb0598-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 Dec 2024 10:33:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=MmSRuzON4xALFm9ghpqDp5TWJlVKgFUai7qUP4IF1TD2FfCQQGYY/d/j+0EPN1joLcHmlF0Dqu0JjyYHyZiroYokK7jv94ulfgoD2aCkalmUTIal1Sc3I28Gz7G5cDt3UYZxQH4JaoiFpFmXne/OlvoWBRanmhilsD7Kfbq1yoJwXNiCATAYia+TkjaEu+y7ULluSdXi2+AbzcWr8iOSLWbmi1QJ3FurlenbsbMDIk0yGuCge+64P7V5oS1J7r2Ino35u0jXNadIsWKZVySu5pQlKBPaATs2/Ocx0BYDXC5/kXPIL2vk5nN2lijcrt9Hv00wJtyNQMRX8FLZF3wwUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=L28pEG4eopzm99uWXnva97vxhHY098tfKHN6/mGniFI=; b=Q5MTgK0KtIN2s1IsekA2RqF0iPAN85FoWnJCdf/894JS6FboqsbuKxokbhX03INtVSt3VNT8O/ZJoE1IHeJdObOXSZbtYT2e31E51EeaJwR8wZXkoDoWGAykJVr7Q43Jn5FJhDhA4K5DDS8B+7JQ9Qb+6FbUQiY6KdpxtjWMhQHX4Z+JKYkURcETexkzBFDbMIHe4OZgvc/kOKSXS5GFqd4AOlHshE8pGlQM9x8oazN3bngJy95aFbDkAwRguBw+ienX1F9xlkZiuUUBtsjvugBwWXxrb/S3PQXP1aPtcZI8JtABxh6h2qpKpKmPIhHjiCNKKRFsw1JL8jDCKJs/gg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=L28pEG4eopzm99uWXnva97vxhHY098tfKHN6/mGniFI=; b=qpmHqbXleS1NHHm8oM31INASQ8mpyairxlNl7sXTBh3XFmwZ4omwEfdIZh5Zx2NabtAxE1lk2jYy3tpyfTWDRgzdWUmKdYpUvf3gacn5dhDzhuMKkMNEubF0qU082Qq4FFz8cKQb4kMzlE7GnVHj0LZ5+EttMY9nNfeCpzRyG7s= Received: from DS0PR18MB5431.namprd18.prod.outlook.com (2603:10b6:8:161::20) by SN7PR18MB3904.namprd18.prod.outlook.com (2603:10b6:806:109::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8251.21; Mon, 16 Dec 2024 18:33:27 +0000 Received: from DS0PR18MB5431.namprd18.prod.outlook.com ([fe80::e995:40c5:6167:c5ca]) by DS0PR18MB5431.namprd18.prod.outlook.com ([fe80::e995:40c5:6167:c5ca%4]) with mapi id 15.20.8251.015; Mon, 16 Dec 2024 18:33:27 +0000 From: Hiral Shah To: Cody Cheng , Gnanesh Kambalu Palanethra CC: JogaRao Nartu , Bharath Rajendra , Patrick Robb , "ci@dpdk.org" Subject: Re: [EXTERNAL] CN10K Crypto Test Issue Thread-Topic: [EXTERNAL] CN10K Crypto Test Issue Thread-Index: AQHbTZfq5VtiWonmDkSlOyNI6P2Pk7LpNWnX Date: Mon, 16 Dec 2024 18:33:27 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DS0PR18MB5431:EE_|SN7PR18MB3904:EE_ x-ms-office365-filtering-correlation-id: bf6352d0-181e-45ab-11da-08dd1e0021ee x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|366016|376014|8096899003|7053199007|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?gZaTzyl6SCnoR7UQ7tc34QNEzm8IsHXiPIIyBLdYqVLZAQWBSiVTW+QbtavY?= =?us-ascii?Q?gW1J6SsbeZHbRJ6UcWaO0LqPiwTqZrsLtbXPvlAXPI0+DIt0qJo81w4/yYzW?= =?us-ascii?Q?JSPfLJ89Xt0Rt19u+VIesucJXkMPRCNuRCjICRxXqIsGgQFuiGROJDiJbxCX?= =?us-ascii?Q?LO1FpC7NxmqiOm+gJsuQN670D94HS5pa0Emjccu+6Lv1igwAjeiFyD7qhL3C?= =?us-ascii?Q?nrtapuXtTHLn/Oo5Wcq+qjD04+9ja7TX5VJwMbJGgqAw3x1lOcD35N8KE85a?= =?us-ascii?Q?rRKkpMIv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HGYfXS5YmQk3g8/nLAK2?= =?us-ascii?Q?JFR+KmQjslGJhZSHPwDOe5hRIPyRXNCpdrxA2rAXqmVbpkwSMJRv6tifYO2N?= =?us-ascii?Q?+78vWiFvlIwM9QCbEZdBcmS+2EuB5ctlqwW17bWA5zsdRNrkBc3MNkYUletj?= =?us-ascii?Q?FfBqK3XDMGKb6u9WNxZEtzAtdei2ftj4YSTeKGy7ncMHl51ekm8xh/OpKlkq?= =?us-ascii?Q?8Q5hobnFdlcLl0wsa6c7F1NzVNt3ttejAQ5/8q465Apnd++6QQ=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR18MB5431.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014)(8096899003)(7053199007)(38070700018); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?eCCU9wQPuPOXcNgny/DZos96T23xKZ1lX5TckpAOd7ZU2yw01wibe9FYDLyW?= =?us-ascii?Q?u1qPCTxrgf3mSVSvhnQ3eF59zaR62EKlnag72iTs4zhILVVU0YgmDLXefKAU?= =?us-ascii?Q?q7wt9aAIcYzRQzgQXIiCtyk7fp4G0dKX6Xh8bixZTWiIE95aheEBxaG4FWMj?= =?us-ascii?Q?PSuJlgzA6QCVGBiUGDrjQ/uMJ2QeRlcWgpEmW0lQtwrL2pRq+7qlJdAxkFhj?= =?us-ascii?Q?QL7p9dD5mrrau6k+VHk86gL/tUBRwX1XU650xMvokH7sodQK5vL4Vzi9Y2Uq?= =?us-ascii?Q?OGhQY/YbI1m0rYr86DAKeWA/JNQB62uiILqwZ1E+TpENznHJED+fkSWf5PUU?= =?us-ascii?Q?Vw27y7lqSxqGyZznTLXqY7mz+JFsnDPCrqjWUfZVPP6D+6ZiRIXQBfwiQzia?= =?us-ascii?Q?GczSixFvOsrrfezmK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=?us-ascii?Q?R0Xgw2GcVVeqwPZQnaEHakE1Ik+m0P2GDYBXcpiKMi26Gw4DkP3ZPZArtiHr?= =?us-ascii?Q?w2majelXMk22BbVxADGrT9zwE4/YPm3Kjjgy6O5zCA4zgzRRoTy9bbXI8txq?= =?us-ascii?Q?7Af+U6jfYojhZQzUD4XSwB42qQXChSXo7tIKWgDX2yIDXgXIOacEM9Zr8aw/?= =?us-ascii?Q?b/Nd/1szloLKVsyQ6LUYTQLUz1mcUvalTyGNy0CUQuAVIgJpQcW9Fc5iGKlR?= =?us-ascii?Q?CgfzdzOz0JN2FyOElGw=3D?= Content-Type: multipart/alternative; boundary="_000_DS0PR18MB543192DE7B1C4E2E1BC65284A23B2DS0PR18MB5431namp_" MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DS0PR18MB5431.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bf6352d0-181e-45ab-11da-08dd1e0021ee X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Dec 2024 18:33:27.4127 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 2KoM/kImsU17Vvs7LjidOlFPuKwLCf39jjU0NN0lP1NtOyo+OkfGDyzU0jmLdok0D2zUX3jIKNwsqPQzMZ7wYQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR18MB3904 X-Proofpoint-ORIG-GUID: XG3RGITp8ewvMCFNwnLZt556cELt-nnM X-Proofpoint-GUID: XG3RGITp8ewvMCFNwnLZt556cELt-nnM X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Mailman-Approved-At: Thu, 19 Dec 2024 12:33:45 +0100 X-BeenThere: ci@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK CI discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ci-bounces@dpdk.org --_000_DS0PR18MB543192DE7B1C4E2E1BC65284A23B2DS0PR18MB5431namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Cody, Can you please refer our SDK document? It should have clear instructions. W= e can sync up if you still have any questions. Regards, Hiral ________________________________ From: Cody Cheng Sent: Friday, December 13, 2024 11:47 AM To: Gnanesh Kambalu Palanethra ; Hiral Shah Cc: JogaRao Nartu ; Bharath Rajendra ; Patrick Robb ; ci@dpdk.org Subject: [EXTERNAL] CN10K Crypto Test Issue Hi Gnanesh & Hiral, My name is Cody Cheng, I'm a tester at the University o= f New Hampshire DPDK Community Test Lab. We are hosting a CN10K board here = which is currently running some ethernet device tests on DPDK, and we would= like to extend Hi Gnanesh & Hiral, My name is Cody Cheng, I'm a tester at the University of New Hampshire DPDK Community Test Lab. We are hosting a CN10K board here which is currently running some ethernet device tests on DPDK, and we would like to extend our testing to include crypto device testing. Gnanesh has written a patch which adds testcases to the DPDK Test Suite which should allow us to do so. However, I am running into difficulties with the crypto devices I create in DPDK from the CN10K board. I would appreciate it if I can sync with one of you next week so that I can show our current configuration, and run through the DPDK crypto device setup process and CN10K autotest (not passing currently). I am guessing there is some error in our configuration. My coworker Patrick Robb has mentioned he met with Hiral previously and it was a big help for understanding how to flash the correct firmware, build the SDK and tftpboot it, chroot to Ubuntu etc. I hope we can do something similar to clear up the confusion regarding crypto devs. What timezones are you in? I would be happy to schedule a Zoom call. Otherwise, I will share some of the system info and the process I have run through below, which might begin to give you an idea regarding our status: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Marvell CN10k Boot Stub =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Firmware Version: 2024-12-07 02:04:42 EBF Version: 12.24.11, Branch: /MarvellSDK/base-SDK12.24.11/cn10ka-release-output/build/marvell-external-f= w-SDK12.24.11/firmware/ebf, Built: Sat, 07 Dec 2024 02:02:27 +0000 Board Model: crb106 Board Revision: r1p1 Board Serial: Chip: 0xb9 Pass A1 SKU: MV-CN10624-A1-AAP LLC: 49152 KB Boot: SPI1_CS0,EMMC_CS0, using SPI1_CS0 AVS: Enabled I am setting up 1 crypto virtual function using the commands here: https://urldefense.proofpoint.com/v2/url?u=3Dhttps-3A__doc.dpdk.org_guides_= cryptodevs_cnxk.html-23initialization&d=3DDwIBaQ&c=3DnKjWec2b6R0mOyPaz7xtfQ= &r=3DvGy6A_Vxl0vuken84vHnqSHz1sugoMRzgsw2uuNRAQ4&m=3DdN2bwgTF6BzuBPsPbKfZfm= Aua-foxlSSnMAoU8EjwCE3XN40flneiz1d7Mwl83iN&s=3D_d4kcuFSGcAGResAexjf_pFNDJ0S= zm68pM2tw5BFzUM&e=3D So afterwards I am left with 1 VF bound to vfio-pci at 0002:10.00.1 At this stage, according to the docs I should be able to launch dpdk-test and run the cn10k symmetrical crypto autotest, using the commands below: ``` ./dpdk-test RTE>>cryptodev_cn10k_autotest ``` However, the auto tests fail and fall into an error loop which I have attached the logs of in this email. Here is the EAL output from the logs: EAL: Detected CPU lcores: 24 EAL: Detected NUMA nodes: 1 EAL: Detected static linkage of DPDK EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'VA' EAL: VFIO support initialized EAL: Using IOMMU type 1 (Type 1) CNXK: RoC Model: cn10ka_a1 (HW_PLATFORM) CRYPTODEV: Creating cryptodev 0002:20:00.1 CRYPTODEV: Initialisation parameters - name: 0002:20:00.1,socket id: 0, max queue pairs: 0 APP: HPET is not enabled, using TSC as default timer In the EAL output, max queue pairs is 0 even though in the docs, it says the Maximum queue pairs limit is set to a default of 63. Could this be related to the issue? Also, here is my kernel cmdline parameters: console=3DttyAMA0,115200n8 earlycon=3Dp1011,0x87e028000000 maxcpus=3D24 rootwait root=3D/dev/nvme0n1p1 rw coherent_pool=3D16M default_hugepagesz=3D512M hugepagesz=3D512M hugepages=3D8 Does this look correct? I have also tried setting `iommu.passthrough=3D1` in the boot arguments but that resulted in the same dpdk-test failure. Best Regards, Cody Cheng --_000_DS0PR18MB543192DE7B1C4E2E1BC65284A23B2DS0PR18MB5431namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi Cody, 

Can you please refer our SDK document? It should have clear instructions. W= e can sync up if you still have any questions. 

Regards,
Hiral

From: Cody Cheng <ccheng= @iol.unh.edu>
Sent: Friday, December 13, 2024 11:47 AM
To: Gnanesh Kambalu Palanethra <gpalanethra@marvell.com>; Hira= l Shah <hshah@marvell.com>
Cc: JogaRao Nartu <njogarao@marvell.com>; Bharath Rajendra <= ;brajendra@marvell.com>; Patrick Robb <probb@iol.unh.edu>; ci@dpdk= .org <ci@dpdk.org>
Subject: [EXTERNAL] CN10K Crypto Test Issue
 
Hi Gnanesh & Hiral, My name is Cody Cheng, I'm a tester at the Universi= ty of New Hampshire DPDK Community Test Lab. We are hosting a CN10K board h= ere which is currently running some ethernet device tests on DPDK, and we w= ould like to extend
Hi Gnanesh & Hiral,

My name is Cody Cheng, I'm a tester at the University of New Hampshire
DPDK Community Test Lab. We are hosting a CN10K board here which is
currently running some ethernet device tests on DPDK, and we would
like to extend our testing to include crypto device testing. Gnanesh
has written a patch which adds testcases to the DPDK Test Suite which
should allow us to do so.

However, I am running into difficulties with the crypto devices I
create in DPDK from the CN10K board. I would appreciate it if I can
sync with one of you next week so that I can show our current
configuration, and run through the DPDK crypto device setup process
and CN10K autotest (not passing currently). I am guessing there is
some error in our configuration. My coworker Patrick Robb has
mentioned he met with Hiral previously and it was a big help for
understanding how to flash the correct firmware, build the SDK and
tftpboot it, chroot to Ubuntu etc. I hope we can do something similar
to clear up the confusion regarding crypto devs. What timezones are
you in? I would be happy to schedule a Zoom call.

Otherwise, I will share some of the system info and the process I have
run through below, which might begin to give you an idea regarding our
status:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Marvell CN10k Boot Stub
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Firmware Version: 2024-12-07 02:04:42
EBF Version: 12.24.11, Branch:
/MarvellSDK/base-SDK12.24.11/cn10ka-release-output/build/marvell-external-f=
w-SDK12.24.11/firmware/ebf,
Built: Sat, 07 Dec 2024 02:02:27 +0000

Board Model:    crb106
Board Revision: r1p1
Board Serial:   <redacted>

Chip:  0xb9 Pass A1
SKU:   MV-CN10624-A1-AAP
LLC:   49152 KB
Boot:  SPI1_CS0,EMMC_CS0, using SPI1_CS0
AVS:   Enabled

I am setting up 1 crypto virtual function using the commands here:
https://urldefense=
.proofpoint.com/v2/url?u=3Dhttps-3A__doc.dpdk.org_guides_cryptodevs_cnxk.ht=
ml-23initialization&d=3DDwIBaQ&c=3DnKjWec2b6R0mOyPaz7xtfQ&r=3Dv=
Gy6A_Vxl0vuken84vHnqSHz1sugoMRzgsw2uuNRAQ4&m=3DdN2bwgTF6BzuBPsPbKfZfmAu=
a-foxlSSnMAoU8EjwCE3XN40flneiz1d7Mwl83iN&s=3D_d4kcuFSGcAGResAexjf_pFNDJ=
0Szm68pM2tw5BFzUM&e=3D

So afterwards I am left with 1 VF bound to vfio-pci at 0002:10.00.1

At this stage, according to the docs I should be able to launch
dpdk-test and run the cn10k symmetrical crypto autotest, using the
commands below:

```
./dpdk-test
RTE>>cryptodev_cn10k_autotest
```

However, the auto tests fail and fall into an error loop which I have
attached the logs of in this email.

Here is the EAL output from the logs:

EAL: Detected CPU lcores: 24
EAL: Detected NUMA nodes: 1
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
CNXK: RoC Model: cn10ka_a1 (HW_PLATFORM)
CRYPTODEV: Creating cryptodev 0002:20:00.1
CRYPTODEV: Initialisation parameters - name: 0002:20:00.1,socket id:
0, max queue pairs: 0
APP: HPET is not enabled, using TSC as default timer

In the EAL output, max queue pairs is 0 even though in the docs, it
says the Maximum queue pairs limit is set to a default of 63. Could
this be related to the issue?

Also, here is my kernel cmdline parameters:

console=3DttyAMA0,115200n8 earlycon=3Dp1011,0x87e028000000 maxcpus=3D24
rootwait root=3D/dev/nvme0n1p1 rw coherent_pool=3D16M
default_hugepagesz=3D512M hugepagesz=3D512M hugepages=3D8

Does this look correct?

I have also tried setting `iommu.passthrough=3D1` in the boot arguments
but that resulted in the same dpdk-test failure.

Best Regards,
Cody Cheng
--_000_DS0PR18MB543192DE7B1C4E2E1BC65284A23B2DS0PR18MB5431namp_--