From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f193.google.com (mail-lj1-f193.google.com [209.85.208.193]) by dpdk.org (Postfix) with ESMTP id 868954CA1 for ; Fri, 24 Aug 2018 14:17:06 +0200 (CEST) Received: by mail-lj1-f193.google.com with SMTP id 203-v6so6688778ljj.13 for ; Fri, 24 Aug 2018 05:17:06 -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=Zlq+Xh/T5zLLqtrv3VxtNLtGFkomWu4EFsvbX/C7x/FTXcwMnSACQ9Z9L0DLhxc+gC sVHueLFIZ8F+OLTlwl/Lg+gMZ3l9p0ud9bR32w4B6QWDk8vV5uPF0H0sHQTh/gn6Jgng EtylpilNSHdTU5nh4M+w4KYqL6QhgINXSTW8H/pGLDUocjdDMlmra3/TsZotYGITAThc 34jJ5d3SOjJgbFnkPP40gf2IG6OHgfDVWu79mKD7hp5OvYmt3greKCaeU9w6KUCS8Xzf vEyPoFKngFmEYcQrvh9FBgakRWxFgbj+THac3HQvHJRny6QH01lVz0jS/gBj/Lux7J++ kGyg== 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=Tz69toNB7b9KYmaJ9UmY2e4hMDCivbPQHpFdV3PYuG6RSGyHn7Xf202bR7yWMDclJE NfJPJeJb8OcZv6Kq9EWB/vbLrIyHY5skFQLDxLyxyC0bPJg4DqDT+OXG8AcE94kO4TkM 5qHIdTZmYynS4JZAyItSnM+/2Jtx4ssBobwovNidMi3WsgVxMrfIbZrMnnzeJ2pIR2nI Ab6MyG2dcZsS9RqXXWymhNMGI5Pn9CdNEWcsB19N5gLFo+mWbDsEV1ccMnPSe9XTI5I4 icG6zUSyMN3hnxYkfBFEUPyJZfrn/S5oTjlnhtxfUhHNeqAI4jbeIPyqfoxlT9oJLGy2 LamA== X-Gm-Message-State: APzg51BSv0XYvuxHeCyQ+BHQhcOINH8RS+RikBE/TSURSCgBMXo0bnmy tOhBquaIZzFyO+VwKulWX/gAffrUntQ= X-Google-Smtp-Source: ANB0VdYlwA1gIEddTRo3Zk2h/NT+4dsGY1WMe+exd7w9aFlLowmVGBDo6KC99LzCYh1cgDuAn8mb5Q== X-Received: by 2002:a2e:7a08:: with SMTP id v8-v6mr1193132ljc.121.1535113026098; Fri, 24 Aug 2018 05:17:06 -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 a18-v6sm1177672ljk.47.2018.08.24.05.17.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Aug 2018 05:17:05 -0700 (PDT) From: Tomasz Duszynski To: dev@dpdk.org Cc: nsamsono@marvell.com, mw@semihalf.com Date: Fri, 24 Aug 2018 14:16:45 +0200 Message-Id: <1535113006-9393-6-git-send-email-tdu@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535113006-9393-1-git-send-email-tdu@semihalf.com> References: <1535113006-9393-1-git-send-email-tdu@semihalf.com> Subject: [dpdk-dev] [PATCH 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 12:17:06 -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