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 2F567433AD; Thu, 23 Nov 2023 18:26:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0B8F242F03; Thu, 23 Nov 2023 18:26:08 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id EDF0240A73; Thu, 23 Nov 2023 18:26:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700760366; x=1732296366; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=LVGU4CIYlc0m9Yxz7lJUknEsP5hJreuyWid3Frt7a9g=; b=kPWIrghm5Pl8Gjdm9G0cV+ddCYwFppSeV+KcF7sYUQNyZ+hs5dFiygVv EqA1/iNscEz8Go+2QfVeDpHZnHEkOQKBDA2YmwxZSRK2o1Saxw7xB0sl5 ywTFRP6QO8+lnh2jg5/NVmMjb1+6vFx0SGE+bteDCw/MO2AJB2Mh1bjna JaVzD/Y+8vKT85APMkWL2rr378nKveceJ4zzExb5SBgkmus3Zv+H3P/Mh 6Tka+xnzsnP/PIZDmn5HUx/DO/d0DfWAvwMLPgoTOHoYz8MmOcwrjCxsG 1qVTYfniEU/g/aFiEuBCuDFyZdAoIk5XbWLTjuG8wcM+Ic8yzxYxoujz2 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="389452685" X-IronPort-AV: E=Sophos;i="6.04,222,1695711600"; d="scan'208";a="389452685" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2023 09:26:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="771045152" X-IronPort-AV: E=Sophos;i="6.04,222,1695711600"; d="scan'208";a="771045152" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga007.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 23 Nov 2023 09:26:05 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Thu, 23 Nov 2023 09:26:04 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34 via Frontend Transport; Thu, 23 Nov 2023 09:26:04 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Thu, 23 Nov 2023 09:26:04 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NAM7L1jpJlQ/Ks14LLax93z0UIm8beF8pARMkKu8OrpBijV25d61yqaEsuUaw761ZuzJ6lm72SkBNhRM9cgRjIibRkSqKZWyPjzAjo67+mcc6LMKG+9Q7ZMusNybpLxL4k7iEQ3Io2q8zXAeWhbO2t8PCoJRQTUZTavAJ7gL+dT2vr6ky5Wt+5RTYVTF6V7tIEa/D2j7jQs0c4pBpf/m52XnAhyG1bdQKGAeYAMuTOxnmm4+/bNCDsmW9VEEHDv6gLfY198kWL+agRb/YatWWpMEcLg3yic2LEOmq5kxwsl2k2rQsvAk7ypYYmHCjm7pvjtAhNElGf2WeDBaE3FaqA== 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=LVGU4CIYlc0m9Yxz7lJUknEsP5hJreuyWid3Frt7a9g=; b=BCucKig7ZD8LZKgdMAee54jyAvTlasYopfU2Qp4oeI7ncZGb2RxGUMZ+Ia33+o1ZRAVu4SkKRoE9FOMNw4zF616LF6K+kNly9KJfeXwCZ+Ofl8p7mW3PPl+pSAcJ514ysL+0dA0SYbPLSxXzib3LQLYW5ZrklNeXupdyFBgaotIc6Q52ZkfmQpTUIAvBNttxAK7wfxIX0GBe3JH+GVbRxcJ+azpgzu4TX4S6rtEjl55KFwZ/TWlyrTkHT70zBZbp1QPOtZMKBlZZl1rwTYgXZQ0ExAEVcxGABKFPhIZ7rNzi93UrveQBaWg1CwuAWjEg1nl6aafUh5jrCbsVYCiAyg== 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 DM8PR11MB5591.namprd11.prod.outlook.com (2603:10b6:8:38::23) by SN7PR11MB6750.namprd11.prod.outlook.com (2603:10b6:806:266::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.18; Thu, 23 Nov 2023 17:26:02 +0000 Received: from DM8PR11MB5591.namprd11.prod.outlook.com ([fe80::562c:9cac:9327:79c3]) by DM8PR11MB5591.namprd11.prod.outlook.com ([fe80::562c:9cac:9327:79c3%7]) with mapi id 15.20.7025.020; Thu, 23 Nov 2023 17:26:02 +0000 From: "De Lara Guarch, Pablo" To: "Power, Ciara" , "dev@dpdk.org" CC: "thomas@monjalon.net" , "Ji, Kai" , "stable@dpdk.org" Subject: RE: [PATCH v2] crypto/ipsec_mb: fix getting process ID per job Thread-Topic: [PATCH v2] crypto/ipsec_mb: fix getting process ID per job Thread-Index: AQHaHjC8XpkkOZd2QUSvOM1AmghU3LCIJ72w Date: Thu, 23 Nov 2023 17:26:01 +0000 Message-ID: References: <20231123170701.901946-1-ciara.power@intel.com> <20231123171544.906577-1-ciara.power@intel.com> In-Reply-To: <20231123171544.906577-1-ciara.power@intel.com> Accept-Language: en-US, en-IE, en-GB 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=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM8PR11MB5591:EE_|SN7PR11MB6750:EE_ x-ms-office365-filtering-correlation-id: 09e862c4-eaeb-4185-917d-08dbec4943d1 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mgWU8REigOzeE35AP4JrWbzeYiXkgOuuDQCXmCKIM5dkj7PSnwMy9L2+3maWXBrJ2vpdJKU3PT+THHNpVVpFozThd7aUwtrfc0amlFpHvQ9YNPBNw0mv41PRMm3a1z047Iknz3ZyxD05SXx2tMtAP40zJ7BbwCt7+T+8Gq43+BHtT3+QaOFHwAoqWMQWEmSspfiri2Oeh1t0PreoHNmwy5z1XM5AtC0qZt3S2UmWlY8iJXkQn30seKu3OfCXd758MyXjCyR//QhNJt1W6hwTS0biYi3GQIzYtG8k4tFppxjL3w0ARWgVjDxy12yOXsW85mPmcDb4Qs2TJvwZpSFxOaT/gv67YXUUqDyjPWnjOG1xZ7TbcqaiFFNqrtH0h2E2AcPdA5zUkSDyc5AwYvHHPedo6f0VwdwfVWe99aADjrG6ycCq/OjWKKRadMwQ+eADUeUj1gEfEjFcJqnqeLrFPgdw0QQfm3kSTlBNymRZVbu3o0kPdm0+CmC02LWB557/IxyfesR0kL9wazuxJdvSaK1EJ/RCqtOGmrjFj+jrW4KFkQ/0yW+UnsoMPouLoXxUgtRz5XkNfLcmOX+98Z+muZXB9MtPvbcRFlItVudoz4mBctWNMNw5KA5ZNFhOwP+u x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM8PR11MB5591.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(346002)(376002)(39860400002)(136003)(366004)(396003)(230922051799003)(451199024)(186009)(1800799012)(64100799003)(38100700002)(9686003)(122000001)(41300700001)(478600001)(83380400001)(71200400001)(33656002)(55016003)(110136005)(7696005)(6506007)(4326008)(316002)(5660300002)(8676002)(54906003)(66946007)(76116006)(8936002)(66446008)(66476007)(64756008)(66556008)(55236004)(26005)(86362001)(52536014)(53546011)(2906002)(82960400001)(4744005)(38070700009); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?4pVCpj4zlArQ1OFHvIr7mSm7jTI0p1CccVyeQObTW6szHTvwNADvR2zqOLfg?= =?us-ascii?Q?ka9J49gtjjMJvX2WL5MxNEx9mrk14VKfweJnyMtHaQCnBbu1sI3Ns6o6+GXd?= =?us-ascii?Q?IXxFRA+W62E0x1lOJqQM+qXCtuZiPFfoH2qXyNZdQQJG/H1zQXj645G1XjZZ?= =?us-ascii?Q?L9S1O0GlUqL1ADZKNDdQjO7huxYbGpmbZb1zETYpb95oz5QqgNm2F8Yn3WDh?= =?us-ascii?Q?DTOZSMM/29Aw5zmzXmxdpD8qhmbAfYA5jC+EWws0EDwRCBbMM0svAWWTRDdh?= =?us-ascii?Q?o5lwiBjXFh3X0DVZjmVlJqBmBewNkMLqwBYu6yeyvFvItFcIH05PlcCg46ZK?= =?us-ascii?Q?UdMwvV3ncJfFRQBIaqauO+eNZiRrs8/E5aYGfMDwI07dDff/qAGTjikHXtkt?= =?us-ascii?Q?UYT5uTkYAz1f2InKOwvhkqmIuvbyQiX39D6E1BJc4xbW3FMtQHEI4e685qSd?= =?us-ascii?Q?FDWocAsRGj9ICSpZO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W/?= =?us-ascii?Q?rsmAq6y8MhjKEw4/xpOS5gafMJDKMf/wyzr/jGhymUqwAoFaC/iZw0sqOoT4?= =?us-ascii?Q?ZVa6jB9CRCGQk4tvxuaaRREaSmmb2+AriPYyn6kyltcsIqmm0Oob14DGhZ/i?= =?us-ascii?Q?JkHG0Bvv7UuqR78SaNVdRadIrYP9UgjGVNVlNEE/uNP4CNyGU62LhJ8CH/qG?= =?us-ascii?Q?dMhcxw/R8dHAJ5uHB8YRZ/n7cd4MMizE+6F1WcC/8NFwimg1+NNq/ezq+JR5?= =?us-ascii?Q?sA=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM8PR11MB5591.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 09e862c4-eaeb-4185-917d-08dbec4943d1 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Nov 2023 17:26:01.7038 (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: 8D+Pjcki3kpro0y8B5f3WIN7lF/m8rQDbynMDvWkZu4NV8tL9cfwLMzXWQXdJzkNqnt2d0CMnlx/LTmhlXXg5fbVO6tWzzfwY6ygDwRVn3E= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB6750 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 > -----Original Message----- > From: Power, Ciara > Sent: Thursday, November 23, 2023 5:16 PM > To: dev@dpdk.org > Cc: thomas@monjalon.net; Ji, Kai ; De Lara Guarch, Pabl= o > ; Power, Ciara ; > stable@dpdk.org > Subject: [PATCH v2] crypto/ipsec_mb: fix getting process ID per job >=20 > Currently, when using IPsec-mb 1.4+, the process ID is obtained for each = job in > a burst with a call to getpid(). > This system call uses too many CPU cycles, and is unnecessary per job. >=20 > Instead, set the process ID value per lcore. > This is read when processing the burst, instead of per job. >=20 > Fixes: 9593d83e5d88 ("crypto/ipsec_mb: fix aesni_mb multi-process session > ID") > Cc: stable@dpdk.org >=20 > Signed-off-by: Ciara Power Acked-by: Pablo de Lara