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 938B8A0A0A; Wed, 28 Apr 2021 21:33:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 12F3C40697; Wed, 28 Apr 2021 21:33:23 +0200 (CEST) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by mails.dpdk.org (Postfix) with ESMTP id A42F740147 for ; Wed, 28 Apr 2021 21:33:21 +0200 (CEST) Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 13SJXFvZ119990 for ; Wed, 28 Apr 2021 15:33:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=subject : to : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=kep4H6gOcIWIQgQM+lrbNvYgmU+0f1E4Cbjck2PEr6M=; b=XT+i3v9XacqoGtqBrGMvNrVZsg3jDd9iqR66eMsXag2riewNxHpquwOOn/4U5jxTevzp 1/fgf00AAjFSy5g8jopxZ2Hoe+wgy2m4OLc/c8NC0Q6CrxlPvfBDucR8QblrRPKgI5Me AMfgtMdUbyiVfB/rzDrmDSrQkW0rPn2i/E9L1VIKgxKzNvZmMt6mAqr5SM/ayVRCrHhO VtC30EStjCgH6uG/yGwY8sYaoElc+VRiKgfPj83P9e6mlHKpCJJ5+ogOSNgImN102O9v yZyWyHGMGmAbZpNOI+IeBUR7v8DcFwth7iSiCKcViT/Lo+k3ArQ6QGJwXuZ8TKxfdTZ+ ug== Received: from ppma02dal.us.ibm.com (a.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.10]) by mx0a-001b2d01.pphosted.com with ESMTP id 387b1wcy70-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 28 Apr 2021 15:33:20 -0400 Received: from pps.filterd (ppma02dal.us.ibm.com [127.0.0.1]) by ppma02dal.us.ibm.com (8.16.0.43/8.16.0.43) with SMTP id 13SJNLc4008717 for ; Wed, 28 Apr 2021 19:33:19 GMT Received: from b03cxnp07027.gho.boulder.ibm.com (b03cxnp07027.gho.boulder.ibm.com [9.17.130.14]) by ppma02dal.us.ibm.com with ESMTP id 384qdjb19w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 28 Apr 2021 19:33:19 +0000 Received: from b03ledav006.gho.boulder.ibm.com (b03ledav006.gho.boulder.ibm.com [9.17.130.237]) by b03cxnp07027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 13SJXIYc32375230 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 28 Apr 2021 19:33:19 GMT Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DA86FC6057 for ; Wed, 28 Apr 2021 19:33:18 +0000 (GMT) Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B8EBEC6055 for ; Wed, 28 Apr 2021 19:33:18 +0000 (GMT) Received: from Davids-MBP.randomparity.org (unknown [9.163.2.109]) by b03ledav006.gho.boulder.ibm.com (Postfix) with ESMTP for ; Wed, 28 Apr 2021 19:33:18 +0000 (GMT) To: dev@dpdk.org References: <1617181602-18293-1-git-send-email-juraj.linkes@pantheon.tech> <1618827522-31828-1-git-send-email-juraj.linkes@pantheon.tech> From: David Christensen Message-ID: <0a4fd3b8-a70a-5a4d-4d5f-891e110a27c1@linux.vnet.ibm.com> Date: Wed, 28 Apr 2021 12:33:18 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <1618827522-31828-1-git-send-email-juraj.linkes@pantheon.tech> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: wHpriDjKAYo8-dl3sI-Ddip34Dxuyz-e X-Proofpoint-GUID: wHpriDjKAYo8-dl3sI-Ddip34Dxuyz-e X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-04-28_13:2021-04-28, 2021-04-28 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 mlxscore=0 spamscore=0 lowpriorityscore=0 adultscore=0 malwarescore=0 mlxlogscore=928 suspectscore=0 impostorscore=0 priorityscore=1501 clxscore=1015 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2104280125 Subject: Re: [dpdk-dev] [PATCH v3] build: optional NUMA and cpu counts detection 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 Sender: "dev" On 4/19/21 3:18 AM, Juraj Linkeš wrote: > Add an option to automatically discover the host's numa and cpu counts > and use those values for a non cross-build. > Give users the option to override the per-arch default values or values > from cross files by specifying them on the command line with -Dmax_lcores > and -Dmax_numa_nodes. > > Signed-off-by: Juraj Linkeš > Reviewed-by: Honnappa Nagarahalli > --- Reviewed-by: David Christensen