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 7DD1BA0527 for ; Thu, 9 Jul 2020 07:30:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6CDD71DAF5; Thu, 9 Jul 2020 07:30:32 +0200 (CEST) Received: from dish-sg.nttdocomo.co.jp (dish-sg.nttdocomo.co.jp [202.19.227.74]) by dpdk.org (Postfix) with ESMTP id C6EF41DA91 for ; Thu, 9 Jul 2020 07:30:31 +0200 (CEST) X-dD-Source: Outbound Received: from zssg-mailmd101.ddreams.local (zssg-mailmd900.ddreams.local [10.160.172.63]) by zssg-mailou103.ddreams.local (Postfix) with ESMTP id 193EE12012F; Thu, 9 Jul 2020 14:30:31 +0900 (JST) Received: from zssg-mailmf103.ddreams.local (zssg-mailmf900.ddreams.local [10.160.172.84]) by zssg-mailmd101.ddreams.local (dDREAMS) with ESMTP id <0QD600PB9SMUQIC0@dDREAMS>; Thu, 09 Jul 2020 14:30:30 +0900 (JST) Received: from zssg-mailmf103.ddreams.local (unknown [127.0.0.1]) by zssg-mailmf103.ddreams.local (Postfix) with ESMTP id EB2857E6038; Thu, 9 Jul 2020 14:30:30 +0900 (JST) Received: from zssg-mailmf103.ddreams.local (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E99E28E6058; Thu, 9 Jul 2020 14:30:30 +0900 (JST) Received: from localhost (unknown [127.0.0.1]) by IMSVA (Postfix) with SMTP id E82B68E6054; Thu, 9 Jul 2020 14:30:30 +0900 (JST) X-IMSS-HAND-OFF-DIRECTIVE: localhost:10026 Received: from zssg-mailmf103.ddreams.local (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E4BF68E6058; Thu, 9 Jul 2020 14:30:29 +0900 (JST) Received: from davinci.ntt-tx.co.jp (unknown [10.160.183.139]) by zssg-mailmf103.ddreams.local (Postfix) with ESMTP; Thu, 9 Jul 2020 14:30:29 +0900 (JST) From: x-fn-spp-ml@ntt-tx.co.jp To: spp@dpdk.org, yasufum.o@gmail.com Date: Thu, 09 Jul 2020 14:30:24 +0900 Message-id: <20200709053026.21265-4-x-fn-spp-ml@ntt-tx.co.jp> X-Mailer: git-send-email 2.25.1 In-reply-to: <20200622011854.8059-1-x-fn-spp-ml@ntt-tx.co.jp> References: <20200622011854.8059-1-x-fn-spp-ml@ntt-tx.co.jp> MIME-version: 1.0 Content-transfer-encoding: 8bit X-TM-AS-GCONF: 00 Subject: [spp] [PATCH v2 3/5] spp_pcap: remove ringlatency stats functionality 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: , Errors-To: spp-bounces@dpdk.org Sender: "spp" From: Hideyuki Yamashita This patch tries to remove ringlatency stats functionality. Signed-off-by: Hideyuki Yamashita Signed-off-by: Naoki Takada --- src/pcap/spp_pcap.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/pcap/spp_pcap.c b/src/pcap/spp_pcap.c index 1f20e1e..5bb987f 100644 --- a/src/pcap/spp_pcap.c +++ b/src/pcap/spp_pcap.c @@ -23,9 +23,6 @@ #include "shared/secondary/utils.h" #include "shared/secondary/spp_worker_th/port_capability.h" -#ifdef SPP_RINGLATENCYSTATS_ENABLE -#include "shared/secondary/spp_worker_th/latency_stats.h" -#endif /* Declare global variables */ #define RTE_LOGTYPE_SPP_PCAP RTE_LOGTYPE_USER2 @@ -847,13 +844,8 @@ static int pcap_proc_receive(int lcore_id) /* Receive packets */ rx = &g_pcap_option.port_cap; -#ifdef SPP_RINGLATENCYSTATS_ENABLE - nb_rx = sppwk_eth_ring_stats_rx_burst(rx->ethdev_port_id, - rx->iface_type, rx->iface_no, 0, bufs, MAX_PCAP_BURST); -#else nb_rx = rte_eth_rx_burst(rx->ethdev_port_id, rx->queue_no, bufs, MAX_PCAP_BURST); -#endif if (unlikely(nb_rx == 0)) return SPPWK_RET_OK; -- 2.17.1