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 83FBEA04A6; Wed, 9 Feb 2022 09:53:04 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1FAA441101; Wed, 9 Feb 2022 09:53:04 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2088.outbound.protection.outlook.com [40.107.220.88]) by mails.dpdk.org (Postfix) with ESMTP id AEA18410FD for ; Wed, 9 Feb 2022 09:53:02 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iRo930tEV52ijlWvzIXJGWojOYSqZryDoOqsH+OKAtxOYxHhYnTwdQANywyw91kpfwfkiyn1C3KovaJ9J/uVW6AJ6oV/JXCMgPEL1t564kh+DzHBSqcIFT5rSiuW3ZOmCJhYrr4U4DoJaelWu9qXelPZ6l4kE2xbg7aLN33d7cIlqrUuURzUXul/twH2XsCHl29ocFxueUEqZI/7J/N2JFaSd+O7BaikxvaNjL9qDnvDpjrK2gv6W1ARasV2ABYNZaBmVHva4PA/YgHLY90uh+5/o/a/wJcno7eDKPp3q8g3UP0iq+T3sJTPtr7pvL40CSRDi6+OVNQStbd8kYa0fA== 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=TLiWENibp8nySGKdLSVETZWljC35RPpRHlKm0Aui97w=; b=RHe7KkFIqfHnnrxx0rk0ssDu8RC553yd+ZcW+NX1tYzfwto901bOfBUebAMN47psZB5BAl8ovFEmjxXnNvEeiiJSq0r++5dBUHvSJXGEzwaqkUqr7Akr1M/5XJjxsEqU8IdciGbbNk9+isiU7X3fR66/9MAuoijgNqJRxc0iTAlQK2sGyvculMisqDoASO9lsntSAcr+nh4xoRdGqzajx0mkcCii2ZVsf4EYiQi4gmxe/lpcgzRYUvsZx8mQC6kVWabcNoWqOuEKpx/6wTL5vR1sTJWIe5oPNH1y669f5aUMFVl+t4il4LOIKXxck/VbDYlNz/Z4JMg+fAi6rgM2rA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=TLiWENibp8nySGKdLSVETZWljC35RPpRHlKm0Aui97w=; b=Kcze5TXWXxmin2BZrvKe3KUxcBpYOxcPMe29X6useYQLBAi5+8Mi1URJyJucqvN3bRux4cSUP7xQ2nGuKGfAZNP+zePm7FGfuY1e0Al7uS9Y5hU5u7bFyPmj7mb8AWev59mCGvWOgQCotyyTSqw79BIs7DyeHdC7TgpPk5xB7hIHIWj7LRvL4aCt/PPwBK3l1ZjN+bPONUGbGCQrDC1MHrRH5XnCSSJK3VkQCLyBhMOj8JjVDSxULFjfiZAHfb8qnndhW6/Tdxb6h1u8htvtOykQSQbKlYmhjosycx+kBpXa61jIoAmkY/m9dYySRqS4vAyT82NiIOHeVub8nyvxRg== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by MWHPR12MB1821.namprd12.prod.outlook.com (2603:10b6:300:111::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.12; Wed, 9 Feb 2022 08:53:01 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::c8a5:fe91:7c8d:5e84]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::c8a5:fe91:7c8d:5e84%5]) with mapi id 15.20.4951.019; Wed, 9 Feb 2022 08:53:01 +0000 From: Raslan Darawsheh To: Alexander Kozyrev , "dev@dpdk.org" CC: Slava Ovsiienko , Matan Azrad Subject: RE: [PATCH] doc: add limitation on MPRQ usage in multi-process app Thread-Topic: [PATCH] doc: add limitation on MPRQ usage in multi-process app Thread-Index: AQHYGXYGl/VnZpqJKkWzFw1om8ZU6KyK8d0g Date: Wed, 9 Feb 2022 08:53:00 +0000 Message-ID: References: <20220204031913.595195-1-akozyrev@nvidia.com> In-Reply-To: <20220204031913.595195-1-akozyrev@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-office365-filtering-correlation-id: 2276a9fb-b84a-410e-ba9a-08d9eba993cb x-ms-traffictypediagnostic: MWHPR12MB1821:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zSAeuV+kpgYnM2edyCzRCWhF62kFRE+8w7LRMkzo419KkLz3iav/N9koaGfpn3KWRzHbjFzgrVGTNJaDMziHPzWImEqhfFaQgoUb/Q+No0LFzdIfGgD0vyS/hUv2VBdOY72pogRWcRTkL9dID/HtV3OOCyIKvozZ8pGjaqe/5GMGZPTVMpcODtMV5R9hS+bMsxrbH1KML1ehIYm+82kS48QmHlsFEBE/APwjpPUpXlqp3qZnGOI91tGYq/XQyzADYo9XYbtRSmbgih9m0GVa9acBco33h01YNllXPHnwuBi/vd/gdQ3Z4awRPIO0TPsQg2aQa/R+J+gRAut9ZmZkNI5+Biu/4YlVfBBuhiVG00L6/Pc3586hATOtFExTIzmfvZHRyR4K4hr0V/4aEzvplbzkwdIR1SiJSYUOsCi6Fl2ej/7GN700wvAcZHKg8S2TVixjgLldH+GhmE9rDIJVhXLBXzvGPBGknTTuwXjFFmPuDyZGayKLU+pwc5wqgZl9lfvi0QAwBo8qIuN8Te8a6g/a6QYW6qNLyw+TxyjAVq+hK3ti0M0lxlQRCzAh8yMljRUzdt0lDeMY7Q/4d+XUhN9UxVjwH1JwMGif9Rjr3ML+ldPbeyaS95r3koNWonucwCFXysDLgsu+G7x/aAtlx34GmdDJYZoHm4HURHgW0UiOdJnMRPUnfBcu8BY2wGSnztIvJQTKtsX4lb/pFCRfDg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR12MB3078.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(122000001)(66446008)(107886003)(8936002)(4326008)(66556008)(5660300002)(8676002)(38070700005)(66946007)(83380400001)(26005)(186003)(9686003)(7696005)(6506007)(4744005)(53546011)(86362001)(64756008)(76116006)(52536014)(66476007)(71200400001)(33656002)(38100700002)(316002)(54906003)(508600001)(110136005)(55016003)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?RMlDc/2pbpW2KtwtQHwqE4AP5s407q462TuWR5MYBKo1hXM9Sa0D0Am5ZfWK?= =?us-ascii?Q?npWGjfT/Vfu4JE8MgFCIhIRB7jM3HglGqfSbASzYPk9HobgzS9iql9KYwluy?= =?us-ascii?Q?9a856IPpZJ/yYQoxozc/eJufWCdJE1xzvqYLN+7okwAAjS5BIFk77oMjEI2O?= =?us-ascii?Q?GVTQdyRDG0v7pXVLHGBU6jE5qhr7UhSwaEeQu7dTA90athnCeIR2/jyiChnf?= =?us-ascii?Q?bePM5QbAiGHLk81utCuKH+VQhBye6nPDzPNZBuzfyPd8klAQHbirfH9kcos9?= =?us-ascii?Q?ubDerRufGiDymtSKQfYmXQ60pOLv3PkoV4+6tuBFaGLvbeHeJN81NSC/Z3jq?= =?us-ascii?Q?Ifwa+W5f/huWeMi/fPJY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Q?BQb4VeBtmM8+3qgxlwz7FcwRDserxCkn1nzMkb6L0VCfP3VjwTfmVwcz49Dh?= =?us-ascii?Q?RW9olC+aQT6YjS4zPY+vJIXeWU4ddgCnsuUp7/t3qPQ4nwHNhlwXMQu0vDuU?= =?us-ascii?Q?86165XNC9/AHyLsujw5zofwkqE/7VIiB8UjtfLigSIVHb6vNlD9yqiIpnQXc?= =?us-ascii?Q?HUUJheegP04B2z5TjMx8Yc1i5uZ0xGFr1j2QHtGr68GaDIvJ3KdXsZpRxh66?= =?us-ascii?Q?p2q8/g3S3xQub9VnsABeC6ryEp5j8Q4d7hNjlv77v/BHWUUBB4YCVSMJH8SQ?= =?us-ascii?Q?6T7/1xCsN3FkMiASBK0HUqayxGbcbX6XRtsOf0XVhVYbRiQT6smGsb4VR18e?= =?us-ascii?Q?K3O6Jc4A0HaNb/S1x8VZH+U=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: BYAPR12MB3078.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2276a9fb-b84a-410e-ba9a-08d9eba993cb X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Feb 2022 08:53:01.0144 (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: PNekvI5xwT6zAm17C8oTZJcqLDjluw6dSkSO8GDYDCgHKgAaKvJEjFxoj8xkgLjAaTRxp5wQLn6s8UFZ450xiw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1821 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 Hi, > -----Original Message----- > From: Alexander Kozyrev > Sent: Friday, February 4, 2022 5:19 AM > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Slava Ovsiienko > ; Matan Azrad > Subject: [PATCH] doc: add limitation on MPRQ usage in multi-process app >=20 > MPRQ cannot be used in multi-process applications because of > externally attached MPRQ buffers. A callback is registered by > a primary process to free MPRQ buffers once they are no longer > needed. But this information is shared among all the processes. > The virtual address of the mlx5_mprq_buf_free_cb function is > different in a secondary process, which leads to a segmentation > fault. Document that MPRQ is not supported in a multi-process > app, since there is no way to find out if this is the one. >=20 > Signed-off-by: Alexander Kozyrev > Acked-by: Viacheslav Ovsiienko Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh