]> git.droids-corp.org - dpdk.git/commitdiff
eal: remove zombie symbols
authorThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 15 Dec 2015 09:26:20 +0000 (10:26 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 15 Dec 2015 12:50:42 +0000 (13:50 +0100)
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 <thomas.monjalon@6wind.com>
doc/guides/sample_app_ug/exception_path.rst
doc/guides/sample_app_ug/ip_reassembly.rst
doc/guides/sample_app_ug/kernel_nic_interface.rst
doc/guides/sample_app_ug/l3_forward.rst
examples/l3fwd-power/main.c
lib/librte_eal/bsdapp/eal/rte_eal_version.map
lib/librte_eal/linuxapp/eal/rte_eal_version.map

index 3cc7cbe798688745d2ddba13739fd66132e9fe7f..c3f8f88ee0dd8b6f46ae1519842fcf96e3ed7658 100644 (file)
@@ -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;
     }
index 050802adcc8bd6954d20c37c0e4762a6d4b05a09..6bf59380eaa43d5edf33b9b83fb0e54bace813d2 100644 (file)
@@ -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) {
index c8fc10a757593b6e8f42a3673ba4a1bdcc53d60f..985c664d6a8db01092d7c5747291155406261e14 100644 (file)
@@ -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) {
index 34a84f15432792498b79b2de39d969155acb89b9..4ce734bc251e2c45977f886689ee29a69e7f22e8 100644 (file)
@@ -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);
 
index 9175989abdb849cc1cbd59fceab8256ea7890476..828c18a6656aaed0d85745ddfb6e9226849d52c7 100644 (file)
@@ -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] =
index 7a8838710ff3db6241764681d80609b0253fc09f..9d7adf1c2a06fe66ded69b120f184642e5a41abd 100644 (file)
@@ -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: *;
 };
index 828496f3b9ad7f9f8a7ca1a8315ce99f8230ba2e..cbe175f402c0c3d227158dc43ab0e5fe54d36cff 100644 (file)
@@ -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: *;
 };