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 91F3CA0C42; Sat, 8 May 2021 13:16:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0822C40140; Sat, 8 May 2021 13:16:48 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 6CCE64013F for ; Sat, 8 May 2021 13:16:46 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 148BGjBU009426; Sat, 8 May 2021 04:16:45 -0700 Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2102.outbound.protection.outlook.com [104.47.70.102]) by mx0b-0016f401.pphosted.com with ESMTP id 38csptnbau-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 08 May 2021 04:16:45 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mR4rBYiNCt2ya5O+gtmPcbuR41WkWhWvqI9SUTJJPl/iSgQGeEolfR18K0E7DFKnos8UiMyx3s1vTZilmY9s6fwMdxLBzWjfiJc2+lYkRxd92Jl7EmRJ7b4a4lCb0Nr6EZmfeB48gT/YtD5s2kb/tlEfB24959iN+f1DzczRGpNwDkWt/KvYrl3zoB2RzCV2CEdxJ6INbNchXtVqhx+/uw25QPnqCHKP3mMSBF3XrIG0MBgwrHAz7PU5HY7O3xJEChvNXYb3OLIYbQO0Qa7hlFjvvtUPPh9jJ78b5r7yf8TM73wWUbjJWhfdMLY1G9cJdp2XvWWQAjdPqAcA3LQ7ng== 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=oEHG4HE6jHwWzlCQdKFyYKy0UQ2PSEIOcA7HAe3lHe8=; b=FroiJOih+t5zPoDJ6BADbMU9DS5VVauUAMGxvedOZ0t/FnoCa/Cum2Rzew8M344Bs42e8GSAu0PExhsWHuW8z1Iu3v3TgOBQwUIUocipasTEZ3rMi9bXhz/VBWQJPoR99o+OnPXrnUA1X1Sk0XA5qrXtOds9gx+F8CHDZr6WOVquJ3RxAj5oFzR/c/UW2qKKRarcK9fC/ADYXsiZan6xfuEJAEEtSNRTG3q70PQl8+yWzAzgk7NWT5g54/AZLI9haLhmaKsQhAskCFKvEiGmZ2MMt8z4YffrLIEYVXF2lK/vjyQ+StBQS+cCzYYAHlB3avMgMNKpIRfy+6b918hU5w== 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.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oEHG4HE6jHwWzlCQdKFyYKy0UQ2PSEIOcA7HAe3lHe8=; b=HomGafm1bzAGWIjYiO5vok9F1Td8xwkDhdOMbUHYHjqahPiIJsKyC9dJ9qRJSihoLx9bpEB0Fge71iZPzSdMZeCSl3e3ek2LonqzN07YEye7m4gyS22Nsd7ZJeTyVLP2EAAuRyJBDxlFlNAi7/gizc/ZtIVXIRNpE8CZB6Nlym8= Received: from MW2PR18MB2284.namprd18.prod.outlook.com (2603:10b6:907:10::16) by CO6PR18MB3890.namprd18.prod.outlook.com (2603:10b6:5:347::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25; Sat, 8 May 2021 11:16:43 +0000 Received: from MW2PR18MB2284.namprd18.prod.outlook.com ([fe80::3168:cb00:6607:743f]) by MW2PR18MB2284.namprd18.prod.outlook.com ([fe80::3168:cb00:6607:743f%7]) with mapi id 15.20.4108.030; Sat, 8 May 2021 11:16:43 +0000 From: Akhil Goyal To: Matan Azrad , "dev@dpdk.org" CC: "suanmingm@nvidia.com" , Thomas Monjalon , Shiri Kuzin Thread-Topic: [EXT] [PATCH v3 01/15] drivers: introduce mlx5 crypto PMD Thread-Index: AQHXQSnFSYNEr5fXDUSAriS5cqzCearZVWyQ Date: Sat, 8 May 2021 11:16:42 +0000 Message-ID: References: <20210429154712.2820159-1-matan@nvidia.com> <20210504210857.3398397-1-matan@nvidia.com> <20210504210857.3398397-2-matan@nvidia.com> In-Reply-To: <20210504210857.3398397-2-matan@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=marvell.com; x-originating-ip: [171.48.51.1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5e7b01d0-4b1d-4183-4c49-08d91212c279 x-ms-traffictypediagnostic: CO6PR18MB3890: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bzqktmujXHQhjVFGq3dZVyIu4ZOlfmTVarIJpCFW5T/I7OajHIhb1KQuVBNrWSn5wlQjI+SkYMKrfjHiJPo4ZIg8JX95LVaPNxH685VCbCxyqe2wogx/yzSJ3YhBeNZwpJfcLBaHkvtLB7KtI4JqLnRgMMFCcY0DOo92RAg2axSKTkrM3L7c627LRu0qiBLeRD0oMZzRjWAovuhvY7yti7x6vxTl9d4J5klNVvbWBaz5VggiXqd74FNc5AF30+x8TcW+fGFCLAAoT5mJXnCLKmcQywnD0zBSP0Dj+PC4Pz0S0SFoR8gX6h0plhIN1Xff9cEQVC8shTcdgWZXOaIEGHAx5KDJdCTnQw5B3SgO/SqwQkz4NmDZ89xIOBr42SAsKa51lhAjk9MpDQMcT6tpSI1uS0KuTaM8qu1/WsaV9kY7iiWf0ry3DrNJ3kjSzo1a8NXpQqNj6cUY+KvBGPd0Jx1Zrs/hHREHT/80AlnkWdorMeEfY/C/McNcxacsK71kBYDuC2hWh7d6lKXRo74qt9nG5zlooehz6os1T6EfinAVEKKQHhWdA8D1H+BBjma0E3L80tbVwuUPvw24qDiZkq+XS7XxJwv9rwartsHHCBo= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW2PR18MB2284.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39850400004)(136003)(396003)(376002)(366004)(346002)(9686003)(478600001)(26005)(8676002)(316002)(64756008)(186003)(55016002)(54906003)(76116006)(66476007)(66446008)(4326008)(66556008)(5660300002)(66946007)(8936002)(122000001)(38100700002)(6506007)(2906002)(110136005)(4744005)(7696005)(33656002)(86362001)(52536014)(71200400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?3sfseeY2Gp7rVv5ShhueVF99T9WIsEAF4a+/uv13pzsitu6wgRiXrEKPnvWe?= =?us-ascii?Q?S9b0m4Vtacj/QxwSXS0rOQq+gm2h81ml3Fl8pcC01s33WaEY466OUekyBZ+v?= =?us-ascii?Q?G7rEnF9hkF5tp4Gmg7ffDJx/cWqem4C5sQ9BcGPnViMJTWG9rwvK4OAsI94j?= =?us-ascii?Q?N38jL/Hz0wwJ7lreBvWS7dyiaiG7YaVb1fZWa2SC4ZQHaQrJQ4sIZOBBzmKu?= =?us-ascii?Q?xxcNnrLNl8B7gf6uJTgAeso8kNNEI7nkI1ZjAyhZ/F4ezEpNQv6X1tCUv2y+?= =?us-ascii?Q?ICRUae5rhdEAj0OSNN9KnQF7DT4UerYf4nX11BxCcNjl50Z3wZHQEwWL6HSx?= =?us-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+WGMcLNNM1UMr1tmb+idlSEhpk20zmPWkyn?= =?us-ascii?Q?ENZQpBbIv9GZhaco0HWaZtaEReoRuMxLU/tKtLSb4Yv3loBtdaKAlkR84YOL?= =?us-ascii?Q?GJw=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW2PR18MB2284.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5e7b01d0-4b1d-4183-4c49-08d91212c279 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 May 2021 11:16:42.9567 (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: W8bgY6TCjGJiytMuiDJLFbsGCY1vMBCvne0Y63vHVjCpu+6i6uwqCPQC0ewYtWoITW2bYuIWemooeZ6n0toNow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR18MB3890 X-Proofpoint-ORIG-GUID: KqtOBu79dTDzLheavbZFURGUTg4xXHKC X-Proofpoint-GUID: KqtOBu79dTDzLheavbZFURGUTg4xXHKC X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-05-08_06:2021-05-06, 2021-05-08 signatures=0 Subject: Re: [dpdk-dev] [EXT] [PATCH v3 01/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" > diff --git a/drivers/crypto/mlx5/meson.build > b/drivers/crypto/mlx5/meson.build > new file mode 100644 > index 0000000000..fd00283665 > --- /dev/null > +++ b/drivers/crypto/mlx5/meson.build > @@ -0,0 +1,26 @@ > +# SPDX-License-Identifier: BSD-3-Clause > +# Copyright 2021 Mellanox Technologies, Ltd > + > +if not is_linux > + build =3D false > + reason =3D 'only supported on Linux' > + subdir_done() > +endif > + > +fmt_name =3D 'mlx5_crypto' > +deps +=3D ['common_mlx5', 'eal', 'cryptodev'] I don't see a reason for eal dependency. Do you really need it? > +sources =3D files( > + 'mlx5_crypto.c', > +) > +cflags_options =3D [ > + '-std=3Dc11', > + '-Wno-strict-prototypes', > + '-D_BSD_SOURCE', > + '-D_DEFAULT_SOURCE', > + '-D_XOPEN_SOURCE=3D600', > +] Any specific reason to use '-Wno-strict-prototypes' Compilation works without this as well. > +foreach option:cflags_options > + if cc.has_argument(option) > + cflags +=3D option > + endif > +endforeach