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 0AC39A0C4E; Wed, 21 Jul 2021 03:14:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9275D40689; Wed, 21 Jul 2021 03:14:11 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2088.outbound.protection.outlook.com [40.107.243.88]) by mails.dpdk.org (Postfix) with ESMTP id E2BE94014E for ; Wed, 21 Jul 2021 03:14:09 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nQ1PLfvq3rjQiMxJK44W1Py20CfAE9HdGwaEPOtMeqS+chCSPoo1MZQFwhqXTtC5qc9VQdY03gjBeb4GJxARtrJDLCSpSXm/cb4bLPlF4Gx5ysxAKK7boNXSHiW1iIqR/uDt6l9hnP3rHeebFDl3/k3GL/pyB1N4GgTR+kONf08If80dIgZRPCycNWxakelFjByTpoezyOlxyrw3WfCg7gzL6TdiosxlWWxGO28RPQ6+I5PaM0rcrjG1QE+QKlra64hwB3kT2yEsTeeFQRo9Ck7ZV+Gn/YPItJUUYJz/CSPhH5f/TtHWmeveDG8ZUoUJorELBXqrAalHYpkoDl0ZlQ== 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=g+LnW9Y3sYiibsbrTLKy1F9XmnbugcEvBIjeBIIL1us=; b=Q5zCXc23LpAy2I99pP64YeDrLushn5TXoTOLOkYJl4FxAEPBZ/0/EKuK3ywWH/fij+hVHiT23jSzEtKcOU+WlewHO+03AqV7cPkLA5ChfWclXTQiXT2Tc3g33Qn1lH5WorLckVgckeFqdFQtwT72z518OEZttRyhILX6tYlYR2mAIhvGe3HDo6h5k3PNOf49NT6t/pzPsCgiE3qSe/DI2faYSIlFMjhTQ9BhcJ4CRrRVeCMnlPdKTDS1QxuBYaHQcyIg9aE6Cd/qOYTVofVNUxqXBmcMB6vs7821CnbS4QwsDrcm9+DXcI9uLgmTlI1ycQCFkHVIh/5pzVEgUPVxwQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g+LnW9Y3sYiibsbrTLKy1F9XmnbugcEvBIjeBIIL1us=; b=nwv1IqcqpemCePzaFMejPVeQ3sHAfR1MWqbMM3hTxyCALjyhRK7Y7BKpUgawz0Tf08kcjaXEPof6IZ72NxNaSc+ntoLibAOX8UMNyG4bF3rZ9qh9ykWTaAQC9z3EqTvwwBSi6iZlVxMzXlIU6x6u2mmcmzFLCErTcR0HOCsYVD+vZnXXGEKEG96auoI7HOLTSAX5mQdNT2u4E1ZzHEdU0+QbvEeHqyAiHBe7ANIm2G2WLFLLS+R3FD9jeQeCXFXR8sHDbPYp9EeUygzke8TEfKHEkbzVEduU51pFvNwfCyw1iDAOJp59DnNWYEM7frQb/NRDCbLowhCh+Z8vfI2Y0w== Received: from CO6PR12MB5396.namprd12.prod.outlook.com (2603:10b6:303:139::8) by CO6PR12MB5458.namprd12.prod.outlook.com (2603:10b6:5:35b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21; Wed, 21 Jul 2021 01:14:08 +0000 Received: from CO6PR12MB5396.namprd12.prod.outlook.com ([fe80::3dfc:6b6a:662:7f51]) by CO6PR12MB5396.namprd12.prod.outlook.com ([fe80::3dfc:6b6a:662:7f51%8]) with mapi id 15.20.4331.034; Wed, 21 Jul 2021 01:14:08 +0000 From: Suanming Mou To: Akhil Goyal , Shiri Kuzin CC: Matan Azrad , "david.marchand@redhat.com" , "dev@dpdk.org" Thread-Topic: [EXT] [PATCH v9 00/15] drivers: introduce mlx5 crypto PMD Thread-Index: AQHXfafbYRjfxguUnUCT3kVY0TqBaatMWYeAgAA4zxCAAAxgwA== Date: Wed, 21 Jul 2021 01:14:08 +0000 Message-ID: References: <20210408204849.9543-1-shirik@nvidia.com> <20210720130944.5407-1-suanmingm@nvidia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6d21260c-c58c-4fac-f7bd-08d94be4d757 x-ms-traffictypediagnostic: CO6PR12MB5458: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:989; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: e+CjFQ0M/JPFCdPIPy2Tfxs37aVu3UxG9tXDLUCvfDpLbRYJxUiDpQ9+jCcIJ+0uKjTzIh05E+qzwsYeL4Q1ZyWE/+IIsTwJYi4Doa/HJ7ZjeRH6t/UdxLAdu/T2yWypGJBbU+MNuKvrOhA9USMHX5OsbqUpqABPC6sgnxbeo0NniNPcg/o9zY7akMNwNbAkKpyA61Uduw18263K/NYPVqJxqRgfkkdUhcu9I6dCpH5VpwenRF/8Hd/Lrr2kCPLxghJKmVXzryDpQROGw1tBVclbWHt7a3piSmct5tYHtmllhEAWZ5vVHW38ZBMPojpqBrXYerCqzPaptkvRv2pL8Fgb+DXq84uc4ZzNpA+/kiUhp3/WDWa47Lz5zJqfmOVDmg4rZ1zoCnmwwnysIPaNpl9N4GPCgClK5K/jvTe2weVHd4ZMleGeE716jyRWzhLyA8xN06OSOfCmfKz2XdCbLA0UehOdfbMHfZvGx5UUsb8rzCH/Lad8qOZ5T7xnFETURErudr1yy25JWgZbo3toJmNfih5SB+cy6SDGf0k8lzxPNHRZ92JldnaTafWfzIZoLNwsO6F6YztcTlbRD43In9XPuoNMpGWFBmHI6+7y8629pjhAz8iQaAY28/m4qI0RIRymDc9euG+a/oI1PmdDWbBTlg5v6AxjeOUecfBas8FJQPBPHk4TkWg9Hp3fE+grJB1GlFAuIkYSgSOZwICyOw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR12MB5396.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(52536014)(83380400001)(4326008)(110136005)(66476007)(66446008)(8676002)(6506007)(122000001)(9686003)(26005)(33656002)(5660300002)(7696005)(66556008)(64756008)(86362001)(316002)(186003)(2940100002)(2906002)(54906003)(6636002)(76116006)(55016002)(508600001)(71200400001)(38100700002)(53546011)(66946007)(8936002)(38070700004); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?CIAHn9UHU35sA4zEDmq6Ut/2rsYENfEYT4XwuupmmWamXlm7Oebj0OS14gcK?= =?us-ascii?Q?Wip2S2vNNmORDYlg8jEdVSbdIORAO/et4+vSiXRbM/pYkWBNqfqKx20uj3oO?= =?us-ascii?Q?ZT/YP5w4TsOhIGIB1YOt+U985OnMZZ5x3A7UxEoZAF+BNsJCk9XF2+2M3Ti6?= =?us-ascii?Q?l7LGvJuR7wQrgJ+Ynyz9n2ncXoWbK8h4wYCDqLYcX7qn4Hr/8mYqGUCM2oMu?= =?us-ascii?Q?LCCSENd0doNt2o+TeeB8hXypU5hrQ0ufYjYaigIhksef/lMZuhr0jf7ARM2e?= =?us-ascii?Q?z4jyt06OACIg8erR/MfDPG1rcUZhsGDknj0q7afUYYqs8fvy4sVKad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v0ZEAFhpOgnBPltLuAlBmZagl+?= =?us-ascii?Q?dXJdCmQqjVUlO5ZHRvru/t0uLNketDPH3rMCtFWAJprHqpkdbKEfC8V5G01w?= =?us-ascii?Q?1y7b8Z5kZeD34/MsAk4xfKGW?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR12MB5396.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6d21260c-c58c-4fac-f7bd-08d94be4d757 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jul 2021 01:14:08.6451 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: nejg0lG7F/RuV3l4673d6w7HlkMAF3lNWEY3YwT+lOVAHfMuSOtvVePZ9U7hJl6N3esJTWYJzh2QUYilNtaGPA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR12MB5458 Subject: Re: [dpdk-dev] [EXT] [PATCH v9 00/15] drivers: introduce mlx5 crypto PMD 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" Hi Akhil, > -----Original Message----- > From: Suanming Mou > Sent: Wednesday, July 21, 2021 8:27 AM > To: Akhil Goyal ; Shiri Kuzin > Cc: Matan Azrad ; david.marchand@redhat.com; > dev@dpdk.org > Subject: RE: [EXT] [PATCH v9 00/15] drivers: introduce mlx5 crypto PMD >=20 > Hi Akhil, >=20 > > -----Original Message----- > > From: Akhil Goyal > > Sent: Wednesday, July 21, 2021 5:02 AM > > To: Suanming Mou ; Shiri Kuzin > > > > Cc: Matan Azrad ; david.marchand@redhat.com; > > dev@dpdk.org > > Subject: RE: [EXT] [PATCH v9 00/15] drivers: introduce mlx5 crypto PMD > > > > > > v2: > > > > - Add data-path part. > > > > > > > > v3: > > > > - Rebase. > > > > > > > > v4: > > > > - Rebase + Address the following Akhil comments: > > > > - Set HW feature flag in the capability patch. > > > > - Fix mp object release in session clear. > > > > - Some spelling and word missing in doc. > > > > - Squash data-unit adjustment to the session operations commit. > > > > - Wording: device argument -> devarg. > > > > > > > > v5: > > > > - Add mlx5 crypto tests into test library. > > > > - Update documentation according to Akhil comments. > > > > - Fix memory region management. > > > > - Fix multi segment case in data-path code. > > > > - Split documentation to the correct commits according to Akhil > > > > comments. > > > > - Rebase to new version. > > > > - Change license to Nvidia license. > > > > > > > > v6: > > > > - Rebase to new version. > > > > - Address David's comment and update log accordingly. > > > > - Update testing app commits as suggested by Akhil. > > > > > > > > v7: > > > > - Rebase to new version. > > > > - Add scatter gather and OOP test cases. > > > > > > > > v8: > > > > - Add a test case that was removed by error. > > > > > > > > v9: > > > > - Reorganize the basic operation commit. > > > > - Move the seesion operation commit after QP patch. > > > > - Fix coding style. > > > > - Move the rel_notes to the last PMD change. > > > > - Move the mlx5 test code to last. > > > > - Rename the driver name to crypto_mlx5. > > > > - Split the MBUF_DATAPAYLOAD_SIZE update out of the series. > > > > > > > Series Acked-by: Akhil Goyal > > > > > > Applied to dpdk-next-crypto > > > Updated MAINTAINERS file for ownership of mlx5.rst and mlx5.ini > > > files Fixed some typos while applying patches. > > > > I am getting error while cross-compile arm on x86. Can you check. > > Please send a fix if it is a genuine issue, I will squash in the origin= al commit. > > > > meson build.octeontx2 --cross-file > > config/arm/arm64_octeontx2_linux_gcc - Dexamples=3Dall --buildtype=3Dde= bug > > ninja -C build.octeontx2 [906/2513] Linking target > drivers/librte_common_mlx5.so.21.3. > > FAILED: drivers/librte_common_mlx5.so.21.3 > > aarch64-linux-gnu-gcc -o drivers/librte_common_mlx5.so.21.3 > > 'drivers/a715181@@rte_common_mlx5@sha/meson- > > generated_.._rte_common_mlx5.pmd.c.o' > > > 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_mlx5_devx_ > > cmds.c.o' > > > 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_mlx5_comm > > on.c.o' > > > 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_mlx5_comm > > on_mp.c.o' > > > 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_mlx5_comm > > on_mr.c.o' > > > 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_mlx5_malloc > > .c.o' > > > 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_mlx5_comm > > on_pci.c.o' > > > 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_mlx5_comm > > on_devx.c.o' > > > 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_mlx5_comm > > on_utils.c.o' > > > 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_ > > nl.c.o' > > > 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_ > > common_os.c.o' > > > 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_ > > common_verbs.c.o' > > > 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_ > > glue.c.o' -Wl,--as-needed -Wl,--no-undefined -shared -fPIC > > -Wl,--start-group - > > Wl,-soname,librte_common_mlx5.so.21 -Wl,--no-as-needed -pthread -lm > > -ldl > > lib/librte_hash.so.21.3 lib/librte_eal.so.21.3 > > lib/librte_kvargs.so.21.3 > > lib/librte_telemetry.so.21.3 lib/librte_net.so.21.3 > > lib/librte_mbuf.so.21.3 > > lib/librte_mempool.so.21.3 lib/librte_ring.so.21.3 > > lib/librte_rcu.so.21.3 > > lib/librte_pci.so.21.3 drivers/librte_bus_pci.so.21.3 -Wl,--version- > > script=3D/home/cavium/up/dpdk-next-crypto/drivers/common/mlx5/version.m= a > > p /home/cavium/up/mlx/rdma-core/build/lib/libmlx5.so -Wl,- > > rpath,/home/cavium/up/mlx/rdma-core/build/lib > > /home/cavium/up/mlx/rdma- core/build/lib/libibverbs.so -Wl,--end-group > > -Wl,- rpath,/home/cavium/up/mlx/rdma-core/build/lib '-Wl,- > > rpath,$ORIGIN/../lib:$ORIGIN/' > > -Wl,-rpath-link,/home/cavium/up/dpdk-next- > > crypto/build.octeontx2/lib -Wl,-rpath-link,/home/cavium/up/dpdk-next- > > crypto/build.octeontx2/drivers > > /home/cavium/tools/marvell-tools-1013.0/bin/../lib/gcc/aarch64-marvell > > -linux- > > gnu/10.1.0/../../../../aarch64-marvell-linux-gnu/bin/ld: > > /home/cavium/up/mlx/rdma-core/build/lib/libmlx5.so: error adding symbol= s: > > file in wrong format > > collect2: error: ld returned 1 exit status [915/2513] Generating > > rte_common_sfc_efx.sym_chk with a meson_exe.py custom command. >=20 > Not sure what's the real issue here, I'm trying to find a local setup to = reproduce > it. I can't be reproduced the issue on my local setup while cross-compiling. And double checked the log here, seems the rdma-core libmlx5.so is not corr= ect: /home/cavium/up/mlx/rdma-core/build/lib/libmlx5.so: error adding symbols: f= ile in wrong format I assume you will see the same issue even when you don't have the crypto pa= tch set? Do you get the error only when you applied the crypto patch set? Thanks, SuanmingMou