From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f195.google.com (mail-lj1-f195.google.com [209.85.208.195]) by dpdk.org (Postfix) with ESMTP id 5B0371B06A for ; Fri, 24 Aug 2018 20:30:31 +0200 (CEST) Received: by mail-lj1-f195.google.com with SMTP id u83-v6so7561584lje.12 for ; Fri, 24 Aug 2018 11:30:31 -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=1zvEVVfi4c4rO2tEdEvaWQ1DTpcG6gmJWaSl9WhkJwU=; b=MPVD2o4opXyxwnkkHxjSFK6L58/+CEqbuzM0syRUF8KqMr3sZmkHEl/yd7IvUeHoH0 jsRvziv2F0giyJhPK1KBI8H8gx17vz6CsKOPNvZNN9wO5vSCTEOhN+wvONaffRrB6Aih RV1VnqvpE7DvGBs61cf++FtRdPAhZ1CHIrsxuSlZmru1HQzT0sp+TFh1f/uU0gDtEXkZ aL9TPHfICTLI8O8TdlJBJZlpDmDSSjYeyVjYTW9orlADREAlpbCY2tFdO82LLwapgMXP 0GoJ1fK4YuyNPJKFTw10eZFdACtJ6S6YrmChFkXSQIaUikvpTHOBhd1aKcuzWCFwcaUl 2Yig== 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=1zvEVVfi4c4rO2tEdEvaWQ1DTpcG6gmJWaSl9WhkJwU=; b=abVDTMQHlvl7O8InFuwAvw0UhhuZG+flK/mDzLB0uKZC4zJIwy8R56E1m+m3S54nS3 mIyqURFatpKgSS5qbrEguOnj4Tl4P7AUT4grUifMHlKB3RAC4eXdzXzCtVuz8Lx72dx0 Bwq5kBu4L9gBQExjoQKhLHOTFVNUmkTYf35yJhabsCGIrwOY4cbIEBFDAERoAGsnrWtR 69ynP7L5ogfIMQuHi+Z9hRDpBfVpK/raopKHqUor1nn2CsW2Ah4zE9yMBX0WP5IHOcfR OCAFefZzIvO4S73XuPF3jWqfbjIYbRpxSaX605ajFVD8rMfkDO6QticacBIukpAxtOOF cH7g== X-Gm-Message-State: APzg51CQN3BfKle0VNPvuHQHOc87ar829lVJfiQfMBDFUW46TW+B085q NZtjnafJjaxIrvCQpjHeT2Le5THDSwE= X-Google-Smtp-Source: ANB0VdY9BH3MGZh0+6CoZwHX9Nqai38qYm2Wv64XMc1ObW2KliFs3wNZ1ctpFhpKmj4nTlBQ9eM20Q== X-Received: by 2002:a2e:84c6:: with SMTP id q6-v6mr2239032ljh.65.1535135430927; Fri, 24 Aug 2018 11:30:30 -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 g16-v6sm1420484lfb.5.2018.08.24.11.30.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Aug 2018 11:30:30 -0700 (PDT) From: Tomasz Duszynski To: dev@dpdk.org Cc: nsamsono@marvell.com, mw@semihalf.com Date: Fri, 24 Aug 2018 20:30:02 +0200 Message-Id: <1535135403-16115-6-git-send-email-tdu@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535135403-16115-1-git-send-email-tdu@semihalf.com> References: <1535122494-30249-1-git-send-email-tdu@semihalf.com> <1535135403-16115-1-git-send-email-tdu@semihalf.com> Subject: [dpdk-dev] [PATCH v3 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 18:30:31 -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 fdf416b..6f18315 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