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 C3B447CDA for ; Wed, 13 Feb 2019 08:31:18 +0100 (CET) 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 x1D7VHHY008399; Wed, 13 Feb 2019 16:31:17 +0900 Received: from vc2.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id B1355638E12; Wed, 13 Feb 2019 16:31:17 +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 A38B3638C17; Wed, 13 Feb 2019 16:31:17 +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 92CC74006B5; Wed, 13 Feb 2019 16:31:17 +0900 (JST) References: <201902080847.x188lr06021607@imss03.silk.ntt-tx.co.jp> From: Yasufumi Ogawa Message-ID: <850e010f-8c66-d982-a80b-15afcda9e4e7@lab.ntt.co.jp> Date: Wed, 13 Feb 2019 16:29:07 +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: <201902080847.x188lr06021607@imss03.silk.ntt-tx.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: x-fn-spp@sl.ntt-tx.co.jp Cc: ferruh.yigit@intel.com, spp@dpdk.org X-TM-AS-MML: disable Subject: Re: [spp] [PATCH 0/4] correctly allocate ring resource 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: Wed, 13 Feb 2019 07:31:20 -0000 On 2019/02/08 17:47, x-fn-spp@sl.ntt-tx.co.jp wrote: > From: Hideyuki Yamashita > >>>From 18.08.1, there is a problem that ring status is not shown > correctly when adding ring second time. > It is because how to handle delete ring request from user is wrong. > To resolve, this patch provides the following for spp_nfv > - Replace handling of delete ring request with rte_eth_dev_stop() and > rte_eth_dev_close() > - Add existence check of DPDK port when adding ring > > This patch series also provides fix for spp_vf and spp_pcap because > a problem which is caused by incorrect allocation of ring resource exists.. > > Note: this patch set relies on another patch set > "introduce new feature SPP PCAP". Series of patches applied, thanks. > > Hideyuki Yamashita (4): > shared: fix trying to create ring already exist > spp_nfv: fix incorrect deleting for ring port > spp_vf: fix trying to create ring already exist > spp_pcap: fix trying to create ring already exist > > src/nfv/commands.h | 3 ++- > src/pcap/spp_proc.c | 17 ++++++++++++++++- > src/shared/secondary/add_port.c | 21 ++++++++++++++++----- > src/vf/common/spp_proc.c | 17 ++++++++++++++++- > 4 files changed, 50 insertions(+), 8 deletions(-) > -- Yasufumi Ogawa NTT Network Service Systems Labs