From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A4FB8A0531; Mon, 10 Feb 2020 08:44:13 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 252231BDF8; Mon, 10 Feb 2020 08:44:13 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 6FAE5374; Mon, 10 Feb 2020 08:44:11 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 01A7ewHP000325; Sun, 9 Feb 2020 23:44:09 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=JAv3izgfq8KOjfkQpIkxYwEgC0NllMhuMvEKn0QKuGQ=; b=NpWJLIPqSN9ufPY6Ll0u3xenDuLvzHnzHblAnIXCjcnPuVXftJKjk5O7G1Lh0Onuiwpf Hi1wQ2CulBqD3V05pslM59zrRo3kTfB0rpnXPf7d3XdZHGhYxHrHnFGJwYj5yWnHfdL5 bb9SEpdIkhfmpxvJPoiJsS2TJ4SfSSM6gJRX/asqcvllYAuCk8LueBtnr7Bjt19Z8n+Y MGZ5bBZbyrMXozirTWlLDFNIl+CnLbkRPLwnw5lzxShSn6fwHKrjhYAKpexP8zgx6Ydi jD9dKPf2kHMXw+eGtjrKSLnDYlbXkYZ/Z9IvdUbQ7WzgnV3PZ65fUEPc+/WSaG6VwN0d Jg== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2y1u7tnn22-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 09 Feb 2020 23:44:09 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 9 Feb 2020 23:44:07 -0800 Received: from SC-EXCH01.marvell.com (10.93.176.81) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 9 Feb 2020 23:44:06 -0800 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (104.47.46.58) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Sun, 9 Feb 2020 23:44:06 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z+faoy+qj3LrAAgUf/oEQiq9Q7C1pZtZ8grfHnJ6JZiFOpJTxQ0QNYyiLXqHGsXRPtocqYKCJdGxg3fsmO8kg9pEVjSKZXHG7QMMbYwWGLJRrqrWSKposFdTm+O06MQ+L9U8imd3t/wPaVJmz/pE/GCAZ0Ulg96SUJuKM3oNRrxzSu1n8/k2BzC4eTgh3hzYg+gaCwUkhTQvs5VqWCyLU7h3ZaB3UyXsFeKerIMbLo7nga6dieNFRE2UmWLUIx7KCIWKyKdm2ZQTENkaYUMCfoWwn9P1Q7Jb7n9RbCI0vTaSl4YOfPWNjgYhQmHgQZ4iADAlTi0nn7ZwvxL7Dd1UCg== 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=JAv3izgfq8KOjfkQpIkxYwEgC0NllMhuMvEKn0QKuGQ=; b=NJmVL9L248k4ha8I/UKK98bG05YEGIlkU2d5GtqScgELNfFUWsKIRYo6DK9GyGUS9mzcu8SHSyGbuObn4RohsVZ+eEXbZ4C7eN+MencbwuAegfThaQYkGpHNpIwOTAK5hOaTHd+Pmjys+xGi/DAxaxyHgD3yuIF3WDN1+YKn9hJKjnTiP4meb5VQb0TMDCbVJXvWyiHNEDu+9GD76VijVG26z04SSLzJhnRJqiTI6P5MB/rxKx2cLHGeIPf6DCc/2qP6X0NLBr+mcw+qZ2nWgcfyqNzK3QXkWb8wayUgQehSFVP698UE4b5qMjK+RTgp1GUEhNYdzGNYpxBxhQXBnQ== 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=JAv3izgfq8KOjfkQpIkxYwEgC0NllMhuMvEKn0QKuGQ=; b=khd6kOInsVlqYVTuXo//UeL5pslUvAjDJa+005MenxERg2BQ1Ad6o1j0zXRwYfEfz9klaHFCaBflxA9KPbuVSDtJXlChxOBzt6DzW9l2w7iYxLlgyGXL9DDVgae267ZVq/1AbFGQrKmwUTCUqgpcOQLmTaU0nhRsQOK0R06Jtc8= Received: from MN2PR18MB2877.namprd18.prod.outlook.com (20.179.20.218) by MN2PR18MB2543.namprd18.prod.outlook.com (20.179.81.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.23; Mon, 10 Feb 2020 07:44:04 +0000 Received: from MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::e48d:494:fc46:3572]) by MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::e48d:494:fc46:3572%7]) with mapi id 15.20.2707.030; Mon, 10 Feb 2020 07:44:04 +0000 From: Anoob Joseph To: Thierry Herbelot , "dev@dpdk.org" CC: "stable@dpdk.org" , Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH] crypto/octeontx2: enable unbinding Thread-Index: AQHV3+S5emuW7VsjMkiMjXUp1Fffp6gUC1gw Date: Mon, 10 Feb 2020 07:44:04 +0000 Message-ID: References: <20200210073512.25977-1-thierry.herbelot@6wind.com> In-Reply-To: <20200210073512.25977-1-thierry.herbelot@6wind.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [14.140.231.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: cc587ea7-de0c-4312-b39f-08d7adfd00b1 x-ms-traffictypediagnostic: MN2PR18MB2543: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 03094A4065 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(136003)(346002)(396003)(39850400004)(366004)(199004)(189003)(316002)(66446008)(81166006)(64756008)(66476007)(81156014)(66556008)(7696005)(66946007)(2906002)(71200400001)(478600001)(55016002)(52536014)(33656002)(86362001)(9686003)(76116006)(5660300002)(8936002)(55236004)(186003)(6506007)(4744005)(8676002)(110136005)(4326008)(54906003)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR18MB2543; H:MN2PR18MB2877.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VpO3vcF9WI5kHF4if/g0Qd/WQfh6Axx5CuaqXk/g0P7wcAb1DFMGxwWVZwQcd91kZPqbJ26obnYVIoadFw4vOjr04idAYKfc9f0fDCh393OzeUVyVOytkZAHAvWjh2r/hkGwblRNTnV57DtBLo2uCb9RGLwz3xzzKewt3dGNw1fHNpI1hGw9sQ6yNZB5QmOFRg/nMwF9VpCoXdEDMCn9bm/ep0LTwbjJJbQsVDEiXx9g4x5TrGA0/vbcBGXxBU53qoLASbI/ADpaxtEPHSDE2Q/eMM4g6YAoAXDmRjyt4c44moTbzWoc6SiCplzsi959gQ4gqbQ64o498QAPHNUEI6+XZiHPYgY3YGsEqiApBvjfLtTihkHYXf1w8EOkh+MA+0mSiK7jMNasBw7xsumJoHQ4BYh4b38Xem5VCUbaX+p7QLHX8L0f1bnlk6p9PDqe x-ms-exchange-antispam-messagedata: K47CZl/S6QLt760zTsSGQRJmuir74fpsBeyjkKRWa/LIriI6sZTIPit/ES/o2hNVpXaML01m8e7u6sRDCIxKPUOwkY9oO6SjSGN4wo0AgI4cSGXpCHtP5pUQlOQgnX4dnSecE3CYRYVe+qQEHa0VmQ== 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-Network-Message-Id: cc587ea7-de0c-4312-b39f-08d7adfd00b1 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Feb 2020 07:44:04.4302 (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: 2RuIXciRSLGrZyh5kA9/ntVit/4IB37W8PrU2dQijqFBCFx18/YLP7shyihMW8mHWQ8CkIjiOfXlmLVxZhpNRg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB2543 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572 definitions=2020-02-10_02:2020-02-07, 2020-02-10 signatures=0 Subject: Re: [dpdk-dev] [PATCH] crypto/octeontx2: enable unbinding X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" >=20 > Like for OCTEON TX, the OCTEON TX2 crypto engines must first be unbound > from their kernel module, then rebound to vfio-pci, before being used in = DPDK. >=20 > As this capability is detected at runtime by dpdk-pmdinfo, add the info i= n the > PMD registering directives. >=20 > Then an external script can be used for bind and unbind. >=20 > Fixes: 2f8a1b963eb77 ("crypto/octeontx2: add PMD skeleton") > Cc: stable@dpdk.org > Cc: Anoob Joseph >=20 > Signed-off-by: Thierry Herbelot Acked-by: Anoob Joseph