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 C967FA04DB; Wed, 2 Dec 2020 00:23:49 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 18433C9AA; Wed, 2 Dec 2020 00:23:48 +0100 (CET) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by dpdk.org (Postfix) with ESMTP id D4A93C9A4 for ; Wed, 2 Dec 2020 00:23:46 +0100 (CET) Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0B1MWsIp009881; Tue, 1 Dec 2020 18:23:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=1OpuS3jSFUqHK9t8Z3B27kF0Vci9yzWjl8j+20w/o4g=; b=Rv7QoyjroCSnXTZJDF/A5rFBw/fIwZypacUSXn6EymMaLpHLOfvQtrw9v6d7Ocj1afSP kzpG9X/g6qvPMXTfggyVzdQR8eXFRgeKGxVFEx/qrsRCE0M8iDVsSbNJ2qFxQMuZIQVk yCwA5bhsbK/AUPUtM4HYx144srwms/p1Ocb9653zp7uFthcThBrzUDdheOZEn6cnzFth W67zGNIgn85ct4M7xPsCWdvXMpOnDQcI9CXrH4C8Em9V3oLhCTdfRWZCl4rV8HXDeCKA 3VggX7iceHGaS77QIMgd6h8pg+oNN43Rn8Wrp+iMuT+PjXg78k2WWfEvFU2dGZfuErCK rA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 355h8d54ja-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 01 Dec 2020 18:23:42 -0500 Received: from m0098410.ppops.net (m0098410.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 0B1MlDHt053679; Tue, 1 Dec 2020 18:23:42 -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 355h8d54j0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 01 Dec 2020 18:23:42 -0500 Received: from pps.filterd (ppma02dal.us.ibm.com [127.0.0.1]) by ppma02dal.us.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 0B1NHTWU028544; Tue, 1 Dec 2020 23:23:41 GMT Received: from b03cxnp08028.gho.boulder.ibm.com (b03cxnp08028.gho.boulder.ibm.com [9.17.130.20]) by ppma02dal.us.ibm.com with ESMTP id 353e69u02e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 01 Dec 2020 23:23:41 +0000 Received: from b03ledav005.gho.boulder.ibm.com (b03ledav005.gho.boulder.ibm.com [9.17.130.236]) by b03cxnp08028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 0B1NNedM65667572 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 1 Dec 2020 23:23:40 GMT Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 43608BE053; Tue, 1 Dec 2020 23:23:40 +0000 (GMT) Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D3BB1BE04F; Tue, 1 Dec 2020 23:23:39 +0000 (GMT) Received: from Davids-MBP.randomparity.org (unknown [9.163.49.161]) by b03ledav005.gho.boulder.ibm.com (Postfix) with ESMTP; Tue, 1 Dec 2020 23:23:39 +0000 (GMT) To: Nithin Dabilpuram , anatoly.burakov@intel.com, david.marchand@redhat.com Cc: jerinj@marvell.com, dev@dpdk.org References: <20201012081106.10610-1-ndabilpuram@marvell.com> <20201201193302.28131-1-ndabilpuram@marvell.com> <20201201193302.28131-5-ndabilpuram@marvell.com> From: David Christensen Message-ID: <7518085c-4e09-ae9d-77cd-a774bf9d6fe3@linux.vnet.ibm.com> Date: Tue, 1 Dec 2020 15:23:39 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <20201201193302.28131-5-ndabilpuram@marvell.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737 definitions=2020-12-01_11:2020-11-30, 2020-12-01 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 clxscore=1011 mlxscore=0 lowpriorityscore=0 bulkscore=0 priorityscore=1501 mlxlogscore=999 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012010134 Subject: Re: [dpdk-dev] [PATCH v3 4/4] test: change external memory test to use system page sz 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" > diff --git a/app/test/test_external_mem.c b/app/test/test_external_mem.c > index 7eb81f6..67690c6 100644 > --- a/app/test/test_external_mem.c > +++ b/app/test/test_external_mem.c > @@ -532,8 +532,8 @@ test_extmem_basic(void *addr, size_t len, size_t pgsz, rte_iova_t *iova, > static int > test_external_mem(void) > { > + size_t pgsz = rte_mem_page_size(); I'm seeing a build warning with this code. Looks like you need: #include Dave