From c6a7e8224dd9faff9120be8814638fe939570908 Mon Sep 17 00:00:00 2001
From: Caohongtao <caohongtao_yewu@cmss.chinamobile.com>
Date: Thu, 4 Jan 2024 09:34:04 +0000
Subject: [PATCH] update src/common/dpdk_common.c.

Signed-off-by: Caohongtao <caohongtao_yewu@cmss.chinamobile.com>
---
 src/common/dpdk_common.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/common/dpdk_common.c b/src/common/dpdk_common.c
index 50f0bf0..62278c2 100644
--- a/src/common/dpdk_common.c
+++ b/src/common/dpdk_common.c
@@ -65,13 +65,13 @@ static int32_t kni_config_network_interface(uint16_t port_id, uint8_t if_up)
                 g_bond_dev_started = true;
             }
         } else {
-            COMMON_INFO("trying to start a started dev. \n");
+            COMMON_INFO("Trying to start a started dev. \n");
         }
     } else {  /* Configure network interface down */
         if (g_kni_started) {
             g_kni_started = false;
         } else {
-            COMMON_INFO("trying to stop a stopped dev. \n");
+            COMMON_INFO("Trying to stop a stopped dev. \n");
         }
     }
 
@@ -154,7 +154,7 @@ void eth_params_checksum(struct rte_eth_conf *conf, struct rte_eth_dev_info *dev
     conf->rxmode.offloads = rx_ol;
     conf->txmode.offloads = tx_ol;
 
-    COMMON_INFO("set checksum offloads\n");
+    COMMON_INFO("Set checksum offloads\n");
 }
 
 int32_t dpdk_kni_init(uint16_t port, struct rte_mempool *pool)
@@ -179,14 +179,14 @@ int32_t dpdk_kni_init(uint16_t port, struct rte_mempool *pool)
 
     ret = snprintf_s(conf.name, RTE_KNI_NAMESIZE, RTE_KNI_NAMESIZE - 1, "%s", GAZELLE_KNI_NAME);
     if (ret < 0) {
-        COMMON_ERR("snprintf_s failed. ret=%d\n", ret);
+        COMMON_ERR("Snprintf_s failed. ret=%d\n", ret);
         return -1;
     }
     conf.mbuf_size = GAZELLE_MAX_PKT_SZ;
     conf.group_id = port;
 
     if (rte_eth_dev_info_get(port, &dev_info) != 0) {
-        COMMON_ERR("Fail rte_eth_dev_info_get\n");
+        COMMON_ERR("Failed rte_eth_dev_info_get\n");
         return -1;
     }
 
@@ -204,7 +204,7 @@ int32_t dpdk_kni_init(uint16_t port, struct rte_mempool *pool)
     ops.port_id = port;
     g_pkni = rte_kni_alloc(pool, &conf, &ops);
     if (g_pkni == NULL) {
-        COMMON_ERR("Fail to create kni for port: %hu \n", port);
+        COMMON_ERR("Failed to create kni for port: %hu \n", port);
         return -1;
     }
     return 0;
-- 
2.33.0

