From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id E7C789B6B for ; Thu, 12 Oct 2017 10:17:43 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id i124so10747196wmf.3 for ; Thu, 12 Oct 2017 01:17:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=N3FzVXPgepOx0Por8KjRsKfmUoQmTzcKEL1SI2x3MMY=; b=d0hi+gyq2PDmfnb4wCH8eY6rSiRZC5T4v7Bk9k1mfammjYZqhPXNxS/OK06qjLXEIZ XTE9lZlDDbScvrNEd7H4Ex5Pen3SYPQUNJhH5CBTVMrc4yT722mj1SQfyo+h/fhs1QK0 OuA37uiUZF0p6rSfQkm+sGiev1IKDITBrj9lyvY9Yd9q4u4zRg7KPjjt0BnH0qk9oKTc 1SMPipveKQuQwW9eGN3ulaiwpQO7swlAzH4Tkv8O8Hj9+k0rZo1R3v7J8h+qu7Seq92Z N58t/W3puOR0AeM/Gkj1hiMID1RpRiHWJCvlUGQc2pHqgcg+CPVxRmjg1R/g9Vc9LGuD bIyw== 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:in-reply-to:references; bh=N3FzVXPgepOx0Por8KjRsKfmUoQmTzcKEL1SI2x3MMY=; b=CM4iYtiYwSD7YtkOvVIde13/PenszdYeAtm1Brd6fWz6xGNA274edBhxKRBGTXUqXq Z9LaLkmxQ3c+Qg8VLIPsz06tbye2uu4mgwyiqxNcxSXmGCBJOjua/FZgLACf0PPmEHQg fg79CBf06K9w9zjlNhvPDwc2pgCGaPewgQ6ypHj8iE8nWOxYwLNOHuiJpXXRdo3qEQO2 OB06VwfR8i4+xqvz7wHIzsjdtjNG9by1glUhGd3Sac1a4W5WA2MnZ0p8YawT4cjiDcEB Ribc26ReS77WQpl5TelXCOzmMeCfq+hZzAyYzF88kFaLBp7G4H01lEpCvnsmhLNOTbhm gXfg== X-Gm-Message-State: AMCzsaXUpO0wZs8D2gBUTV8vhCnXBA9Gmxn1YLMTqjse2eVCbEUcsfFd VcyImp7T7xQcF5rU0LH+x8CX9rhN X-Google-Smtp-Source: AOwi7QA/lms9szgj9uY/5V0WGyOTAxLtzjTk2eeu6K/Vs8AGdQj0uSFMZZVGb6a2bse7EJhA2XQV7w== X-Received: by 10.223.187.79 with SMTP id x15mr1296861wrg.146.1507796263039; Thu, 12 Oct 2017 01:17:43 -0700 (PDT) Received: from bidouze.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id 25sm16711227wrv.8.2017.10.12.01.17.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 12 Oct 2017 01:17:42 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Thu, 12 Oct 2017 10:17:09 +0200 Message-Id: <87d848e65e3a67817fa01f0c6e3d60a34acc0e3d.1507795823.git.gaetan.rivet@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH v4 09/16] net/bonding: use local prefix for local function 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: Thu, 12 Oct 2017 08:17:44 -0000 Signed-off-by: Gaetan Rivet --- drivers/net/bonding/rte_eth_bond_args.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_args.c b/drivers/net/bonding/rte_eth_bond_args.c index dea0265..e816da3 100644 --- a/drivers/net/bonding/rte_eth_bond_args.c +++ b/drivers/net/bonding/rte_eth_bond_args.c @@ -90,7 +90,7 @@ find_port_id_by_dev_name(const char *name) } static inline int -pci_addr_cmp(const struct rte_device *dev, const void *_pci_addr) +bond_pci_addr_cmp(const struct rte_device *dev, const void *_pci_addr) { struct rte_pci_device *pdev; const struct rte_pci_addr *paddr = _pci_addr; @@ -119,7 +119,7 @@ parse_port_id(const char *port_str) /* try parsing as pci address, physical devices */ if (pci_bus->parse(port_str, &dev_addr) == 0) { - dev = pci_bus->find_device(NULL, pci_addr_cmp, &dev_addr); + dev = pci_bus->find_device(NULL, bond_pci_addr_cmp, &dev_addr); if (dev == NULL) { RTE_LOG(ERR, PMD, "unable to find PCI device\n"); return -1; -- 2.1.4