From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 244FCA10DA for ; Fri, 2 Aug 2019 11:34:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1D3171C23B; Fri, 2 Aug 2019 11:34:09 +0200 (CEST) Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by dpdk.org (Postfix) with ESMTP id D748B1C23B for ; Fri, 2 Aug 2019 11:34:07 +0200 (CEST) Received: by mail-pf1-f194.google.com with SMTP id y15so35753052pfn.5 for ; Fri, 02 Aug 2019 02:34:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=lpVG+ZPx6hV/k0IRVRfbxTVBCskpWPfwOiMYQyx2uhY=; b=u0GTdYs0BKEqHyld/VsgVZ3x3uZnrb8jlB6cf8W+FAq7h4tiQkZebLIFwqf+vIzN2x DMsTAwIfiA0qhcaAtJ2DQK1ivXPIGsb4jxFuASUc70oeu0c9adkCkOutDYz0jyGH5T+K tp3o8ztqEhhTlqFrm32VwCqRAovGFwVUa95rsuGjqeMpoGJTBLjLU8g77/r57rGwLaQU ZC4BpgB2ntjmbSEyLbso+tcm+kIZznwTOw8lVg2I4f8uVsveDypgyxn695Sd5SKesdvB 7Fel1vTcjTKByBpBZd8sBV+KnG9shxWdnU5EOejWPkMJ+UHdfDPsJATlumVHsZT4pfiU eMUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=lpVG+ZPx6hV/k0IRVRfbxTVBCskpWPfwOiMYQyx2uhY=; b=CKCb/DNrSZP0VvbPCAKH51FlO3oKdDEBrBYaH9opIPraiY7o91GVUeJ8SQugE7yvsq Pf1dxmGMDmP3qcCRAFfrxRCk++Pes1LKxRv7bsrjjwEsanYkLmf39h7S3/J8eHzzxuwy ma7xnT+419nlm2EJQbcgKGh07tKsDhRrWURO7GhgN/xlNJ0EUa12pVxwE0kIYRIW3hKI Gokn1z5Uz5pln8YMHSlx+7/M2fMfV8sdvnLZdkg65ujOGg9wuwyFpMz/pZVfllT5I5qY DCxeeWu4XxLUPThI8hYDqwx1SCZPxbCGJd4pF4nyhfscMVDFrJ6jfYthf1G46GSN2jp0 sNGA== X-Gm-Message-State: APjAAAU9IlSUeDduNPun7MGcMj95dw0DxCAuHTzinSqE09DeUuYs5s+l CPfkfaFdGEo22FJhgieHTspQWPRw X-Google-Smtp-Source: APXvYqzW7Yq2Eq6Wmjw1sBv5eeSz8TS8px6JasxK3l2rK5dTeI3LJcdW+GQ8gfIYZ2lYt9Z+Y0kMrg== X-Received: by 2002:a62:82c2:: with SMTP id w185mr60918583pfd.202.1564738447054; Fri, 02 Aug 2019 02:34:07 -0700 (PDT) Received: from localhost.localdomain ([2400:4050:c8c2:de00:9c1a:eba9:3129:63d2]) by smtp.gmail.com with ESMTPSA id n10sm1458509pgv.67.2019.08.02.02.34.05 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 02 Aug 2019 02:34:06 -0700 (PDT) From: Yasufumi Ogawa To: spp@dpdk.org, ferruh.yigit@intel.com, yasufum.o@gmail.com Date: Fri, 2 Aug 2019 18:33:54 +0900 Message-Id: <20190802093358.13696-3-yasufum.o@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190802093358.13696-1-yasufum.o@gmail.com> References: <20190802093358.13696-1-yasufum.o@gmail.com> Subject: [spp] [PATCH 2/6] spp_vf: rename func spp_classifier_mac_init X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spp-bounces@dpdk.org Sender: "spp" This update is to rename spp_classifier_mac_init() to init_cls_mng_info() because this function is just to initialize management info with memset(). Signed-off-by: Yasufumi Ogawa --- src/vf/classifier.c | 2 +- src/vf/classifier.h | 2 +- src/vf/spp_vf.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vf/classifier.c b/src/vf/classifier.c index 49c7d01..be50916 100644 --- a/src/vf/classifier.c +++ b/src/vf/classifier.c @@ -703,7 +703,7 @@ change_classifier_index(struct management_info *mng_info, int id) /* classifier(mac address) initialize globals. */ int -spp_classifier_mac_init(void) +init_cls_mng_info(void) { memset(g_mng_infos, 0, sizeof(g_mng_infos)); return 0; diff --git a/src/vf/classifier.h b/src/vf/classifier.h index ca8d8da..69cbb88 100644 --- a/src/vf/classifier.h +++ b/src/vf/classifier.h @@ -25,7 +25,7 @@ struct spp_iterate_classifier_table_params; * @retval SPPWK_RET_OK succeeded. * @retval SPPWK_RET_NG failed. */ -int spp_classifier_mac_init(void); +int init_cls_mng_info(void); /** * initialize classifier information. diff --git a/src/vf/spp_vf.c b/src/vf/spp_vf.c index 2091023..e10ae71 100644 --- a/src/vf/spp_vf.c +++ b/src/vf/spp_vf.c @@ -265,7 +265,7 @@ main(int argc, char *argv[]) if (unlikely(ret_mng != SPPWK_RET_OK)) break; - int ret_classifier_mac_init = spp_classifier_mac_init(); + int ret_classifier_mac_init = init_cls_mng_info(); if (unlikely(ret_classifier_mac_init != SPPWK_RET_OK)) break; -- 2.17.1