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 41179A034C; Wed, 23 Feb 2022 12:20:55 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C22640E5A; Wed, 23 Feb 2022 12:20:55 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 0548940DF6 for ; Wed, 23 Feb 2022 12:20:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645615253; x=1677151253; h=message-id:date:to:cc:references:from:subject: in-reply-to:content-transfer-encoding:mime-version; bh=gJFaAXgxXg5tMbK74yipJTfk13pxAJf8Ox7kPcdFn9A=; b=FThKpb6tuxW3FIt9IiWlDQyHZ2Pod1M12fQ44z/aL5pTr2NaRsUwMAje Hu+d6fQ/K81+5Z/4lOHrfvVfhH3oUgZHcwP6AfczMu/7CaEmaBg6jpCuQ gtizt/04iMjpxUqdmrR5Unzz8FYRjJ61XJxyy8HjUCBVNJoqr7LgbKNLC bGB9vxMGoGrocAHWKFtr1l48oqtOgGUPWvtm12aA/pY7VdebTiAdDn05K w61Z5lCRdQmcf08IXY0a++2SI/+3quRSs/yDu/81LOppn3CVYI/+YYFLF fxRdGSITWqXOqAd/0a4qX/hMVSj4y3y5lDEqJsLf6+uni5bb8tSHpIeVC g==; X-IronPort-AV: E=McAfee;i="6200,9189,10266"; a="232562706" X-IronPort-AV: E=Sophos;i="5.88,390,1635231600"; d="scan'208";a="232562706" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2022 03:20:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,390,1635231600"; d="scan'208";a="505877156" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga002.jf.intel.com with ESMTP; 23 Feb 2022 03:20:41 -0800 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Wed, 23 Feb 2022 03:20:40 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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.2308.21 via Frontend Transport; Wed, 23 Feb 2022 03:20:40 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.104) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Wed, 23 Feb 2022 03:20:40 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R0FhYemuuK828+2gV+mdGec3ow9qS2aLvHRMYppfbWE7CdHc+hU9jjyvyslgMEeCVJ04h/fpO7feB5pLv5TvYxkk12hHG5e+Ws5RJVpfWKfCFV59v6CiTl161RTlws9ImYTe5a+KQgIZiHpPXRt91eawIff4+nDnoD6bxZIQwoovqJUajO0hpAglqqa0phmFN+89VD65X8Ft413Ng9TUUOHX5UrrnrkL+EPVEvRzUnkTeGLOgneTheFobyU/1Vz5uZn0foHBVHldYDpdVSUVndDUCDnVn3Vo5DUgjYbDCuYkgXmzFx0mS4JoPyAPR/9nIVlKJefbJuwjdCmzHWDkcQ== 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=lTG0F5xmkdi4GBub9jsnzWvdd+4O49IQo4YM2GcRGmA=; b=BWyYokficeTBEkIBm+Q17cf0NWifa/11WHpfXZAolZiUXLhHSJP2s2PwYguY5CBEn82UxHhBDnOo2f7DoAEgZveWr28N/QCOYaNkxrDyvncDTU6tQaxfPc5pb3ZUu0FMzwpWHnNI6ZoTh0Y9Ba53EpX659ai0nUsq7W98uy9D9/qnNCpUk5pOwehT9uYo9ko8x8teUi8raQTaNP+QE4LtZavVFRC0dBlTQ0oUzKQOC+5YpgfcSTU+obfkvNy8d9v1NDBtfSvjFehMS1P7B2mmqzsMSvSlJaJPJqOGb2xPIwLj5SF0sukmHFkEjXp3rt/Ki5SZYoYMFPOjiAuHl4cXQ== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by MWHPR11MB1680.namprd11.prod.outlook.com (2603:10b6:301:d::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Wed, 23 Feb 2022 11:20:38 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::98be:5506:5020:28a2]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::98be:5506:5020:28a2%4]) with mapi id 15.20.4995.027; Wed, 23 Feb 2022 11:20:38 +0000 Message-ID: Date: Wed, 23 Feb 2022 11:20:32 +0000 Content-Language: en-US To: =?UTF-8?Q?Morten_Br=c3=b8rup?= , "Stephen Hemminger" CC: Megha Ajmera , , , , Thomas Monjalon References: <20220222131851.2944637-1-megha.ajmera@intel.com> <98CBD80474FA8B44BF855DF32C47DC35D86EDB@smartserver.smartshare.dk> <20220222080306.1caf1fc9@hermes.local> <98CBD80474FA8B44BF855DF32C47DC35D86EDE@smartserver.smartshare.dk> <985f6f5f-996a-cc29-f4af-3657a2f16ba9@intel.com> <98CBD80474FA8B44BF855DF32C47DC35D86EE5@smartserver.smartshare.dk> From: Ferruh Yigit Subject: Re: more than 64 lcores not properly supported X-User: ferruhy In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35D86EE5@smartserver.smartshare.dk> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO2P265CA0167.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:9::35) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4000a787-a876-431b-57f4-08d9f6be84d2 X-MS-TrafficTypeDiagnostic: MWHPR11MB1680:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: exU7ONMDdrSptNVp7k5W9CTbxg+OcA8mY+zWH0Qebf/gJubSJgaEXLUSlkziRNA4nukKkYhZZLkRDltnNd6d+3GwrRh+S6yLrL5X+V+nx3o0wsDvq2zoiuR8m00kuNHlJWSZk6nw+lZ42aLbxiwQngBo5F6kwNA6mGkJIZi8/+rhjff1K4+SFfPhKgms7219tzcBfQZV4ddX0BUzoJsklLFi9HLiLfxCA8HQUTpEoiVFPcZjOnZyq4mjcBX+3mqSrwfs59yc1Fae+CqrsCNhmttXgRQfrYdplDMqaRh4ptghqle+Ej8aodekoYH9efB9iNMHt2nW4v4SrTJzp/swkfxlZozYX78WAzgeJHBM9U5wbTtTsn25Uu6bfTGg7PRr+iMaP6YiI0sjfQUnTRroRzt4i/Ivyk2cygqSkYDrtP6QVOoiGLq7nzfrBx3si5Rm4L2ts+liX2Jz09aNpdWGrTDZuMEWPFlsZ4oJ0pZCnV99yYpropoMXsw6lUOy9y86IRWSJHmgFfgolO2gvBJX2T8UzxUXoFfQqhIwOmz6Mqd93di8RjARlQdqUaVhOYLxLuwtAUhMbqThKGYwjmdasd94X4z6+xlyavFmxj2+rkkXAE1Z7Vemhx1OdrN4Lz39ZyeHD71/nHzG+E5v9mD5zAMjNQRMivcWZpp6UB/Kbsqoo8tYvOcc8svqET6icXMTBTWAJQ2fMKzzFBGO01KNpg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(38100700002)(66476007)(86362001)(66556008)(66946007)(5660300002)(6486002)(44832011)(53546011)(4326008)(110136005)(6512007)(316002)(6666004)(8676002)(31696002)(6506007)(54906003)(66574015)(508600001)(82960400001)(186003)(2616005)(83380400001)(2906002)(36756003)(8936002)(26005)(31686004)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?blQ2ZnpSQ09tMi9uQmhHNy9iN3daRzdTYjVWYnJkaEhRZXhTaEhoQzdRUjZa?= =?utf-8?B?RVBGajMxSWljeWozbjhTUnZlVEdJbmcwSDVZSCs5N29UaXdBeEJJa3ZMUmZP?= =?utf-8?B?Tkg1bTZuMThqeE5UYTY2TjhyU3Q3bnlBUE1sTFh5REdwdFVBM2hMQjhueG5v?= =?utf-8?B?V1p6SURYWnF5NkZvODY5R3o1S1lSZFRPTll6S0JKTWVaOEthUGg5ZFpxaG1P?= =?utf-8?B?ckxHWW5ESVNHQjc5QVJlU3E1MjhjVUM1b09BcVEvNWh2eEJtWUhLZk1Ibkgr?= =?utf-8?B?czI4emFRb01WZHZSdmt6akFXVWhtSHNaMEtsa0Q4bktZZnk5MkJLRU56UlNj?= =?utf-8?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VkFGcWp5WkZKN09MMk1mUHlsbWtD?= =?utf-8?Q?YuEdg3rUNIoXfp4qYS4XZBM=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 4000a787-a876-431b-57f4-08d9f6be84d2 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Feb 2022 11:20:38.5044 (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: 2CTfYcUfRUeKJeosfgdBV8NGD+eUQycvCpxSsqNvhCG1hSHHSC4XVzRc1C5w05L2gk7GUUBPSeKfKrnOSdL07w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1680 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 On 2/23/2022 10:42 AM, Morten Brørup wrote: > +Thomas, you may be interested in this discussion about applications using an uint64_t bit mask to identify active lcores. > >> From: Ferruh Yigit [mailto:ferruh.yigit@intel.com] >> Sent: Wednesday, 23 February 2022 11.03 >> >> On 2/23/2022 7:17 AM, Morten Brørup wrote: >>>> From: Stephen Hemminger [mailto:stephen@networkplumber.org] >>>> Sent: Tuesday, 22 February 2022 17.03 > > [...] > >>>> >>>> DPDK now supports > 64 lcores. So all code using/assuming a 64 bit >> mask >>>> is broken. >>>> >>> >>> Good point. Is there a TODO-list where such a general review request >> can be filed, or should we just file it as a system-wide bug in >> Bugzilla? >>> >>> Nonetheless, I think this one-line fix should be accepted as a short >> term solution. >>> >> >> Hi Morten, >> >> I suspect there can be more places that testpmd assumes >> max core number is 64, someone needs to spend time to >> analyze and fix it. > > My point exactly. Someone needs to spend time to analyze all DPDK libraries and applications, and fix it where appropriate. Where do we register this required effort, so it can be picked up by someone? > testpmd is an application and it has its own restrictions, I *assumed* libraries are safe and restriction is only in testpmd, but may be better to verify this as well. > Also, it should probably be mentioned as a known bug in the 22.03 release notes. >