From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 708272EDA for ; Tue, 15 Dec 2015 11:48:36 +0100 (CET) Received: by mail-wm0-f51.google.com with SMTP id n186so19332191wmn.0 for ; Tue, 15 Dec 2015 02:48:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=OnOSVgr/tMakDszq4Kma1YGBpcwQ6FWNswT9oQWqd+o=; b=VzGRcVCUwpYWJjx4b4Lqw68eQUoRMNmH0z9Ej0MgLM8m2xrmJqLlyCE6jFRJyEV8cJ 8y7SN/aS8154dM2HXM0lh3yFO8YGbAoSyAFa+368QZRvtz/XvNyleQkRl/spIAWnqGrF Ig8V9PtDYw+VdE97qaqlq0XX2EF3qwejlsM0kN7wAIYtczsKWUpTf+4jqX/1eGNY8n8s ZsnLm4wSOEwj1Y6i2urdMESC7HQO64SCDT2MOqmmtCezI0GgT3KXEeBgs4aPq1HqwUTe Ge0Qhsl4yp2Gg3H6rDdmRINAnBXDY8GMq68ZtMvAS9RBUBdmIlycSf5GVCpIga3mKPWo ps9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=OnOSVgr/tMakDszq4Kma1YGBpcwQ6FWNswT9oQWqd+o=; b=J1cYHVkUf9qhAReKki62MZFdgrQm9nJEGljHh3L2FjPD7h4xkEq2jee6v7FeEyF8+6 PWMOZzxNh2Swcj7y6Qbaxi87tuil1qrRtJGDx2cn7w3sNJ/Mu8genrk+D5vIicojuRsI KHKnv3NoIB1Xt6ZmMRfg0BUSUFhSJzV+djidDu+k5vYpnwNCxn02mayYt0b1BeLJ+irn McyrNJ5BLvGQpIs7vkGc/gUJgikDTMcV2MDXPGUuCmCcTupcYDfv+sRj0C08XOP/E4BR QMjfUL4WR6fsiuLJPaXl8fJfZ5opsu5rvQR5cbGtA16mESIYADfbnWXJ3Y3kX+3GBp05 I9QA== X-Gm-Message-State: ALoCoQnrq+TRGJXUYj0uq40RS4E/j24P6+83O28TekZru+xvvdGWrv/35XI5+/tvPSdYpO7P93GH+Ngv5epQochfhQ3vNJP8ug== X-Received: by 10.194.202.163 with SMTP id kj3mr41597540wjc.93.1450176516324; Tue, 15 Dec 2015 02:48:36 -0800 (PST) Received: from XPS13.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id u4sm858892wjz.4.2015.12.15.02.48.35 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Dec 2015 02:48:35 -0800 (PST) From: Thomas Monjalon To: dev@dpdk.org Date: Tue, 15 Dec 2015 11:47:13 +0100 Message-Id: <1450176434-7213-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.5.2 Subject: [dpdk-dev] [PATCH 1/2] eal: remove zombie symbols 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: Tue, 15 Dec 2015 10:48:36 -0000 test_mp_secondary was initially added by mistake. rte_snprintf has been removed. Fixes: 9d41beed24b0 ("lib: provide initial versioning") Fixes: 3185322809c1 ("eal: remove rte_snprintf") Signed-off-by: Thomas Monjalon --- doc/guides/sample_app_ug/exception_path.rst | 2 +- doc/guides/sample_app_ug/ip_reassembly.rst | 2 +- doc/guides/sample_app_ug/kernel_nic_interface.rst | 6 +++--- doc/guides/sample_app_ug/l3_forward.rst | 2 +- examples/l3fwd-power/main.c | 4 ++-- lib/librte_eal/bsdapp/eal/rte_eal_version.map | 2 -- lib/librte_eal/linuxapp/eal/rte_eal_version.map | 2 -- 7 files changed, 8 insertions(+), 12 deletions(-) diff --git a/doc/guides/sample_app_ug/exception_path.rst b/doc/guides/sample_app_ug/exception_path.rst index 3cc7cbe..c3f8f88 100644 --- a/doc/guides/sample_app_ug/exception_path.rst +++ b/doc/guides/sample_app_ug/exception_path.rst @@ -173,7 +173,7 @@ The code for creating the TAP interface is as follows: } if (name) - rte_snprintf(name, IFNAMSIZ, ifr.ifr_name); + snprintf(name, IFNAMSIZ, ifr.ifr_name); return fd; } diff --git a/doc/guides/sample_app_ug/ip_reassembly.rst b/doc/guides/sample_app_ug/ip_reassembly.rst index 050802a..6bf5938 100644 --- a/doc/guides/sample_app_ug/ip_reassembly.rst +++ b/doc/guides/sample_app_ug/ip_reassembly.rst @@ -223,7 +223,7 @@ each RX queue uses its own mempool. nb_mbuf += RTE_TEST_RX_DESC_DEFAULT + RTE_TEST_TX_DESC_DEFAULT; nb_mbuf = RTE_MAX(nb_mbuf, (uint32_t)NB_MBUF); - rte_snprintf(buf, sizeof(buf), "mbuf_pool_%u_%u", lcore, queue); + snprintf(buf, sizeof(buf), "mbuf_pool_%u_%u", lcore, queue); if ((rxq->pool = rte_mempool_create(buf, nb_mbuf, MBUF_SIZE, 0, sizeof(struct rte_pktmbuf_pool_private), rte_pktmbuf_pool_init, NULL, rte_pktmbuf_init, NULL, socket, MEMPOOL_F_SP_PUT | MEMPOOL_F_SC_GET)) == NULL) { diff --git a/doc/guides/sample_app_ug/kernel_nic_interface.rst b/doc/guides/sample_app_ug/kernel_nic_interface.rst index c8fc10a..985c664 100644 --- a/doc/guides/sample_app_ug/kernel_nic_interface.rst +++ b/doc/guides/sample_app_ug/kernel_nic_interface.rst @@ -265,11 +265,11 @@ The code for allocating the kernel NIC interfaces for a specific port is as foll memset(&conf, 0, sizeof(conf)); if (params[port_id]->nb_lcore_k) { - rte_snprintf(conf.name, RTE_KNI_NAMESIZE, "vEth%u_%u", port_id, i); + snprintf(conf.name, RTE_KNI_NAMESIZE, "vEth%u_%u", port_id, i); conf.core_id = params[port_id]->lcore_k[i]; conf.force_bind = 1; } else - rte_snprintf(conf.name, RTE_KNI_NAMESIZE, "vEth%u", port_id); + snprintf(conf.name, RTE_KNI_NAMESIZE, "vEth%u", port_id); conf.group_id = (uint16_t)port_id; conf.mbuf_size = MAX_PACKET_SZ; @@ -352,7 +352,7 @@ The code is as follows: goto fail; } - rte_snprintf(s, sizeof(s), "%.*s", size, p); + snprintf(s, sizeof(s), "%.*s", size, p); nb_token = rte_strsplit(s, sizeof(s), str_fld, _NUM_FLD, ','); if (nb_token <= FLD_LCORE_TX) { diff --git a/doc/guides/sample_app_ug/l3_forward.rst b/doc/guides/sample_app_ug/l3_forward.rst index 34a84f1..4ce734b 100644 --- a/doc/guides/sample_app_ug/l3_forward.rst +++ b/doc/guides/sample_app_ug/l3_forward.rst @@ -233,7 +233,7 @@ The LPM object is created and loaded with the pre-configured entries read from a /* create the LPM table */ - rte_snprintf(s, sizeof(s), "IPV4_L3FWD_LPM_%d", socketid); + snprintf(s, sizeof(s), "IPV4_L3FWD_LPM_%d", socketid); ipv4_l3fwd_lookup_struct[socketid] = rte_lpm_create(s, socketid, IPV4_L3FWD_LPM_MAX_RULES, 0); diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c index 9175989..828c18a 100644 --- a/examples/l3fwd-power/main.c +++ b/examples/l3fwd-power/main.c @@ -1373,7 +1373,7 @@ setup_hash(int socketid) char s[64]; /* create ipv4 hash */ - rte_snprintf(s, sizeof(s), "ipv4_l3fwd_hash_%d", socketid); + snprintf(s, sizeof(s), "ipv4_l3fwd_hash_%d", socketid); ipv4_l3fwd_hash_params.name = s; ipv4_l3fwd_hash_params.socket_id = socketid; ipv4_l3fwd_lookup_struct[socketid] = @@ -1383,7 +1383,7 @@ setup_hash(int socketid) "socket %d\n", socketid); /* create ipv6 hash */ - rte_snprintf(s, sizeof(s), "ipv6_l3fwd_hash_%d", socketid); + snprintf(s, sizeof(s), "ipv6_l3fwd_hash_%d", socketid); ipv6_l3fwd_hash_params.name = s; ipv6_l3fwd_hash_params.socket_id = socketid; ipv6_l3fwd_lookup_struct[socketid] = diff --git a/lib/librte_eal/bsdapp/eal/rte_eal_version.map b/lib/librte_eal/bsdapp/eal/rte_eal_version.map index 7a88387..9d7adf1 100644 --- a/lib/librte_eal/bsdapp/eal/rte_eal_version.map +++ b/lib/librte_eal/bsdapp/eal/rte_eal_version.map @@ -94,7 +94,6 @@ DPDK_2.0 { rte_set_application_usage_hook; rte_set_log_level; rte_set_log_type; - rte_snprintf; rte_socket_id; rte_strerror; rte_strsplit; @@ -106,7 +105,6 @@ DPDK_2.0 { rte_xen_dom0_memory_init; rte_zmalloc; rte_zmalloc_socket; - test_mp_secondary; local: *; }; diff --git a/lib/librte_eal/linuxapp/eal/rte_eal_version.map b/lib/librte_eal/linuxapp/eal/rte_eal_version.map index 828496f..cbe175f 100644 --- a/lib/librte_eal/linuxapp/eal/rte_eal_version.map +++ b/lib/librte_eal/linuxapp/eal/rte_eal_version.map @@ -94,7 +94,6 @@ DPDK_2.0 { rte_set_application_usage_hook; rte_set_log_level; rte_set_log_type; - rte_snprintf; rte_socket_id; rte_strerror; rte_strsplit; @@ -106,7 +105,6 @@ DPDK_2.0 { rte_xen_dom0_memory_init; rte_zmalloc; rte_zmalloc_socket; - test_mp_secondary; local: *; }; -- 2.5.2