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 1088DA00C2; Tue, 27 Sep 2022 15:04:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CB591427F1; Tue, 27 Sep 2022 15:04:03 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2046.outbound.protection.outlook.com [40.107.96.46]) by mails.dpdk.org (Postfix) with ESMTP id A0E8A427F3 for ; Tue, 27 Sep 2022 15:04:01 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OzD8lzEUkARS2FHiBWSBt90cvGp9zca/3Bj5p+tq2NE79pWxQrR+V3VJhtVKTQE0e62PSk0HJwRwC3r2+oFgjTLww2e8lojnwBKaYH8GkzIJUBbKMkyZ4Vb7pxqxhoao1jimjx2abNNp35yXQ127/5HzGrFBumwKqKnhR3EPvGNO7sH6g8LuepmLdsReUUVTzn5smaUqVPMIyNgyQ5IJP6V/Pi0LeK0PjEkei4OROK72XT5N/VwRhErWKKar8KNfmymsI+LrZ2/c/Eb/MJylYzUIxHv9QaoMtQePeBrLOtCAJ/Z06wK3NcBf5gNqnr2ZMyv7HUd00XTo05JZXweJew== 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=brgsDEb+7X6OXPkXIhTpXUNF4HqrpBkjMQQIP1ZeG6A=; b=DqvuoHjkJRpTKnJQf5b8zRxCKskcCktgRIV+VMPKAwECP24nMa9gdd5b3OuOcOd72EqFXN/2WLHrgCivTfLVgcACrPDZwzcBwA0TOl6myOkav5W0b6WgN09Q7aoxZKN3oeg7phVxXKCbOcuDMX1l5YQll3szMWbqh7xbe3b9x6bASOOn9lO7xgik2dY7TBHHGryomDmGInZuJXFapw5yvK5FK0kRRhZdqL6CRBCcGviRxGCaMYonin8PSMpMudSAQiaF7a56Vk/7Xyan+CcyneeLj/iriaDckYbxqAJE3q1itX2Nn14xgaMapWvxfTyCGVc0OQPNTsVeaKoakiMmYg== 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=brgsDEb+7X6OXPkXIhTpXUNF4HqrpBkjMQQIP1ZeG6A=; b=C3vuFl7BW9zeaUdZkLkuUis6TgAvnmGGFSE9GnyUmhoWeAydJrKfij3RxD8RQCBEl5XVDe2nj8Sv2AnqOwWAKbXMdgLJPcWMd1kFm6KV8Fb+oAeQ61O3LebsvOLtdlalqOuSl76y+z4O52pcrwHKXgq6+eghEIKwyuODZ1vmOvWNDB1iylWHuiEqLnHSDRwymhQOvJqRMqvhDubeuOeDo1z9OczwF5b0h5uJiMA0oIHnlufDs14DEhngzZzSinf45HZ2b6LyRir957P3W8maEOZjm7smlS29D5XbdYszKbzvTj11XufB4e7JX24ezfPVBtG9QAhNDHBW2H7peO6PAQ== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM4PR12MB5277.namprd12.prod.outlook.com (2603:10b6:5:390::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.26; Tue, 27 Sep 2022 13:04:00 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::e0f7:a30a:e9c:4c53]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::e0f7:a30a:e9c:4c53%4]) with mapi id 15.20.5654.025; Tue, 27 Sep 2022 13:04:00 +0000 From: Slava Ovsiienko To: Dariusz Sosnowski , Matan Azrad CC: "dev@dpdk.org" Subject: RE: [PATCH 3/7] common/mlx5: add hairpin RQ buffer type capabilities Thread-Topic: [PATCH 3/7] common/mlx5: add hairpin RQ buffer type capabilities Thread-Index: AQHYzEZecSuLMng8s0ibCN91WVcU2K3zSp8w Date: Tue, 27 Sep 2022 13:04:00 +0000 Message-ID: References: <20220919163731.1540454-1-dsosnowski@nvidia.com> <20220919163731.1540454-4-dsosnowski@nvidia.com> In-Reply-To: <20220919163731.1540454-4-dsosnowski@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM6PR12MB3753:EE_|DM4PR12MB5277:EE_ x-ms-office365-filtering-correlation-id: a9070870-71c1-4dce-aa1d-08daa088bed3 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: w5HplqUjkVVu0mEPo8jEuRCByzt46eIvdDYp3fRzfdtyqlhbcBYBaui+jVGwENKvRCUwG6qXiUCGl0VsJL9IFrOD8QXnp1Vk6QR8C0rA+fD52DJS/YgFXEJIatiUAY0PCBRs8RDRVg/UxevLwVmASIzMpMUN26/O2gPKSA8mNVikWYIGwqiYdmneu7sptMxM71GXmuDKusCmwrwjs5avOKWkNZ9c84tixpyngbR/6PNiOXDW0P6VvM0P+qQRV5KJDB7ZGvqDkzQwpkFgOCa94cVQiRyyCbv6YHXjmxFLQkQD+crY+0DhLvVBncMuTXiDnxQY/ubPgMvQkNmFwMD9MRd3IvSG7QwIv2hDMRf+7mV9TQxBjRSCyeyjKt1hGR3QNwYSrM1MSoX+d3/ko78r2RUpnIi9ABtCg42XrVxhDnv3db6krfwfwrl2KMvfdAx/WwnShYhiN5g/NyWeZS4+eTaL2RDHNpbVe6m8EzLVqre38BfqPzXwh7TXwDbzXXRip9Ak/If0mTrQ1HzPO+QPkzAqfhqxri8nigWOkSg7M09DEguDd5LanAibU8ZYy+/fm+BZL5uSDbgsr8bIBn6so1WyTE6H2qqVkrJ9LuZnGMtlLdOrTGugNRuhfuny+UaR+BDb3bgATiGC6WtcyToZmxI6PhUMBsYrOkvA5arMQ0FrqBFHHD+3p5tNHDrWU8ngtYJpEaGqwgP02prnHm959sox0GWXI1pDYn66nohRiUW8BpkkAxDLTYWR8oQ+raJnqW2VZfY9apLL2PxXXEKQvQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(136003)(346002)(396003)(366004)(39860400002)(376002)(451199015)(52536014)(8936002)(2906002)(4744005)(5660300002)(110136005)(6636002)(316002)(33656002)(122000001)(71200400001)(53546011)(41300700001)(8676002)(66946007)(7696005)(478600001)(4326008)(6506007)(66476007)(66556008)(76116006)(66446008)(64756008)(55016003)(86362001)(83380400001)(38070700005)(38100700002)(9686003)(26005)(186003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?bnmFhMaSlmhr1ClHm92vV7/TfoXLhtlgigRhcZg0mJIva7WPOogDzM4CWquB?= =?us-ascii?Q?xHptXvyYwLnrQ+QATpLIkd/O9rChhrfnnKZM6agBNVhrFv4nWxGxWp2Sr0Ex?= =?us-ascii?Q?txuZRLShqmE035vmvckBVNW+zRiRxwx7VZ5t063e4Aj5f4tAWMnfq9sPfLrq?= =?us-ascii?Q?kZD1brx1SJQYjt0/xzbz36eOGXx6+aQfKS4moojVzuRtOXp08aOJkciHvgpT?= =?us-ascii?Q?JHpnYxsJdkEXGQi898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us-ascii?Q?ugCg6purqCzo5LF59xC5okuXr5lMEg5k05FKwXDPdnBWovzsFeu4psHemHdk?= =?us-ascii?Q?KyjC5yQfElsfbYlr9dLWhM7bdI9wCJEKfFsfe00gO43aK4pNs8Y9Mr2REP4F?= =?us-ascii?Q?uAUB/UNvEuEwtI2UzyX18alPqsC0werkmA8sLuG0CAItPFQn4ztTxzbj7LT9?= =?us-ascii?Q?7nz8VcJ9x3BymMq5hp/h2GStJQG58SnJF09zgsPT+r+tO/9Gg3AbrDf5sazy?= =?us-ascii?Q?FmK76SX5f1gLSY0oKmhNDrgMBRfM/PLj3fx2qc3ijG6GaFMt832EX6MtVesi?= =?us-ascii?Q?1vqA2MyLAOeSOGpYawRoXgnVTB+KaVSAI0+mT4Xkfellxu6sigyMblu2R6cT?= =?us-ascii?Q?onluueRn5v1/qSAFx0taQO+/LhSe3cSq6e3kroYD8mCNEXDopB1aKhLZ87hH?= =?us-ascii?Q?MtVx2qcHD9JbGmMBPWavDZCQr8pH4EBQF6xUO2p+?= 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: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a9070870-71c1-4dce-aa1d-08daa088bed3 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Sep 2022 13:04:00.3573 (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: Ea6h7qItPrljZlB9gn6ZGeZRx03TEPmeulfYw3dYXGi8L8Rj6DAp5IqFGRAi1MfYs3vpHAvTOYInq/7afa3kpA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5277 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 > -----Original Message----- > From: Dariusz Sosnowski > Sent: Monday, September 19, 2022 19:37 > To: Matan Azrad ; Slava Ovsiienko > Cc: dev@dpdk.org > Subject: [PATCH 3/7] common/mlx5: add hairpin RQ buffer type capabilities >=20 > This patch adds new HCA capability related to hairpin RQs. This new > capability, hairpin_data_buffer_locked, indicates whether HCA supports > locking data buffer of hairpin RQ in ICMC (Interconnect Context Memory > Cache). >=20 > Struct used to define RQ configuration (RQ context) is extended with > hairpin_data_buffer_type field, which configures data buffer for hairpin = RQ. > It can take the following values: >=20 > - MLX5_RQC_HAIRPIN_DATA_BUFFER_TYPE_UNLOCKED_INTERNAL_BUFFER - hairpin > RQ's data buffer is stored in unlocked memory in ICMC. > - MLX5_RQC_HAIRPIN_DATA_BUFFER_TYPE_LOCKED_INTERNAL_BUFFER - hairpin > RQ's data buffer is stored in locked memory in ICMC. >=20 > Signed-off-by: Dariusz Sosnowski Acked-by: Viacheslav Ovsiienko