From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tama500.ecl.ntt.co.jp (tama500.ecl.ntt.co.jp [129.60.39.148]) by dpdk.org (Postfix) with ESMTP id E09E01BADD for ; Thu, 21 Jun 2018 12:53:57 +0200 (CEST) Received: from vc2.ecl.ntt.co.jp (vc2.ecl.ntt.co.jp [129.60.86.154]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id w5LAruj4028790; Thu, 21 Jun 2018 19:53:56 +0900 Received: from vc2.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 57C41639257; Thu, 21 Jun 2018 19:53:56 +0900 (JST) Received: from jcms-pop21.ecl.ntt.co.jp (jcms-pop21.ecl.ntt.co.jp [129.60.87.134]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 4C980639209; Thu, 21 Jun 2018 19:53:56 +0900 (JST) Received: from [IPv6:::1] (watercress.nslab.ecl.ntt.co.jp [129.60.13.73]) by jcms-pop21.ecl.ntt.co.jp (Postfix) with ESMTPSA id 47E8340094A; Thu, 21 Jun 2018 19:53:56 +0900 (JST) References: <20180619113720.8336-1-shinohara.kenta@lab.ntt.co.jp> <20180619113720.8336-4-shinohara.kenta@lab.ntt.co.jp> From: Yasufumi Ogawa Message-ID: <31c5e768-891d-7e28-2f87-07a3a32c8d54@lab.ntt.co.jp> Date: Thu, 21 Jun 2018 19:52:31 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20180619113720.8336-4-shinohara.kenta@lab.ntt.co.jp> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CC-Mail-RelayStamp: 1 To: Kenta Shinohara , spp@dpdk.org, ferruh.yigit@intel.com X-TM-AS-MML: disable Subject: Re: [spp] [PATCH 3/7] spp_vm: fix deprecated use of rte_eth_dev_count X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jun 2018 10:53:58 -0000 On 2018/06/19 20:37, Kenta Shinohara wrote: > This patch is same as previous one. > > Signed-off-by: Kenta Shinohara Thanks! Acked-by: Yasufumi Ogawa > > --- > src/vm/init.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/vm/init.c b/src/vm/init.c > index fb9b7ec..7714b56 100644 > --- a/src/vm/init.c > +++ b/src/vm/init.c > @@ -102,7 +102,7 @@ init(int argc, char *argv[]) > argv += retval; > > /* get total number of ports */ > - total_ports = rte_eth_dev_count(); > + total_ports = rte_eth_dev_count_avail(); > > /* set up array for port data */ > mz = rte_memzone_lookup(MZ_PORT_INFO); >