[spp] [PATCH 53/57] spp_vf: correct typo of function name
x-fn-spp at sl.ntt-tx.co.jp
x-fn-spp at sl.ntt-tx.co.jp
Thu Dec 28 05:56:00 CET 2017
From: Hiroyuki Nakamura <nakamura.hioryuki at po.ntt-tx.co.jp>
Change 'set_form_proc_info' to 'set_from_proc_info'.
Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi at lab.ntt.co.jp>
---
src/vf/spp_vf.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/vf/spp_vf.c b/src/vf/spp_vf.c
index 44cd720..c7268e5 100644
--- a/src/vf/spp_vf.c
+++ b/src/vf/spp_vf.c
@@ -452,10 +452,9 @@ init_core_info(void)
* Set properties of g_core_info from config
*
* TODO(yasufum) refactor, change if to iface.
- * TODO(yasufum) confirm meaning of funciton name and is typo ?
*/
static int
-set_form_proc_info(struct spp_config_area *config)
+set_from_proc_info(struct spp_config_area *config)
{
int core_cnt, rx_start, rx_cnt, tx_start, tx_cnt;
enum port_type if_type;
@@ -725,7 +724,7 @@ init_manage_data(struct spp_config_area *config)
init_core_info();
/* Load config for resource assingment and network configuration */
- int ret_proc = set_form_proc_info(config);
+ int ret_proc = set_from_proc_info(config);
if (unlikely(ret_proc != 0)) {
return -1;
}
--
1.9.1
More information about the spp
mailing list