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 CD25CA2EEB for ; Thu, 12 Sep 2019 12:48:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B85441E933; Thu, 12 Sep 2019 12:48:33 +0200 (CEST) Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by dpdk.org (Postfix) with ESMTP id A6A5A1E933 for ; Thu, 12 Sep 2019 12:48:31 +0200 (CEST) Received: by mail-pf1-f195.google.com with SMTP id r12so15793776pfh.1 for ; Thu, 12 Sep 2019 03:48:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=MNR+QL5aoDVnTNQfDrBjRaZBsQ+Pr0pgsh4SG6TYOjw=; b=ck7xK1JcUjBERmyZFG9CXrCWKzwds1S5dz433ABE7YCOUE2lWjkWrzyd78OqOS7UlM IfYZO5KOj0m99eKHoR4AQ3IRvhKWuPhcYcrsz5bkz1mpqSYlFdjHaTcuX1+CexAfQSox wr4x2m2Y3aK5gl2Ru9clgrGjKB7SNRGD7/XD3hOtWBh6TfJnnJ+1uGNXtHgbNWveOPEk vZEZTjWk9ZIgVfqEOoUsmtDmmQ3+cRFza5ENngv/gzSMLPXcnRrZ2O9dSZB/gKnBqsJQ 5hE6OItPiA/NkIuEswa9AvqvmSEbKk6xRsDYfHhKNFjFn2giKha1Xs3O7mP5Tt+s6u9+ T0UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=MNR+QL5aoDVnTNQfDrBjRaZBsQ+Pr0pgsh4SG6TYOjw=; b=tMjZcdXvbzuNH3h9JHPjHT67QrvL6+hjz/0tkR7OY8xIa1QVl/zopwJpZAWRcekSLY 3PTIJ1LWJC8Qq4lWHRRQF8tfsJFHJz6rneB11UDbtzpjqyLoerp7b9WVXgYnZ4mlzVwt HJ/6Vw/AWnNuGvdKRRR2KAVlqLBpgi6MTefzXjA++hY6+g0sN5t+YALXZOz1Y1SgCYa3 jhMgSAe8Vpc1c0ZiE2OAdo39yOxReEpNa6EP5lWy6lReeU+FpS4i3vZpySXaHxvr9bby FHF4RXxSceDxBoZErZ9SlUqz8TJ2Tcorz65Fg90whSdEKLi8Wxu9jRLUKceKZgcvHYQ5 KQfw== X-Gm-Message-State: APjAAAWLP7bJqtNFKl6u0tz3Acac+5Jp3QZQ2iuB85ez2ZUHTBIbvolL 7zZGyAPBRywCAdS4cNQCoZ7mwphr X-Google-Smtp-Source: APXvYqy0BaACED9ni+KutjmkA9m/5qdANiHeLi4hGw1tGE4ucQCGw/B7qx8Kh/5JPB+k/YCHjYN8jg== X-Received: by 2002:a63:f304:: with SMTP id l4mr37330899pgh.66.1568285310720; Thu, 12 Sep 2019 03:48:30 -0700 (PDT) Received: from localhost.localdomain ([192.47.164.146]) by smtp.gmail.com with ESMTPSA id t3sm26034930pfe.7.2019.09.12.03.48.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Sep 2019 03:48:30 -0700 (PDT) From: yasufum.o@gmail.com To: spp@dpdk.org, ferruh.yigit@intel.com, yasufum.o@gmail.com Date: Thu, 12 Sep 2019 19:48:16 +0900 Message-Id: <20190912104824.21519-2-yasufum.o@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190912104824.21519-1-yasufum.o@gmail.com> References: <20190912104824.21519-1-yasufum.o@gmail.com> Subject: [spp] [PATCH 1/9] shared: rename file ringlatencystats to be short 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: Yasufumi Ogawa Filename of `ringlatencystats.c` and its header is not understandable because it is too long and has no separators. `latency_stats` is enough for the usage and no need to add `ring` explicitly. Signed-off-by: Yasufumi Ogawa --- src/mirror/Makefile | 2 +- src/mirror/spp_mirror.c | 2 +- src/pcap/Makefile | 2 +- src/pcap/spp_pcap.c | 2 +- .../spp_worker_th/{ringlatencystats.c => latency_stats.c} | 2 +- .../spp_worker_th/{ringlatencystats.h => latency_stats.h} | 0 src/shared/secondary/spp_worker_th/port_capability.c | 2 +- src/vf/Makefile | 2 +- src/vf/classifier.c | 2 +- src/vf/forwarder.c | 2 +- src/vf/spp_vf.c | 2 +- 11 files changed, 10 insertions(+), 10 deletions(-) rename src/shared/secondary/spp_worker_th/{ringlatencystats.c => latency_stats.c} (99%) rename src/shared/secondary/spp_worker_th/{ringlatencystats.h => latency_stats.h} (100%) diff --git a/src/mirror/Makefile b/src/mirror/Makefile index ed2cb33..0adab15 100644 --- a/src/mirror/Makefile +++ b/src/mirror/Makefile @@ -26,7 +26,7 @@ SRCS-y += $(SPP_WKT_DIR)/port_capability.c SRCS-y += $(SPP_WKT_DIR)/conn_spp_ctl.c SRCS-y += $(SPP_WKT_DIR)/cmd_parser.c SRCS-y += $(SPP_WKT_DIR)/cmd_runner.c -SRCS-y += $(SPP_WKT_DIR)/ringlatencystats.c +SRCS-y += $(SPP_WKT_DIR)/latency_stats.c SRCS-y += $(SPP_WKT_DIR)/cmd_res_formatter.c CFLAGS += -DALLOW_EXPERIMENTAL_API diff --git a/src/mirror/spp_mirror.c b/src/mirror/spp_mirror.c index 0ace09c..40fbc6f 100644 --- a/src/mirror/spp_mirror.c +++ b/src/mirror/spp_mirror.c @@ -21,7 +21,7 @@ #include "shared/secondary/spp_worker_th/port_capability.h" #ifdef SPP_RINGLATENCYSTATS_ENABLE -#include "shared/secondary/spp_worker_th/ringlatencystats.h" +#include "shared/secondary/spp_worker_th/latency_stats.h" #endif /* Declare global variables */ diff --git a/src/pcap/Makefile b/src/pcap/Makefile index 5e6f0a6..b2ed5f0 100644 --- a/src/pcap/Makefile +++ b/src/pcap/Makefile @@ -24,7 +24,7 @@ SRCS-y += $(SPP_SEC_DIR)/utils.c SRCS-y += $(SPP_SEC_DIR)/string_buffer.c SRCS-y += $(SPP_WKT_DIR)/conn_spp_ctl.c SRCS-y += $(SPP_WKT_DIR)/port_capability.c -SRCS-y += $(SPP_WKT_DIR)/ringlatencystats.c +SRCS-y += $(SPP_WKT_DIR)/latency_stats.c CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += $(WERROR_FLAGS) -O3 -MMD diff --git a/src/pcap/spp_pcap.c b/src/pcap/spp_pcap.c index ac87bd3..ab4d796 100644 --- a/src/pcap/spp_pcap.c +++ b/src/pcap/spp_pcap.c @@ -24,7 +24,7 @@ #include "shared/secondary/spp_worker_th/port_capability.h" #ifdef SPP_RINGLATENCYSTATS_ENABLE -#include "shared/secondary/spp_worker_th/ringlatencystats.h" +#include "shared/secondary/spp_worker_th/latency_stats.h" #endif /* Declare global variables */ diff --git a/src/shared/secondary/spp_worker_th/ringlatencystats.c b/src/shared/secondary/spp_worker_th/latency_stats.c similarity index 99% rename from src/shared/secondary/spp_worker_th/ringlatencystats.c rename to src/shared/secondary/spp_worker_th/latency_stats.c index b0f2080..7ca7385 100644 --- a/src/shared/secondary/spp_worker_th/ringlatencystats.c +++ b/src/shared/secondary/spp_worker_th/latency_stats.c @@ -14,7 +14,7 @@ #include #include -#include "ringlatencystats.h" +#include "latency_stats.h" #include "cmd_utils.h" #include "port_capability.h" #include "../return_codes.h" diff --git a/src/shared/secondary/spp_worker_th/ringlatencystats.h b/src/shared/secondary/spp_worker_th/latency_stats.h similarity index 100% rename from src/shared/secondary/spp_worker_th/ringlatencystats.h rename to src/shared/secondary/spp_worker_th/latency_stats.h diff --git a/src/shared/secondary/spp_worker_th/port_capability.c b/src/shared/secondary/spp_worker_th/port_capability.c index d4276f1..e90fd0b 100644 --- a/src/shared/secondary/spp_worker_th/port_capability.c +++ b/src/shared/secondary/spp_worker_th/port_capability.c @@ -12,7 +12,7 @@ #include "shared/secondary/return_codes.h" #ifdef SPP_RINGLATENCYSTATS_ENABLE -#include "ringlatencystats.h" +#include "latency_stats.h" #endif /** diff --git a/src/vf/Makefile b/src/vf/Makefile index 784d636..742986c 100644 --- a/src/vf/Makefile +++ b/src/vf/Makefile @@ -20,7 +20,7 @@ SRCS-y += $(SPP_SEC_DIR)/string_buffer.c SRCS-y += $(SPP_SEC_DIR)/json_helper.c SRCS-y += $(SPP_SEC_DIR)/common.c SRCS-y += $(SPP_SEC_DIR)/utils.c $(SPP_SEC_DIR)/add_port.c -SRCS-y += $(SPP_WKT_DIR)/ringlatencystats.c +SRCS-y += $(SPP_WKT_DIR)/latency_stats.c SRCS-y += $(SPP_WKT_DIR)/port_capability.c SRCS-y += $(SPP_WKT_DIR)/conn_spp_ctl.c SRCS-y += $(SPP_WKT_DIR)/cmd_parser.c diff --git a/src/vf/classifier.c b/src/vf/classifier.c index 375f710..fa47ed7 100644 --- a/src/vf/classifier.c +++ b/src/vf/classifier.c @@ -30,7 +30,7 @@ #include "shared/secondary/spp_worker_th/port_capability.h" #ifdef SPP_RINGLATENCYSTATS_ENABLE -#include "shared/secondary/spp_worker_th/ringlatencystats.h" +#include "shared/secondary/spp_worker_th/latency_stats.h" #endif #define RTE_LOGTYPE_VF_CLS RTE_LOGTYPE_USER1 diff --git a/src/vf/forwarder.c b/src/vf/forwarder.c index 3e98526..04bf5c3 100644 --- a/src/vf/forwarder.c +++ b/src/vf/forwarder.c @@ -10,7 +10,7 @@ #include "shared/secondary/spp_worker_th/port_capability.h" #ifdef SPP_RINGLATENCYSTATS_ENABLE -#include "shared/secondary/spp_worker_th/ringlatencystats.h" +#include "shared/secondary/spp_worker_th/latency_stats.h" #endif #define RTE_LOGTYPE_FORWARD RTE_LOGTYPE_USER1 diff --git a/src/vf/spp_vf.c b/src/vf/spp_vf.c index d6e6309..f843332 100644 --- a/src/vf/spp_vf.c +++ b/src/vf/spp_vf.c @@ -20,7 +20,7 @@ #define RTE_LOGTYPE_SPP_VF RTE_LOGTYPE_USER1 #ifdef SPP_RINGLATENCYSTATS_ENABLE -#include "shared/secondary/spp_worker_th/ringlatencystats.h" +#include "shared/secondary/spp_worker_th/latency_stats.h" #endif /* getopt_long return value for long option */ -- 2.17.1