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 2B10C45EFA; Fri, 20 Dec 2024 16:56:49 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F2B6040156; Fri, 20 Dec 2024 16:56:48 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by mails.dpdk.org (Postfix) with ESMTP id 352974003C; Fri, 20 Dec 2024 16:56:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1734710208; x=1766246208; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=hdhrarxVAeWvAc6VRLwElJx8lF1Mk8Xf7Ipp9+dzPZU=; b=B2jUTrdIW4pAJaa5do9e2B2tC8ByVyW0BDtF3HYNGQUErzloj2X78rUU aiytqdUSy0mgM29noS9qzM21kHmIaOi1vU9opGgGjiFwFS0TQnNKe7qgW /PmQNc3PbUjrTHchPUXtiyzSyEnAgq1JDZpko5XtwMmtCNq7IF8O53HuK qsj0HLk/4nx/KVb1F2uBsTsQePvwFWvDoG7fWbbADsESZlyJeIFkqvBRe XduFtehYZIWSLv7GIunxf/4/Of3HI4gl6CixXEneHVlQMtGrIv7daj+cj LYPFOjrIsCSovgekfeFuzpdPfYA0x1Vi+9cj/IXKD4JmpvTGWAzgCXwDl Q==; X-CSE-ConnectionGUID: 3DBVcLf4Q/CEK4bzN9sxEQ== X-CSE-MsgGUID: U9iZ3fp7QZqDKWhw5ZWtYA== X-IronPort-AV: E=McAfee;i="6700,10204,11292"; a="35153012" X-IronPort-AV: E=Sophos;i="6.12,251,1728975600"; d="scan'208,217";a="35153012" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Dec 2024 07:56:46 -0800 X-CSE-ConnectionGUID: n7jdMhxSRZyZ95VM3YKu6w== X-CSE-MsgGUID: C8CmhibqQHSteWeax9dxbg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,251,1728975600"; d="scan'208,217";a="99063418" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmviesa009.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 20 Dec 2024 07:56:44 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44; Fri, 20 Dec 2024 07:56:43 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44 via Frontend Transport; Fri, 20 Dec 2024 07:56:43 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.175) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.44; Fri, 20 Dec 2024 07:56:43 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XhdyoFYj6f76V/5N9t0dBjlAikzBZRE18P2Xa/GqxAXFhIV4tGvb4JVOdN2Y9j0XDPrFwIPT3yM1Wzq0SoSFV3ZNYHxoqb9qYYk3jXJIl9vvtJHicGw/7sMWwx/pZFFcp5qLi5SWClnJzlVTq4LZ3XVGxDdlm2sHqU/gCCQeL/xko87RzUjg0njAnYE1WIc8AF08aLcevYrvj4mTiSzzg6B9aVX5+afD8aMJiETHaFxloX2r+MaxuqhhUkQ7NCq1N9IwHJFjfbcgpO8mxZsxMjp0j/8NhUkv1jqTjyjkQXT0BRsckFaO6fc61cZTIcdzh8lqgh43JdwWVNla7zktLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=pZCrRioDmvcgzuHtZhXHfiKEiyKxuGjsdztoJpXedpA=; b=yjiSHtzqEwBq1D6gdGYn2Z88d1y2+404AHxgjbOv3jgHKnwPFnKC7RkHbsjS4Ku5Yb9nSHYGS+YkyIiZiCPr7ytaeOrFIsM0wLYDH2Nt+k952rbZxkL6boshcr6rMvWWi6AOxdROXVd4THT3Ifyy+o/WHtnN7RHedAsNyRjkk5hS0es13S5fl4l3YgdyQ/vceC442gdF8WmOsi9KV9f/j5C3HzcXXwgQ2VC3G7J+NVmUA++KSTomJs7p12PyVoUw43eBKkvZ9h+JIix/oC7y2c/P27GUXt8dTy+uGzzI0XdQYIAp4jajWTzdbXBgQtEtjsWHHVm+1SxDO9OQ4r2rgA== 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 PH8PR11MB6803.namprd11.prod.outlook.com (2603:10b6:510:1cb::12) by MW4PR11MB7151.namprd11.prod.outlook.com (2603:10b6:303:220::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8272.13; Fri, 20 Dec 2024 15:56:39 +0000 Received: from PH8PR11MB6803.namprd11.prod.outlook.com ([fe80::8680:ff9f:997:18b4]) by PH8PR11MB6803.namprd11.prod.outlook.com ([fe80::8680:ff9f:997:18b4%6]) with mapi id 15.20.8272.005; Fri, 20 Dec 2024 15:56:38 +0000 From: "Van Haaren, Harry" To: "Krzewinski, Piotr" CC: "dev@dpdk.org" , "mattias.ronnblom@ericsson.com" , "stable@dpdk.org" Subject: Re: [PATCH] service: fix getting service lcore attributes Thread-Topic: [PATCH] service: fix getting service lcore attributes Thread-Index: AQHbUuu9lWJZvxhh60iNiWtWJp1yuLLvSLqA Date: Fri, 20 Dec 2024 15:56:38 +0000 Message-ID: References: <20241220142938.1300646-1-piotr.krzewinski@ericsson.com> In-Reply-To: <20241220142938.1300646-1-piotr.krzewinski@ericsson.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: 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: PH8PR11MB6803:EE_|MW4PR11MB7151:EE_ x-ms-office365-filtering-correlation-id: db039d6c-a0ef-4120-c571-08dd210ee37b x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|376014|366016|1800799024|8096899003|7053199007|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?Q?a9yQlpk/8S30ulpgkbjIbGO5zSkFYJeD7a6Mx+5v4WzBWQnQnBcn/J2wg5?= =?iso-8859-1?Q?bkaAMp2BbyYmcqCDqtuSymjZkLnvdqjfY1YNdsBZXHL0UsGrZbACPjAlYR?= =?iso-8859-1?Q?BlVI3QnVOm0fDIo8OOVXHkXBrftb3eHjIw4OmKHe6L6HzWKuEmqkXVLWwD?= =?iso-8859-1?Q?FufFzxu5/zhzz6K907EeQiHWtL2dH0bGsDrSnvtZmSHnM0GSM58VilMTmw?= =?iso-8859-1?Q?3QK4HVKWbht6+Ui53Qy8wFt0GqOVDJKu6PDEOLuNROgmp5uSbIX+4PtcfZ?= =?iso-8859-1?Q?W+vTNUzkh0+r5GzLtR9Khye/Ju0I9jhDEeSUUNGijlZpuuZJE9J3Ti9qyT?= =?iso-8859-1?Q?k4TB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syyIN7o?= =?iso-8859-1?Q?27HAiNo9+4C9suHHfei6yZhDNhDMo0USRfeKT69B4Mg4ld6WmK188FoI8N?= =?iso-8859-1?Q?Zo9fcF7LyYh0uPJR0wTxJw6r4XbBrlAj9ptZF5bAJe9EyTecSUeHAA+P5j?= =?iso-8859-1?Q?/v1LM+tXhE0nT0yugIAmgoMUCsAe0EBoy4S/9bFLbIriYBmWIIqJHN0t1Z?= =?iso-8859-1?Q?Krm6JgBlEOs+CR/RycRb1lE0Ebw4gMKNBVFJIw=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH8PR11MB6803.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(366016)(1800799024)(8096899003)(7053199007)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?pXro5nJu1DEIwDua0usP3ek5DnpUV3C8vsF8yFRZfjIlt7Uk0QejVJdsB+?= =?iso-8859-1?Q?/Jcrpd28BY775iD87wgMILY70T8IGuv2SOIorEjrQ+pWEquUxa2I/Oc7Zr?= =?iso-8859-1?Q?4cuiItcO7yvE3BIStF1EOn1JXbWUXAHEMIxeClr8PicOfL0BTqiid1ZyAu?= =?iso-8859-1?Q?TQLYmMt8nBQkymsvrh4zWd1AHEgnR7LQQI5HMUlqdPVDJL/d9Vm0kGsrGS?= =?iso-8859-1?Q?cKL5OHU+JzQDUZ9hpVZjwZreErsE5dYOW0B8um9lYMzw5Fo/9SpxKGxqbl?= =?iso-8859-1?Q?zN66jT77Dkkhb1uC396qQZ/1WwC6jt6atvX80dnLiSqASEXWDlHjKh1YRZ?= =?iso-8859-1?Q?IaZvYKSfsJ5pmKtVp0TxERR3dqlTmEL/xp0otDv/fkd7HrjIZHGXJa5Orp?= =?iso-8859-1?Q?jabClPCLl0239tZvehr+XJUN+8k+rDXlM/4v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MjhikcBetC4X7zebv4jo1jPrlWPV9enKNEa3ibqvBRALLA8Hcd9KgXC?= =?iso-8859-1?Q?KREyNsIHI+2mawTlD97s2DugFLwQ0pGw7t3se4DDn1Nk/5GetIJIWUd8mx?= =?iso-8859-1?Q?VGw+Bzg5Rm2R3Scn4wNwWOzynz7tjgrlBXjLBg+It/4XyDk6+1ztGCFXfr?= =?iso-8859-1?Q?MdhQzknDW0aAWFRLP9uzVAAO5DGERn2O8BVfgQMpHcbd9ex1hGsxDmCRZ/?= =?iso-8859-1?Q?PfLSrSILtcVnBW6AG3vIme2WgObwTPUaXga8sUb8e30G/nxoiZEdFRmiIN?= =?iso-8859-1?Q?MRmoI8CAS2hkq+y/DxRCWtHGClBCtJrl6q?= Content-Type: multipart/alternative; boundary="_000_PH8PR11MB68035924C0B384B56DB3F924D7072PH8PR11MB6803namp_" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH8PR11MB6803.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: db039d6c-a0ef-4120-c571-08dd210ee37b X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Dec 2024 15:56:38.6234 (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: 0wucoqN/k1Uji6vG80QYADLkX7Rrj6gSEhZZXOo/S9T3zGppG/BqrKgniXCw4Ciy8fNaPGOmDp0rTFsUUsW9AzxONhHxTOEr25I4LraGAFI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR11MB7151 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 --_000_PH8PR11MB68035924C0B384B56DB3F924D7072PH8PR11MB6803namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > From: Piotr Krzewinski > Sent: Friday, December 20, 2024 2:29 PM > To: Van Haaren, Harry > Cc: dev@dpdk.org ; Krzewinski, Piotr ; mattias.ronnblom@ericsson.com ; s= table@dpdk.org > Subject: [PATCH] service: fix getting service lcore attributes > > Perf test service_perf_autotest was failing after introduction > of lcore variables. Fixed getting of idle_ and error_ service > call statistics. > > Fixes: b24bbaedbba2 ("service: keep per-lcore state in lcore variable") > Cc: mattias.ronnblom@ericsson.com > Cc: stable@dpdk.org > > Signed-off-by: Piotr Krzewinski Thanks - verified that these two occurrences were the last two of such kind= in the file too! Acked-by: Harry van Haaren Side-note; seems CI flagged a warning, but not a real issue, artifact is em= pty https://lab.dpdk.org/results/dashboard/patchsets/32181/ https://lab.dpdk.org/results/dashboard/testruns/logs/1492956/ > --- > lib/eal/common/rte_service.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lib/eal/common/rte_service.c b/lib/eal/common/rte_service.c > index dad3150df9..1821746337 100644 > --- a/lib/eal/common/rte_service.c > +++ b/lib/eal/common/rte_service.c > @@ -879,7 +879,7 @@ lcore_attr_get_service_calls(uint32_t service_id, uns= igned int lcore) > static uint64_t > lcore_attr_get_service_idle_calls(uint32_t service_id, unsigned int lcor= e) > { > - struct core_state *cs =3D &lcore_states[lcore]; > + struct core_state *cs =3D RTE_LCORE_VAR_LCORE(lcore, lcore_states= ); > > return rte_atomic_load_explicit(&cs->service_stats[service_id].i= dle_calls, > rte_memory_order_relaxed); > @@ -888,7 +888,7 @@ lcore_attr_get_service_idle_calls(uint32_t service_id= , unsigned int lcore) > static uint64_t > lcore_attr_get_service_error_calls(uint32_t service_id, unsigned int lco= re) > { > - struct core_state *cs =3D &lcore_states[lcore]; > + struct core_state *cs =3D RTE_LCORE_VAR_LCORE(lcore, lcore_states= ); > > return rte_atomic_load_explicit(&cs->service_stats[service_id].e= rror_calls, > rte_memory_order_relaxed); > -- > 2.36.0 --_000_PH8PR11MB68035924C0B384B56DB3F924D7072PH8PR11MB6803namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
> From: Piotr Krzewinski <piotr.krzewinski@ericsson.com>
> Sent: Friday, December 20, 2024 2:29 PM
> To: Van Haaren, Harry <harry.van.haaren@intel.com>
> Cc: dev@dpdk.org <dev@dpdk.org>; Krzewinski, Piotr <piotr.krz= ewinski@ericsson.com>; mattias.ronnblom@ericsson.com <mattias.ronnblo= m@ericsson.com>; stable@dpdk.org <stable@dpdk.org>
> Subject: [PATCH] service: fix getting service lcore attributes
>  
> Perf test service_perf_autotest was failing after introduction
> of lcore variables. Fixed getting of idle_ and error_ service
> call statistics.
>
> Fixes: b24bbaedbba2 ("service: keep per-lcore state in lcore vari= able")
> Cc: mattias.ronnblom@ericsson.com
> Cc: stable@dpdk.org
>
> Signed-off-by: Piotr Krzewinski <piotr.krzewinski@ericsson.com><= /div>

