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 16268A0C42; Sat, 8 May 2021 14:31:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 90AAE40140; Sat, 8 May 2021 14:31:13 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 7F3CA4013F for ; Sat, 8 May 2021 14:31:12 +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 148CUhMj012801; Sat, 8 May 2021 05:31:11 -0700 Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2101.outbound.protection.outlook.com [104.47.70.101]) by mx0b-0016f401.pphosted.com with ESMTP id 38dt5rg1wg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 08 May 2021 05:31:11 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cXlthSrEQPwQOeKY/zmHmNFSlwYn6Nxf1kjXE+UtrYOmHfQyW9Q0IBbaufunhDUKFeoJkeFtx0NG/xKs28gFiABrjdPyFMhm7IYLUlZBGLhy3sbWSky6fn5M2stHeTpMXZlB4QFI8iOlubh1OG18fdcYCn6raz5xqCPATiKUGprGpggN2kbDNeqFtxd67I1jaXN9LDJiNuVjVMsdEHz0NoIXycgf+sS/J2Q1oHygaoaJAX1swkUxTugr6/fVU5co1zgmq1GIz/wPP7bJIAFQYuRPEIEqn++/FnFKo0GENaNpb5GHd612YkdR/xM+zmT9TMurSvkCVw4vcVSZV0pItA== 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=mbwDe4+fODW1Z/oIVOXhXcS9uEhXWxXf1CxNOvov5Mo=; b=Xa9FdwLUw4Wn6QD9oeTVzbDTwmafNrUku/RU3ezd1ay4tv/OHOA8cA507pqtLEtisfiEgQbTfphixboQ8TSpKq1jEGnkN9FbyfX3Vkx8jzPsN7jQWNJybpoJhLZJ9rne/0s5mecEURn1OiyhTsVh7Hq5V70XMzJfkmEwImBqScUx2LMoY5Q/1qvQJ8fKqUbNnfVhRA9SKC/wj9oTFSUGRCioKot7aOHLGfWPKZXKZxFDUXWB3G9FJfgizGwK+lst9XGcScl5UGITxIgN1SqpEyCgeFhzPTJhtmsewuAcOkkfVrRcK2zxuvshikdP30kBKJEg8ZKf0h2L9biYfwpVGA== 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=mbwDe4+fODW1Z/oIVOXhXcS9uEhXWxXf1CxNOvov5Mo=; b=EFr9z45ncLPX6mqpoi+f7BVUQyN/jlL+wbI4n93dFxMDtS5NjyknghGupRv8cFNWIWoqwFKbIF5Dkf5/76+AdCOp1LD3SkRUmNE+z/8uey/QYUeQPgt6n3M3jiVB2wUeFg5ayTxRtTYp1zDISsxFxzrP74uVjFFLuyebL2KR0/M= Received: from MW2PR18MB2284.namprd18.prod.outlook.com (2603:10b6:907:10::16) by MWHPR1801MB1885.namprd18.prod.outlook.com (2603:10b6:301:66::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.27; Sat, 8 May 2021 12:31:09 +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 12:31:09 +0000 From: Akhil Goyal To: Matan Azrad , "dev@dpdk.org" CC: "suanmingm@nvidia.com" , Thomas Monjalon Thread-Topic: [EXT] [PATCH v3 10/15] crypto/mlx5: add keytag device argument Thread-Index: AQHXQSnPQf0MD2hMAUqO3HOD7BvLbqrZiTkQ Date: Sat, 8 May 2021 12:31:09 +0000 Message-ID: References: <20210429154712.2820159-1-matan@nvidia.com> <20210504210857.3398397-1-matan@nvidia.com> <20210504210857.3398397-11-matan@nvidia.com> In-Reply-To: <20210504210857.3398397-11-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: 9efa7ecb-4e01-49c3-1d8a-08d9121d2880 x-ms-traffictypediagnostic: MWHPR1801MB1885: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:466; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DcHO5e89lf2jffoiAIGtO+zL/YAereoziGmO/Ma8emc0JBPwp57Z8mb56Q1ATBIWGYE/5qk2oNJ+yiWjwYE46SiWBcopYrF72HN0WkfBYRMrrgquLvQ5kmqw7LVN6CYtRzLYjf5tkSH/Qs4LboXi9LuPllrPknAEetxI/ps+CN5P0k6YEA8BneICb4Ay1r2HhC/xnauYwwx3nj+1/L70RxFK2EGkVsS/+JM7/ZuATN2Ss6wbuoCDcuOkZ10CFAyLaALPJyaID2yXPb6E479LGgKtVvSNVZHmrnxHc45P67kcG6qtPFGB+bKlF+YvPNEH+4GswiDLZPjR771Gs8q9Juj+FIoLJxMTP9NmAxf6MPbDr+9lw4L9EDQ3EBprgwwk2BB41XQtFexJEuGLCPSrXMWpmoi0cUf9d0zo72PMUxFAwOaryJ44IpNQZgZ1eTr9e5HMI0hV0JJGDc2QR+X64nhiSqCumjXq7VDRSHH9EuNM1wZj+l5zPEM7K4ivA9FpmLH6zCy6w8n/lF2STwRaNBkHj4lwKXnvhhKJDTRwqz+LIp3YCDiuNmOQ6aWKnv+vwyqCL9hu4/kl5BseSjzEaYbaNGRc/IoWNM8Q/4XRO6I= 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)(346002)(39850400004)(396003)(376002)(136003)(366004)(66946007)(478600001)(76116006)(86362001)(110136005)(7696005)(6506007)(8936002)(26005)(186003)(8676002)(33656002)(54906003)(66476007)(66556008)(2906002)(4744005)(71200400001)(5660300002)(4326008)(55016002)(52536014)(9686003)(316002)(122000001)(38100700002)(64756008)(66446008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?zg5NimrzsSYU2IJplx58bfcQoQ3uZJM7bFnfQGXlv4p6scBU91buKbcS/9Rt?= =?us-ascii?Q?bbREL9O7S69eglhRXm2/EhkKycJmWp5dKhOYZ5QmvONRkgKbWqyeR9eZZEHl?= =?us-ascii?Q?lBjemUzmTzFAqObKkfRLNfp9ak4EQQtoN+BoszwOsgE/gEId0ka2mH9P2V/n?= =?us-ascii?Q?J/hHAiu+xz7A7T9Kghf/gt50zSKH5C3ntH3wA7DMvC0x97yC05lPJq8zcjlO?= =?us-ascii?Q?tCILwNFd8LrkFP1tTPKMOWrnCFb4vYLx++p5ryPQXA8S8QgNQReEE+mXV9BI?= =?us-ascii?Q?NPEVUh3nYYYuH+S/IQnvtIR3WTsJizx77mnJkKSYDCY4OKlAK2m58U+BROAj?= =?us-ascii?Q?Mhs3OtaRbFy6aDGNmB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?us-ascii?Q?PoEl1PDl6F8D9tOpgFkcBhw+yKYh6bz2bWA/1B9FcekaJJwfCBvd4IflLANV?= =?us-ascii?Q?6YA=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: 9efa7ecb-4e01-49c3-1d8a-08d9121d2880 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 May 2021 12:31:09.0633 (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: Tc6G5p/BNnqMidUPctm7gFOGpnJo0cHxfQ7qK7khcxkaHpDclk0VRsl3SKdgKfwG58/0xhkUz87fG3HkgV2elw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1801MB1885 X-Proofpoint-ORIG-GUID: TuO7w389vLfZmdxfB0ptxbFnjQLVC6UZ X-Proofpoint-GUID: TuO7w389vLfZmdxfB0ptxbFnjQLVC6UZ 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 10/15] crypto/mlx5: add keytag device argument 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" > From: Suanming Mou >=20 > A keytag is a piece of data encrypted together with a DEK. >=20 > When a DEK is referenced by an MKEY.bsf through its index, the keytag is > also supplied in the BSF as plaintext. The HW will decrypt the DEK (and > the attached keytag) and will fail the operation if the keytags don't > match. >=20 > This commit adds the configuration of the keytag with devargs. >=20 > Signed-off-by: Suanming Mou > Signed-off-by: Matan Azrad > --- Documentation for devargs should be part of this patch. Please split the last patch accordingly. Title can be shortened to Crypto/mlx5: add keytag devarg Fix other patches of devargs accordingly.