From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f68.google.com (mail-lf1-f68.google.com [209.85.167.68]) by dpdk.org (Postfix) with ESMTP id 11C9D5F34 for ; Fri, 24 Aug 2018 16:55:09 +0200 (CEST) Received: by mail-lf1-f68.google.com with SMTP id j8-v6so6920421lfb.4 for ; Fri, 24 Aug 2018 07:55:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+ezLhpRVF5U+tAjBCZiE6ooH0HrjSolobZPKeVOd58M=; b=aPYCEUI/QCFHCbHqj9IYbjAkWxWKF0/G06xaQLlhra/TjLjiJgZLihtuOdHWGCVej8 v9FcaQ9W0jefJ9FWXK6gl2cN7jSTiK4mSNGlkEYWvkvc2QlarykacZ8c2Rjt08bR6x7N EcmQQEyg6WgAknC3S3gECGD311LhfEEUf/x+mPRy30S1M/dSRo1xonlnRTsBs3oHwLf8 eYL+IxE8TjaAiOMti5bnJMCzctCLbzOzB4w2US7WCpuRIya/SLyBLlCttq012eMXxxT7 eK9p/le324WZu4lczLfr4b3Bqy4s63+Aj3THw7s0M2UGONmjRvE8elzVhPsOvFAztcx+ 9CDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+ezLhpRVF5U+tAjBCZiE6ooH0HrjSolobZPKeVOd58M=; b=ZlpJyO8IqMDP+3F+/zhKsxeSIJauWaTxCjaU44RQQrlJKku4ROAnaB4GIibzOpfi98 sJncjPrMBg7W9diXXDuqPf7djnpDDyD1vsc8wkGIbfKxCC4iNfzNvtag4Svlg36V+K+m 4wmOTCB+Fv8x5MALEnT3u1klGtwkvcnspACKarYpO0d0SuyUzw3VWxxfgsymFEJqrMF0 gfqN9E23JIPmhADUfK4vaAGskBNRoVF/OVtdoFgMkEb1wmGAa7O8neMQYbxBGqlsWRON n5y+TnlMJCPlyzGq/D35tXj0szYT/oibid1q7aIZFWHFBPtheDPZ4AnAWaZG63PiUe9U qsxw== X-Gm-Message-State: APzg51BVdCazqeWaF9u1PTtrKiBX64otOlM/O/85Uar8ifb5YGxnM4de IIvRQQD3ZphkMoulIrGsllmp6ZjDplM= X-Google-Smtp-Source: ANB0Vdb0pc9syGJuchaOk/sFbbI79nLmYXNLLB41bBZea1lVFR45nZT3VyAUp2EiGh6m96xRTC5Sog== X-Received: by 2002:ac2:418b:: with SMTP id z11-v6mr1536906lfh.3.1535122508635; Fri, 24 Aug 2018 07:55:08 -0700 (PDT) Received: from sh.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id j140-v6sm1373659lfg.16.2018.08.24.07.55.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Aug 2018 07:55:07 -0700 (PDT) From: Tomasz Duszynski To: dev@dpdk.org Cc: nsamsono@marvell.com, mw@semihalf.com Date: Fri, 24 Aug 2018 16:54:53 +0200 Message-Id: <1535122494-30249-6-git-send-email-tdu@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535122494-30249-1-git-send-email-tdu@semihalf.com> References: <1535113006-9393-1-git-send-email-tdu@semihalf.com> <1535122494-30249-1-git-send-email-tdu@semihalf.com> Subject: [dpdk-dev] [PATCH v2 5/6] net/mvpp2: make private variables static X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2018 14:55:09 -0000 From: Natalie Samsonov Mark internal variables static to avoid potential redefinition errors later on. Signed-off-by: Natalie Samsonov Reviewed-by: Yelena Krivosheev --- drivers/net/mvpp2/mrvl_ethdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/mvpp2/mrvl_ethdev.c b/drivers/net/mvpp2/mrvl_ethdev.c index 60ca6e0..5cd84c1 100644 --- a/drivers/net/mvpp2/mrvl_ethdev.c +++ b/drivers/net/mvpp2/mrvl_ethdev.c @@ -87,9 +87,9 @@ static int used_bpools[PP2_NUM_PKT_PROC] = { [0 ... PP2_NUM_PKT_PROC - 1] = MRVL_MUSDK_BPOOLS_RESERVED }; -struct pp2_bpool *mrvl_port_to_bpool_lookup[RTE_MAX_ETHPORTS]; -int mrvl_port_bpool_size[PP2_NUM_PKT_PROC][PP2_BPOOL_NUM_POOLS][RTE_MAX_LCORE]; -uint64_t cookie_addr_high = MRVL_COOKIE_ADDR_INVALID; +static struct pp2_bpool *mrvl_port_to_bpool_lookup[RTE_MAX_ETHPORTS]; +static int mrvl_port_bpool_size[PP2_NUM_PKT_PROC][PP2_BPOOL_NUM_POOLS][RTE_MAX_LCORE]; +static uint64_t cookie_addr_high = MRVL_COOKIE_ADDR_INVALID; int mrvl_logtype; -- 2.7.4