Thanks - verified that these two occurrences were the last two of such kind= in the file too!

Acked-by: Harry van Haaren <harry.van.haaren@intel.com>

Side-note; seems CI flagged a warning, but not a real issue, artifact is em= pty
https://lab.dpdk.org/results/dashboard/patchsets/32181/

> ---
>  lib/eal/common/rte_service.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lib/eal/common/rte_service.c b/lib/eal/common/rte_service= .c
> index dad3150df9..1821746337 100644
> --- a/lib/eal/common/rte_service.c
> +++ b/lib/eal/common/rte_service.c
> @@ -879,7 +879,7 @@ lcore_attr_get_service_calls(uint32_t service_id, = unsigned int lcore)
>  static uint64_t
>  lcore_attr_get_service_idle_calls(uint32_t service_id, unsigned = int lcore)
>  {
> -       struct core_state *cs =3D &lcore_states[lco= re];
> +       struct core_state *cs =3D RTE_LCORE_VAR_LCORE(l= core, lcore_states);
>  
>          return rte_atomic_load_explicit(&= ;cs->service_stats[service_id].idle_calls,
>                  rte_memo= ry_order_relaxed);
> @@ -888,7 +888,7 @@ lcore_attr_get_service_idle_calls(uint32_t service= _id, unsigned int lcore)
>  static uint64_t
>  lcore_attr_get_service_error_calls(uint32_t service_id, unsigned= int lcore)
>  {
> -       struct core_state *cs =3D &lcore_states[lco= re];
> +       struct core_state *cs =3D RTE_LCORE_VAR_LCORE(l= core, lcore_states);
>  
>          return rte_atomic_load_explicit(&= ;cs->service_stats[service_id].error_calls,
>                  rte_memo= ry_order_relaxed);
> --
> 2.36.0
--_000_PH8PR11MB68035924C0B384B56DB3F924D7072PH8PR11MB6803namp_--