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 AB4DBA00C4; Fri, 5 Aug 2022 10:52:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 63CA142C1E; Fri, 5 Aug 2022 10:52:03 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 67F9E400D5 for ; Fri, 5 Aug 2022 10:52:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659689521; x=1691225521; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Zy+qrY5l5Y+0tzl12xGDno/iJ3gd0dYR3pxIKNGwews=; b=bPjB+AHVe0QcYuYX+eiYS4sAFpciZuKn9WXOfxqisjQP6cPzAcCF3omf 5cam5D6sChgo1URUmbM5GRZS9B+sBVaoNGofKzEk1lI9t3eVEmmGV37Jh gsdR3FnFc3DEvUbdq10r2z+SC38jfoV+GsmsYx/FREN2X7zeDLBjAhSk1 Ofn6VyOa3ebAgHh8s9PaxUfeEcZaEawJqA3tdgYfisAt996jIdzDUCsCb 0p7t7GMZbniFkAWt3ND04sb+TDAj5k5DPE+Jm0hzaGD7QhHkHTrTlWOdE 5sNHXTfeMUNBWDb5vVRCkDSEE3J64SMoTm9sdHH71QOxL+Z2AdIEcdZZi Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10429"; a="290931375" X-IronPort-AV: E=Sophos;i="5.93,216,1654585200"; d="scan'208";a="290931375" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Aug 2022 01:52:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,216,1654585200"; d="scan'208";a="671625826" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga004.fm.intel.com with ESMTP; 05 Aug 2022 01:51:59 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Fri, 5 Aug 2022 01:51:59 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Fri, 5 Aug 2022 01:51:58 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Fri, 5 Aug 2022 01:51:58 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.28; Fri, 5 Aug 2022 01:51:58 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BkqYKSOBqTS3Jb2PZ6xCTPKdQqMD+BASEg52LH+SqrfMqN+4cHaGn7MPkHHCAqsTW6J4Hf9QCmvMGZWd96jq6IHcnyMZkH12glclruTZNaPfq3SOPUEKI1vlsY2JIuLGZj8QRdVoiyh9S6A1KF6KCZ9dYWdST6nqo71XvkSauoEr2Mnfpv3OlI6addIWo/U8YPakyO67iOVCguofeWy7zwhi2Hx195pwXD/lqN3sLDWAfJWsNURBJ75V3Wkgj1O2lM8rUCnCkgDISmJNG8YAZ+5XwlkIjRUSZY/r5012KfP1BVu3eeFEclU0FpfB4LEUnm504dtoPViBjlG5fQodDg== 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=Zy+qrY5l5Y+0tzl12xGDno/iJ3gd0dYR3pxIKNGwews=; b=kvMNDTNqXoApQCMHlTnCsyPbRxmW7/GEAYSW7tdGiNhQhd7V0wTJrht/Q2ICu8zOXddM/3hWOIv86RYfQ5IB6BHm4LnAePPzAs70CUgaNY4dxZa3GdCn6ykAP/hZY/Y2N0T8MWle/dTS0ImR9J3iNKqR86wPIU3Elm4WpysHn4lFoe++O0Ag+IY5QiekW9gNQug8fxaz8mtzgRV8Iq1ITTF/UteVxltJX4N9HR1YWV8psRIdjpfb6kOxkzLJJ1fRLex5KpvGHsV7qaSCpxLV7ynNhYcf+hCzxt/rPKk6q/bj60540LOGEEpdykDWcfjtZm0LQcFYo8yA92Ynjn4WhA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MW5PR11MB5809.namprd11.prod.outlook.com (2603:10b6:303:197::6) by SJ0PR11MB4976.namprd11.prod.outlook.com (2603:10b6:a03:2d7::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.14; Fri, 5 Aug 2022 08:51:57 +0000 Received: from MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::f05d:d057:f254:52dc]) by MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::f05d:d057:f254:52dc%4]) with mapi id 15.20.5504.014; Fri, 5 Aug 2022 08:51:56 +0000 From: "Zhang, Roy Fan" To: Akhil Goyal , "Ji, Kai" , "dev@dpdk.org" CC: Anoob Joseph , "hemant.agrawal@nxp.com" , "Zhang, Roy Fan" , Chandubabu Namburu , Ruifeng Wang , "ajit.khaparde@broadcom.com" , Michael Shamis , Nagadheeraj Rottela , "matan@nvidia.com" , Jay Zhou Subject: RE: [EXT] [dpdk-dev v1] lib/cryptodev: multi-process IPC request handler Thread-Topic: [EXT] [dpdk-dev v1] lib/cryptodev: multi-process IPC request handler Thread-Index: AQHYoUSe2+TA1dJIG0m+oJbVLF393K2Rn0gAgA5mlJA= Date: Fri, 5 Aug 2022 08:51:56 +0000 Message-ID: References: <20220726230804.90036-1-kai.ji@intel.com> In-Reply-To: Accept-Language: zh-Hans-HK, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1af8463c-bf1b-42bc-ea83-08da76bfc091 x-ms-traffictypediagnostic: SJ0PR11MB4976:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pu5zvNz+M88o1a/Rz01XvL7jB0nrt9SYslDgTdPOaRvOv/M+91OIEOxzUogncXnzGMxtlk0iWnRY6d5Zo+fBNSO+R47/TQcM37MtcZ4fizRu3XBNUqCzn2y5KGjoiAnoW7ZSCTs6WcJsAqtQHcx4J9bljtEjTIbQcnzDDtImooIdTMztgS/LvChPI4++Xcnab44dSEM4pv7/oapupHMMeSiONTKKOnIUtmchmHB7kFBjg2n+C8wZQQ6sj14lOzKc2BysEJUliiAl+rSVV3NHJoAAlmQKuuXdOm/rPFD8phorbPFCqT32P/h6m9fxLjLOLatfiPi8a5qApmoSGK/cpafFp0zfXaAo1hrgQMFssl7bsUzAmxKFHKGgiiO6Y8ZMMrpWWWfk7bAAM1temKwX8EVpnRv9eOVQqxVcRkBz9fv7S2ww8r2OJP297h9oNtgQizKx17EEKUmjRlLILDC+Dn3tGIjmQYObbMBI5a3XgItRDzLkQgEBySmupZZvcyvudjULjtEh0lIiwl2stpSKicz2El3PnMOw9GRMDA+mPlJYOFZ5n5PrVULwYF96rIdDwla+r2rfM77LBdYBQfe6p3//yQIeX8RxYsEUn6o8eK7su807aoXNOJFwhzRI+Bib53JgMkT3igcDKNOvn2QQ7snX1lT/2KEGna4J8VQpVdPZPYLeGR4p5hdz5aCuFYCuGBZhXAgAIru8cWZvGzsrMmeGI3Jjfqwk4zWX9tB7yCVP2ptQW41eZRUJtORVMK1daH/tTfViIxIrdAmTqch1iIgzB273l5bRUugP33aEwNf5ddCUr99bXoHvwlvC7yY+ x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW5PR11MB5809.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(376002)(39860400002)(136003)(396003)(366004)(346002)(76116006)(71200400001)(478600001)(55016003)(66946007)(82960400001)(66556008)(86362001)(41300700001)(2906002)(26005)(6506007)(7696005)(53546011)(9686003)(8936002)(83380400001)(110136005)(7416002)(52536014)(54906003)(122000001)(8676002)(4326008)(66446008)(64756008)(38100700002)(66476007)(38070700005)(316002)(186003)(5660300002)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?dyt2bNXR+vgSw49OIILLehCONL27ip+z9AsLjGRApJ6sryjSB9oPEBp1?= =?Windows-1252?Q?Z+GxhHjS1qiaidUhoBQQ9+UTA8zOH/cuMaL6C+Ho6FhS0ovD4ej2gY5W?= =?Windows-1252?Q?TFbUakxrb/HPbc3QJbenrMTKUThITa8Fw5AHNP0fPh/OUXxVlC3DowRO?= =?Windows-1252?Q?LvVouCHKQFGNkmW96PJElPOPkjxSPIp3scEcWzmY5isZPFLWqoBrmIkM?= =?Windows-1252?Q?jP4kYVGnRq3X+YgkfwJ7s+BGQDrVXqszJu1gfAxq/nX/RQaYzBFGBC3h?= =?Windows-1252?Q?nZGDa98KVQMUbk8ubL0nTwgO1E8u/RJAYrfRipcwbQq1X3omU5QbG7MY?= =?Windows-1252?Q?ZjSTfweDx1XMgpdczD5puow0wOEHwIXbtBD9JCWJzUDIITf4fe7fzJZe?= =?Windows-1252?Q?8gyigZTR6FerIkgqxyR0jeoLtASOMDviG/8w7WDGWuB60YjrQou1/4s/?= =?Windows-1252?Q?mY3huimHkrNBz+ajrzpabp1g+usUbSHSpTnk0IOgjo/khGRdmlDKrfnU?= =?Windows-1252?Q?sqUCDANQ5lD2P2i+LtfNibISK4/RsDrUNzl3lRO1YD6wvfz2707RPyYu?= =?Windows-1252?Q?JhjRTgUlIPSN582Apzrm/0M5daKRbBu3TNAvEL2tYEh9saSsGHx/F0Cd?= =?Windows-1252?Q?goJAI716ZeDDQ61RvSICmdOTgVbAVr4JwmDmFXIdnIqUcI4xpx1JBBH/?= =?Windows-1252?Q?ZTNbDINGY9+UG5eoogyYfEzJctbumPAr6MQFlbvVebmyXb0dgsM24rBm?= =?Windows-1252?Q?73bj11zuE05JlZlbfI5wV/vBKurb/iueW7T+GtzlFdCWNAMQ+AUSDstz?= =?Windows-1252?Q?YEH/E+ZPQ27dB9zs74esfq/007/1N9j8YySyuJC5QjYou2gVhVxi1aOV?= =?Windows-1252?Q?XpHoW6C+xKEH2qTvqi2qiwxYCdMg9EwhKZTBVx5IXwB43JOhfiVZHml2?= =?Windows-1252?Q?GktFwydcPY9RMrjIVUjtozxikCCO6oXZL7G1/zolg6xwZQ3yZ0108wIX?= =?Windows-1252?Q?oiL9E5KakgjnCVRwIp9gRN8Dwxpa06Z71BU4WqaKEKgmGwsWPXOMR+b/?= =?Windows-1252?Q?xIT75SW57vUZGsy4scS4YeMonwuK9OAt45qHLMKRSzcl7QY/sSXPNVUp?= =?Windows-1252?Q?4m6gbMU7qDSW1JvUPeYoqYbx6Ex+B+Z6GxQJlNtPQdZ+Dr9EQeAbPgWc?= =?Windows-1252?Q?DxlClakOWOdIpldwPaf379PjDrBcfOFS6JJhJmKKJP1Jc0Hukm6rWguS?= =?Windows-1252?Q?JDQqKyK6jWhZiQNH7fTpdULvRrlOC+zXwsEzT0yRW3gniVqR6X9riNhR?= =?Windows-1252?Q?AnLKDc739v30meXQTYV0iBdXyASHWV1BWZz65K/3UlMMxVoJhJgKXFNw?= =?Windows-1252?Q?pv/Y16d44k12PDoJcLEoUqO3x9XMkBR9vPU+DdvdoL0wLtpQNbY9QlyJ?= =?Windows-1252?Q?I8FtXtH60MZzuEM96IHrVoDRj1yVZlif2Lj+AZJe/IlQyWBeZcguuNm4?= =?Windows-1252?Q?XfFR6Op97qFyLZPjn50CKofOdt7YVAp7FS5Crq5VzyOXFPALgM2I9YT8?= =?Windows-1252?Q?Wd/UNc+q0Rc3rnLL/KvCyB3Bio7q4v0nnhdERejgA9qre+PcmNlAIN12?= =?Windows-1252?Q?nn8pPCfWSBloRCseB/XDqnEOgmi2k1WbIOtbxszbu001roxCzgZsk0WW?= =?Windows-1252?Q?YXSqhm9S8nILeLZNdKs3Jnt2JqIaPQfZ?= Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW5PR11MB5809.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1af8463c-bf1b-42bc-ea83-08da76bfc091 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Aug 2022 08:51:56.7497 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: WiS75Jv981IVc6lZg5g/Hg8MeBhYSSlyUPU0EXORn/uEQMAK11Jgb0x9NApod8wfsIr0nPYjuICmwZZOG8tW8w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB4976 X-OriginatorOrg: intel.com 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 Akhil, > -----Original Message----- > From: Akhil Goyal > Sent: Wednesday, July 27, 2022 5:26 AM > To: Ji, Kai ; dev@dpdk.org > Cc: Anoob Joseph ; hemant.agrawal@nxp.com; > Zhang, Roy Fan ; Chandubabu Namburu > ; Ruifeng Wang ; > ajit.khaparde@broadcom.com; Michael Shamis ; > Nagadheeraj Rottela ; matan@nvidia.com; Jay > Zhou > Subject: RE: [EXT] [dpdk-dev v1] lib/cryptodev: multi-process IPC request > handler >=20 > This is a library change you should cc all PMD owners while sending patch= . Kai is in holiday at the moment and will be back in a week. I will sync wit= h him then. >=20 > > This patch add in multi-process IPC request handler function in rte > > cryptodev. This function intend to support a queue-pair configuration > > request to allow the secondary process to reconfigure the queue-pair > > setup'ed by the primary process. >=20 > Who will release the queue pair already setup by primary in the first pla= ce? Fan: If the queue pair already setup by primary the secondary shall not rec= reate it but use it instead. > Currently, all queues are setup by primary and secondary uses them. > So if a queue is re-initialized by secondary, and if it is being used in = primary > process, > Wont that drop packets abruptly if the queue is re-initialized? You are right. What about creating a variable in the queue pair with either= PID or thread id who own the queue pair? >=20 > Also, I see register API but not deregister. There will be V2 for that. Regards, Fan