From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6240EA0546; Fri, 14 Feb 2020 00:22:58 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A19211C02E; Fri, 14 Feb 2020 00:22:57 +0100 (CET) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by dpdk.org (Postfix) with ESMTP id AAF8E1C029 for ; Fri, 14 Feb 2020 00:22:55 +0100 (CET) Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 01DNKiMY068026; Thu, 13 Feb 2020 18:22:50 -0500 Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 2y1tn6tft1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Feb 2020 18:22:50 -0500 Received: from m0187473.ppops.net (m0187473.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 01DNKnXS068186; Thu, 13 Feb 2020 18:22:50 -0500 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 2y1tn6tfsj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Feb 2020 18:22:50 -0500 Received: from pps.filterd (ppma02dal.us.ibm.com [127.0.0.1]) by ppma02dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 01DNGVY4028330; Thu, 13 Feb 2020 23:22:49 GMT Received: from b03cxnp08025.gho.boulder.ibm.com (b03cxnp08025.gho.boulder.ibm.com [9.17.130.17]) by ppma02dal.us.ibm.com with ESMTP id 2y5bc0jb1c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Feb 2020 23:22:49 +0000 Received: from b03ledav005.gho.boulder.ibm.com (b03ledav005.gho.boulder.ibm.com [9.17.130.236]) by b03cxnp08025.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 01DNMmt257541088 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 13 Feb 2020 23:22:48 GMT Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EEEEABE04F; Thu, 13 Feb 2020 23:22:47 +0000 (GMT) Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9C63BBE053; Thu, 13 Feb 2020 23:22:47 +0000 (GMT) Received: from ltc.linux.ibm.com (unknown [9.16.170.189]) by b03ledav005.gho.boulder.ibm.com (Postfix) with ESMTP; Thu, 13 Feb 2020 23:22:47 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 13 Feb 2020 15:23:14 -0800 From: dwilder To: Thomas Monjalon Cc: david.marchand@redhat.com, anatoly.burakov@intel.com, aconole@redhat.com, maicolgabriel@hotmail.com, ferruh.yigit@intel.com, arybchenko@solarflare.com, dev@dpdk.org, ruifeng.wang@arm.com, drc@linux.vnet.ibm.com, wilder@us.ibm.com In-Reply-To: <3387752.bqPgKRP4r2@xps> References: <20200213202442.19674-1-dwilder@us.ibm.com> <2695382.dT8XKq9c71@xps> <3387752.bqPgKRP4r2@xps> Message-ID: <29fa0202af95822277276caccbfcf967@linux.vnet.ibm.com> X-Sender: dwilder@us.ibm.com User-Agent: Roundcube Webmail/1.0.1 X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572 definitions=2020-02-13_09:2020-02-12, 2020-02-13 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 adultscore=0 malwarescore=0 mlxscore=0 impostorscore=0 phishscore=0 priorityscore=1501 suspectscore=0 lowpriorityscore=0 mlxlogscore=658 spamscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002130168 Subject: Re: [dpdk-dev] [PATCH v1 1/2] devtools: allow test-null.sh to run on ppc64le X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 2020-02-13 14:17, Thomas Monjalon wrote: > 13/02/2020 21:58, dwilder: >> On 2020-02-13 12:32, Thomas Monjalon wrote: >> > 13/02/2020 21:24, David Wilder: >> >> - The --no-huge option requires iova-mode=VA. >> >> On ppc64le iova-mode defaults to PA therefor >> >> VA mode must be explicitly set. >> > >> > Should we make VA mode automatic when using --no-huge? >> > Should we log an error message when using --no-huge with PA mode? >> >> Logging a messages sounds like a good idea. Ignoring the users >> request >> of iova-mode=PA (in the case of x86) and just switching modes would be >> bad. > > Yes, I mean for ppc64, if --no-huge is specified, > would you like to change the default to VA mode? OK, that would be better. I will switch to VA when --no-huge is set (ppc64 only). Add log messages if PA is selected with --no-huge (all arches).