From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail04.ics.ntt-tx.co.jp (mail05.ics.ntt-tx.co.jp [210.232.35.69]) by dpdk.org (Postfix) with ESMTP id 2EB031E2B for ; Fri, 8 Feb 2019 09:50:57 +0100 (CET) Received: from gwchk03.silk.ntt-tx.co.jp (gwchk03.silk.ntt-tx.co.jp [10.107.0.111]) by mail04.ics.ntt-tx.co.jp (unknown) with ESMTP id x188ouKf010231; Fri, 8 Feb 2019 17:50:57 +0900 Received: (from root@localhost) by gwchk03.silk.ntt-tx.co.jp (unknown) id x188ouPS027875; Fri, 8 Feb 2019 17:50:56 +0900 Received: from gwchk.silk.ntt-tx.co.jp [10.107.0.110] by gwchk03.silk.ntt-tx.co.jp with ESMTP id TAA26568; Fri, 8 Feb 2019 17:47:53 +0900 Received: from imss03.silk.ntt-tx.co.jp (localhost [127.0.0.1]) by imss03.silk.ntt-tx.co.jp (unknown) with ESMTP id x188lre3021611; Fri, 8 Feb 2019 17:47:53 +0900 Received: from mgate01.silk.ntt-tx.co.jp (smtp02.silk.ntt-tx.co.jp [10.107.0.37]) by imss03.silk.ntt-tx.co.jp (unknown) with ESMTP id x188lr06021607; Fri, 8 Feb 2019 17:47:53 +0900 Message-Id: <201902080847.x188lr06021607@imss03.silk.ntt-tx.co.jp> Received: from localhost by mgate01.silk.ntt-tx.co.jp (unknown) id x188lrsg006016 ; Fri, 8 Feb 2019 17:47:53 +0900 From: x-fn-spp@sl.ntt-tx.co.jp To: ferruh.yigit@intel.com, ogawa.yasufumi@lab.ntt.co.jp Cc: spp@dpdk.org Date: Fri, 8 Feb 2019 17:47:49 +0900 X-Mailer: git-send-email 2.18.0 X-TM-AS-MML: No Subject: [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: Fri, 08 Feb 2019 08:50:58 -0000 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". 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(-) -- 2.17.1