From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 439E4688E for ; Fri, 26 Aug 2016 13:25:18 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 26 Aug 2016 04:25:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,580,1464678000"; d="scan'208";a="1031640490" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga001.fm.intel.com with ESMTP; 26 Aug 2016 04:25:16 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id u7QBPGDR031509 for ; Fri, 26 Aug 2016 12:25:16 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id u7QBPFuA009154 for ; Fri, 26 Aug 2016 12:25:15 +0100 Received: (from fyigit@localhost) by sivswdev02.ir.intel.com with id u7QBPFCY009150 for dev@dpdk.org; Fri, 26 Aug 2016 12:25:15 +0100 X-Authentication-Warning: sivswdev02.ir.intel.com: fyigit set sender to ferruh.yigit@intel.com using -f From: Ferruh Yigit To: dev@dpdk.org Date: Fri, 26 Aug 2016 12:17:58 +0100 Message-Id: <1472210279-8286-22-git-send-email-ferruh.yigit@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1472210279-8286-1-git-send-email-ferruh.yigit@intel.com> References: <1472210279-8286-1-git-send-email-ferruh.yigit@intel.com> Subject: [dpdk-dev] [PATCH 21/22] net/pcap: remove rte prefix from static functions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2016 11:25:18 -0000 Signed-off-by: Ferruh Yigit --- drivers/net/pcap/rte_eth_pcap.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/net/pcap/rte_eth_pcap.c b/drivers/net/pcap/rte_eth_pcap.c index 1716512..782ee4d 100644 --- a/drivers/net/pcap/rte_eth_pcap.c +++ b/drivers/net/pcap/rte_eth_pcap.c @@ -785,7 +785,7 @@ open_tx_iface(const char *key, const char *value, void *extra_args) } static int -rte_pmd_init_internals(const char *name, const unsigned nb_rx_queues, +pmd_init_internals(const char *name, const unsigned nb_rx_queues, const unsigned nb_tx_queues, struct pmd_internals **internals, struct rte_eth_dev **eth_dev) { @@ -848,7 +848,7 @@ error: } static int -rte_eth_from_pcaps_common(const char *name, struct pmd_devargs *rx_queues, +eth_from_pcaps_common(const char *name, struct pmd_devargs *rx_queues, const unsigned nb_rx_queues, struct pmd_devargs *tx_queues, const unsigned nb_tx_queues, struct rte_kvargs *kvlist, struct pmd_internals **internals, struct rte_eth_dev **eth_dev) @@ -863,7 +863,7 @@ rte_eth_from_pcaps_common(const char *name, struct pmd_devargs *rx_queues, if (tx_queues == NULL && nb_tx_queues > 0) return -1; - if (rte_pmd_init_internals(name, nb_rx_queues, nb_tx_queues, internals, + if (pmd_init_internals(name, nb_rx_queues, nb_tx_queues, internals, eth_dev) < 0) return -1; @@ -901,7 +901,7 @@ rte_eth_from_pcaps_common(const char *name, struct pmd_devargs *rx_queues, } static int -rte_eth_from_pcaps(const char *name, struct pmd_devargs *rx_queues, +eth_from_pcaps(const char *name, struct pmd_devargs *rx_queues, const unsigned nb_rx_queues, struct pmd_devargs *tx_queues, const unsigned nb_tx_queues, struct rte_kvargs *kvlist, int single_iface, unsigned int using_dumpers) @@ -910,7 +910,7 @@ rte_eth_from_pcaps(const char *name, struct pmd_devargs *rx_queues, struct rte_eth_dev *eth_dev = NULL; int ret; - ret = rte_eth_from_pcaps_common(name, rx_queues, nb_rx_queues, + ret = eth_from_pcaps_common(name, rx_queues, nb_rx_queues, tx_queues, nb_tx_queues, kvlist, &internals, ð_dev); if (ret < 0) @@ -930,7 +930,7 @@ rte_eth_from_pcaps(const char *name, struct pmd_devargs *rx_queues, } static int -rte_pmd_pcap_devinit(const char *name, const char *params) +pmd_pcap_devinit(const char *name, const char *params) { unsigned int is_rx_pcap = 0, is_tx_pcap = 0; struct rte_kvargs *kvlist; @@ -1019,7 +1019,7 @@ rte_pmd_pcap_devinit(const char *name, const char *params) goto free_kvlist; create_eth: - ret = rte_eth_from_pcaps(name, &pcaps, pcaps.num_of_queue, &dumpers, + ret = eth_from_pcaps(name, &pcaps, pcaps.num_of_queue, &dumpers, dumpers.num_of_queue, kvlist, single_iface, is_tx_pcap); free_kvlist: @@ -1029,7 +1029,7 @@ free_kvlist: } static int -rte_pmd_pcap_devuninit(const char *name) +pmd_pcap_devuninit(const char *name) { struct rte_eth_dev *eth_dev = NULL; @@ -1054,8 +1054,8 @@ rte_pmd_pcap_devuninit(const char *name) static struct rte_driver pmd_pcap_drv = { .type = PMD_VDEV, - .init = rte_pmd_pcap_devinit, - .uninit = rte_pmd_pcap_devuninit, + .init = pmd_pcap_devinit, + .uninit = pmd_pcap_devuninit, }; PMD_REGISTER_DRIVER(pmd_pcap_drv, eth_pcap); -- 2.7.4