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 AFFEE1B955 for ; Fri, 11 Jan 2019 05:30:12 +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 x0B4U9Y2027572; Fri, 11 Jan 2019 13:30:10 +0900 Received: (from root@localhost) by gwchk03.silk.ntt-tx.co.jp (unknown) id x0B4U8GT000482; Fri, 11 Jan 2019 13:30:08 +0900 Received: from gwchk.silk.ntt-tx.co.jp [10.107.0.110] by gwchk03.silk.ntt-tx.co.jp with ESMTP id PAA31917; Fri, 11 Jan 2019 13:27:43 +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 x0B4RhLp023484; Fri, 11 Jan 2019 13:27:43 +0900 Received: from mgate02.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 x0B4Rh3x023480; Fri, 11 Jan 2019 13:27:43 +0900 Message-Id: <201901110427.x0B4Rh3x023480@imss03.silk.ntt-tx.co.jp> Received: from localhost by mgate02.silk.ntt-tx.co.jp (unknown) id x0B4RhRT008276 ; Fri, 11 Jan 2019 13:27:43 +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, 11 Jan 2019 13:27:40 +0900 X-Mailer: git-send-email 2.18.0 X-TM-AS-MML: No Subject: [spp] [PATCH 0/3] Fix slow response of command in spp_vf and spp_mirror 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, 11 Jan 2019 04:30:13 -0000 From: Hideyuki Yamashita This series of patches is to fix slow response of spp_vf and spp_mirror. It is because sleep(1) after accepting command is too long. To fix the problem, it is replaced with usleep(100) for making a response in a reasonable short time. Hideyuki Yamashita (3): spp_vf: add sleep after disconnect detection spp_vf: improve command response time spp_mirror: improve command response time src/mirror/spp_mirror.c | 7 +++++-- src/vf/common/command_proc.c | 8 +++++--- src/vf/spp_vf.c | 7 ++++++- 3 files changed, 16 insertions(+), 6 deletions(-) -- 2.17.1