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 CB893A0548; Thu, 4 Nov 2021 09:55:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B533C40E5A; Thu, 4 Nov 2021 09:55:31 +0100 (CET) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2076.outbound.protection.outlook.com [40.107.96.76]) by mails.dpdk.org (Postfix) with ESMTP id B3F0740DFD for ; Thu, 4 Nov 2021 09:55:29 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dyMOk0udBqSfooGA7Ou/+qwqSWpFOYNIV9MbzFjFwxDF2ZoN7rqu/h4Z84mf5ZDLUheA7yso0G2/cYrX1wOpBP24+i6ZI+YsPpwO2n7+OXbmQ+6jHNl2HSmqykb4BMk8gnBb5APktSH/Et3h7H9NC1AcnVbTXJzhQ9QEGfW6QOm6hXgqnRj6DZfuCowf8rPVgO13LTeA4t5b2noaY/31Z8hYJlJ0CMDj5PWbECJVXX0fmrlRhyCNdm6x/f3XO+18Qs/lspa3i0OlIbtyqoVoftImu1k+6vdNsiXvAB7o5eSDLnV486I2GSpYGFDq8TSFLsdnReG36jQJ4RMTrLE1LQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4y5T7X86fcQMKjlLSbtjXweeKyafEPAL/n43VxdMaJI=; b=LSYZu/4fufpPXKvUhJxOLQ7KoqzvBPOPTHSL31JcUwEgOoKyB166a6umehOTiDfSGeWkKrHpEd925C6K1+MWaIUDj6qDwo0L14zxEdXXGnbUEyDkLPWkFmZwTl2ehq4K1gg0lLmpBTa2MV9KjMf8AAW6Gq/6yfbfW0s22t03dp/EteZDGuniqU6+PzNvMKuuUDv9YrS8CWu/iEKBrCTNWYh1rkZKHH4l1XDE28i1D9joC1ZYClrwwukkTtsIhGmeuDYzWIm4tqNckZGSoYyMrUDxjta9KkOWUOGA+vzLFg1ObUY7UhHFOhwSzG9VLZfp3glL87tX/Dj2dfMYeCJ25A== 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=4y5T7X86fcQMKjlLSbtjXweeKyafEPAL/n43VxdMaJI=; b=o8IaMXbj+d13hHRtbTWJaIzufFCIX1+qac4zJ173gFtBXzFO2jS0ZH181GY6hxWtgOqsaW7Ao45JUgd7fBXPaO00ZTxBJc/zo4Ho4mc1viQA2qLjk2KeUnC/gJl6/y7r2WN0RhtjpANcGmbDIUFrmAFVneKn0g/eOaEX8cOpdIf4RXu2PWJCJ7a5ClcGLKslEMGgOrHQf0vjxMm1Uv9v9fDZm0uVPyUPilfcJPrwCtH3Wqn2exqzMH4MSLjQp19b+uupW/AjQWKmJknZUFbOudSTfMshd+CsjK6Rgmsqj/KezuN0lli/girs0pM5WcUdsEimiuD3NvvIW0/71sggmw== Received: from DM4PR12MB5389.namprd12.prod.outlook.com (2603:10b6:5:39a::7) by DM4PR12MB5294.namprd12.prod.outlook.com (2603:10b6:5:39e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11; Thu, 4 Nov 2021 08:55:28 +0000 Received: from DM4PR12MB5389.namprd12.prod.outlook.com ([fe80::45be:2914:19ef:f4bb]) by DM4PR12MB5389.namprd12.prod.outlook.com ([fe80::45be:2914:19ef:f4bb%3]) with mapi id 15.20.4649.019; Thu, 4 Nov 2021 08:55:28 +0000 From: Matan Azrad To: Raja Zidane , "dev@dpdk.org" Thread-Topic: [PATCH 0/2] fix MMO QP usage Thread-Index: AQHXzAQHHgLbFdgtbk60Tb3SMraWEqvzGyDA Date: Thu, 4 Nov 2021 08:55:28 +0000 Message-ID: References: <20211028135850.6633-1-rzidane@nvidia.com> In-Reply-To: <20211028135850.6633-1-rzidane@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=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 95767f83-1a53-456b-15e8-08d99f70d969 x-ms-traffictypediagnostic: DM4PR12MB5294: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: XMYiV41GZrGT2EZW+d+HQ2uztO5rYbzjPkgbJZfGF1MkI+VBrB46I8Zx0Zw3rxiufLu5PHf+v8X9VM0qszhJo14IcHNOORqqId7tSz4sWSJzm+uwsvpqX75gM9AyeTOmkgT0dQ5M9IxkvF7nBxFLBKGiTT8Qx9mHMMJoNL1gMzXbnD06ue2BAsPKfBPkcM7a73kDb6I2a9v9H3qIHZVLpEgq+J3hKJBvRIv5hfVB3XcwiYykQA97gi9kdiZKj6Y/FuO6VXE3A4G4HqDj4ilYRClFDBLc4gMSldDTec/SBYRiPeoHKP/xge2G/X7NXVdcRpF1uo2LX+xlOyAPRWpipKwH4ab/dQwg6nQLUZ8vHi0zIkrdJl5ULNlzmFcEAPKzt/hrUOcCiwZ2OwoKzSnTvrOgRrg057KcC7awZvjbKD18kex/1ukMQRdk5hOlZQtD9NV9kX876HbP7JJyquAUXMbC8lFVsV6oUeUZyAhV30RA233zE1ktrsicrrmrIAWjGv8fWq+SAOxuYGLqKAIiETphClrwKPVtUewmKFYJVtfK1s8jI1hrwdvkOfMQ8H7Cjqwh1avZHTzCy2b7S4RyjxvUTS8adqZD/K/2BrKCHPdSrczAy/VCbUwDHixgGTEUsDCSm8SYsuddATjeuknUkOZ84b8F9YkY1EzTJWhYKIpaC9lSIZFdq4pARl4WbV0UtmN0aau9mJ5aJLlAwdhtrg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5389.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(186003)(38100700002)(55016002)(71200400001)(52536014)(4744005)(26005)(66446008)(66556008)(83380400001)(122000001)(66476007)(64756008)(9686003)(66946007)(33656002)(86362001)(508600001)(7696005)(8676002)(38070700005)(8936002)(76116006)(2906002)(316002)(6506007)(5660300002)(110136005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?x9sKbCfNjk7BSulhk5JO17tYwYinxguLzpXP33BY6khKNb/CPJffZR9Ckw4M?= =?us-ascii?Q?+HdO/EA7HawYBkL7LDAHywGDjDDwbMJlQeba65ho+aKl0yZZWeEXvke7jaGH?= =?us-ascii?Q?OvRI+RYMDgTLJ0w1tGbObz4rr/3DsUpNiwKHf+gJUzydKBAjroitcR+Nhp69?= =?us-ascii?Q?Blvg3rQ2cbYUWRN/v2bykAcgRDL3shlw8U1Cuiw/s9bihFvc4vsQl5CcBtqg?= =?us-ascii?Q?ZpYwSCzZpTo14g08oa2HcvbldyLTLgYqnsDubuYsq7A/LRhhBo1vxMdnyfqK?= =?us-ascii?Q?qn4BOxxyU69wyMFe81niSpUEpqXBMsnzKidBDS8wTYE846gP9iuXfq8whSwB?= =?us-ascii?Q?vPq/7Iw0CuPaoPjzV+AX4/JcWrLIoDT1fVIHvfDszog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nImXA8/UODjPswvG073rN+Py44A8pEd8vvD6zPekkx?= =?us-ascii?Q?BQbqw3SRvW0425EFIBRNUpvstxeoULl32duEb/fhznzEh8F+cAIU5xkpKks7?= =?us-ascii?Q?r2MOrG0CsWLrr8hfroPgRgcn/Frq8bL528x5y6hnfckIEEb2GHiOqv1ZQ+PL?= =?us-ascii?Q?uTCYicjhOvxruI/Zb9ua62r4Ily/QgXcnm/DemM078fIQPz/oNj2hauRpCtN?= =?us-ascii?Q?22S1ah5uDX2BFVq9DPXe4/Kna4KmN3ZJNIbY+d9XcMv2rZ36NU/VdkZKjw6n?= =?us-ascii?Q?FtGYBHBxqBU6Zq+8ZyngTp1dhhMstnX1OJKqSu/X7D+Upl+MwDnpxqrZirjy?= =?us-ascii?Q?xA=3D=3D?= 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: DM4PR12MB5389.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 95767f83-1a53-456b-15e8-08d99f70d969 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Nov 2021 08:55:28.1963 (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: /cnpgQt/YkXCXXkgVZ1QQawPEDfNMucwm2/iABXrNlHc/YmAGuwUQi2Hm1VYeyt8axI9KGNJTcA850Kq8EmDxw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5294 Subject: Re: [dpdk-dev] [PATCH 0/2] fix MMO QP usage 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: Raja Zidane > 0x20 reserved bytes were missed in the HCA cap PRM structure before the > newly added fields for MMO QP capabilities, that caused reading MMO QP > caps incorrectly. > The QP extension valid bit was not set in the QP creation for MMO > configuration. > That caused the QP not to be connected to the GGA MMO engines, and any > MMO WQE job got CQE with an error. >=20 > Raja Zidane (2): > common/mlx5: fix HCA cap PRM alignment > common/mlx5: fix MMO configuration in QP >=20 > drivers/common/mlx5/mlx5_devx_cmds.c | 2 ++ > drivers/common/mlx5/mlx5_prm.h | 2 +- > 2 files changed, 3 insertions(+), 1 deletion(-) Series-acked-by: Matan Azrad > -- > 2.17.1